From 157f7096e7dbf5b4081f29a39943810aec79b869 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sun, 19 May 2019 17:05:17 +0000 Subject: [PATCH] Make git-notes heading text localizable --- options/locale/locale_en-US.ini | 1 + templates/repo/diff/page.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index a85221ab74..fdbc550aa4 100644 --- a/options/locale/locale_en-US.ini +++ b/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 diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl index 4f5a1fc19d..016d92a8f4 100644 --- a/templates/repo/diff/page.tmpl +++ b/templates/repo/diff/page.tmpl @@ -67,7 +67,7 @@ {{end}} {{if .Note}}
-

git-notes:

+

{{.i18n.Tr "repo.diff.git-notes"}}

{{RenderNote .Note $.RepoLink $.Repository.ComposeMetas}}
{{end}}