summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--options/locale/locale_en-US.ini2
-rw-r--r--templates/repo/diff/page.tmpl4
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 }}
<div class="ui bottom attached positive message" style="text-align: initial;color: black;">
<i class="green lock icon"></i>
- <span style="color: #2C662D;">Signed by :</span>
+ <span style="color: #2C662D;">{{.i18n.Tr "repo.commits.signed_by"}}:</span>
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a> <{{.Commit.Committer.Email}}>
- <span class="pull-right"><span style="color: #2C662D;">GPG key ID:</span> {{.Verification.SigningKey.KeyID}}</span>
+ <span class="pull-right"><span style="color: #2C662D;">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
</div>
{{else}}
<div class="ui bottom attached message" style="text-align: initial;color: black;">