Skip to content

Commit afd1ad6

Browse files
author
Gitea
committed
Missing signed commit display translation
1 parent 89cd4dd commit afd1ad6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,8 @@ commits.message = Message
581581
commits.date = Date
582582
commits.older = Older
583583
commits.newer = Newer
584+
commits.signed_by = Signed by
585+
commits.gpg_key_id = GPG key ID
584586

585587
ext_issues = Ext Issues
586588
ext_issues.desc = Ext Issues link to an external issue management page

templates/repo/diff/page.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
{{if .Verification.Verified }}
4646
<div class="ui bottom attached positive message" style="text-align: initial;color: black;">
4747
<i class="green lock icon"></i>
48-
<span style="color: #2C662D;">Signed by :</span>
48+
<span style="color: #2C662D;">{{.i18n.Tr "repo.commits.signed_by"}}:</span>
4949
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a> <{{.Commit.Committer.Email}}>
50-
<span class="pull-right"><span style="color: #2C662D;">GPG key ID:</span> {{.Verification.SigningKey.KeyID}}</span>
50+
<span class="pull-right"><span style="color: #2C662D;">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
5151
</div>
5252
{{else}}
5353
<div class="ui bottom attached message" style="text-align: initial;color: black;">

0 commit comments

Comments
 (0)