Make git-notes heading text localizable

This commit is contained in:
Vladimir Panteleev 2019-05-19 17:05:17 +00:00
parent f7f000a097
commit 157f7096e7
No known key found for this signature in database
GPG key ID: 5004F0FAD051576D
2 changed files with 2 additions and 1 deletions

View file

@ -1313,6 +1313,7 @@ settings.unarchive.error = An error occured while trying to un-archive the repo.
diff.browse_source = Browse Source
diff.parent = parent
diff.commit = commit
diff.git-notes = git-notes:
diff.data_not_available = Diff Content Not Available
diff.show_diff_stats = Show Diff Stats
diff.show_split_view = Split View

View file

@ -67,7 +67,7 @@
{{end}}
{{if .Note}}
<div class="ui top bottom attached info clearing segment">
<h3>git-notes:</h3>
<h3>{{.i18n.Tr "repo.diff.git-notes"}}</h3>
<pre class="commit-body">{{RenderNote .Note $.RepoLink $.Repository.ComposeMetas}}</pre>
</div>
{{end}}