Browse Source

Make git-notes heading text localizable

pull/6984/head
Vladimir Panteleev 6 years ago
parent
commit
157f7096e7
No known key found for this signature in database
GPG Key ID: 5004F0FAD051576D
  1. 1
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/diff/page.tmpl

1
options/locale/locale_en-US.ini

@ -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

2
templates/repo/diff/page.tmpl

@ -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}}

Loading…
Cancel
Save