From 5e9bcb6301f4f1efd05e7866a0823313e371a96f Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Mon, 10 Jul 2017 04:46:06 +0300 Subject: [PATCH] Missing signed commit display translation (#2134) --- options/locale/locale_en-US.ini | 2 ++ templates/repo/diff/page.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b74921b02b..935be4a717 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -581,6 +581,8 @@ commits.message = Message commits.date = Date commits.older = Older commits.newer = Newer +commits.signed_by = Signed by +commits.gpg_key_id = GPG key ID ext_issues = Ext Issues ext_issues.desc = Ext Issues link to an external issue management page diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl index d4a9d72dbe..4ddf3ad436 100644 --- a/templates/repo/diff/page.tmpl +++ b/templates/repo/diff/page.tmpl @@ -45,9 +45,9 @@ {{if .Verification.Verified }}
- Signed by : + {{.i18n.Tr "repo.commits.signed_by"}}: {{.Commit.Committer.Name}} <{{.Commit.Committer.Email}}> - GPG key ID: {{.Verification.SigningKey.KeyID}} + {{.i18n.Tr "repo.commits.gpg_key_id"}}: {{.Verification.SigningKey.KeyID}}
{{else}}