summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-07-10 04:46:06 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-07-10 09:46:06 +0800
commit5e9bcb6301f4f1efd05e7866a0823313e371a96f (patch)
tree30c50c2f9e735bd45f6d010e2bdb69011bf1900f /templates/repo/diff
parent89cd4dd424f844c2c1a8f0d0ee37033e36d83db4 (diff)
downloadgitea-5e9bcb6301f4f1efd05e7866a0823313e371a96f.tar.gz
gitea-5e9bcb6301f4f1efd05e7866a0823313e371a96f.zip
Missing signed commit display translation (#2134)
Diffstat (limited to 'templates/repo/diff')
-rw-r--r--templates/repo/diff/page.tmpl4
1 files changed, 2 insertions, 2 deletions
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;">