Missing signed commit display translation (#2134)

release/v1.15
Lauris BH 2017-07-10 04:46:06 +03:00 committed by Lunny Xiao
parent 89cd4dd424
commit 5e9bcb6301
2 changed files with 4 additions and 2 deletions

View File

@ -581,6 +581,8 @@ commits.message = Message
commits.date = Date commits.date = Date
commits.older = Older commits.older = Older
commits.newer = Newer commits.newer = Newer
commits.signed_by = Signed by
commits.gpg_key_id = GPG key ID
ext_issues = Ext Issues ext_issues = Ext Issues
ext_issues.desc = Ext Issues link to an external issue management page ext_issues.desc = Ext Issues link to an external issue management page

View File

@ -45,9 +45,9 @@
{{if .Verification.Verified }} {{if .Verification.Verified }}
<div class="ui bottom attached positive message" style="text-align: initial;color: black;"> <div class="ui bottom attached positive message" style="text-align: initial;color: black;">
<i class="green lock icon"></i> <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}}> <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> </div>
{{else}} {{else}}
<div class="ui bottom attached message" style="text-align: initial;color: black;"> <div class="ui bottom attached message" style="text-align: initial;color: black;">