Skip to content

Commit 6801a41

Browse files
committed
Add missing translation
1 parent 68a5533 commit 6801a41

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

options/locale/locale_en-US.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,14 @@ keep_email_private_popup = Your email address will be hidden from other users if
350350
openid_desc = Your OpenID addresses will let you delegate authentication to your provider of choice
351351
352352
manage_ssh_keys = Manage SSH Keys
353+
manage_gpg_keys = Manage GPG Keys
353354
add_key = Add Key
354355
ssh_desc = This is a list of SSH keys associated with your account. Because these keys allow anyone using them to gain access to your repositories, it is highly important that you make sure you recognize them.
356+
gpg_desc = This is a list of GPG keys associated with your account. Because these keys allow verification of commit, it is highly important that you keep safe the corresponding private key.
355357
ssh_helper = <strong>Don't know how?</strong> Check out GitHub's guide to <a href="%s">create your own SSH keys</a> or solve <a href="%s">common problems</a> you might encounter using SSH.
356358
gpg_helper = <strong>Don't know how?</strong> Check out GitHub's guide <a href="%s">about GPG</a>.
357359
add_new_key = Add SSH Key
360+
add_new_gpg_key = Add GPG Key
358361
ssh_key_been_used = Public key content has already been used.
359362
ssh_key_name_used = Public key with same name already exists.
360363
gpg_key_id_used = Public GPG key with same id already exists.
@@ -372,6 +375,7 @@ gpg_key_deletion_desc = Delete this GPG key will disable all commit verification
372375
ssh_key_deletion_success = SSH key has been deleted successfully!
373376
gpg_key_deletion_success = GPG key has been deleted successfully!
374377
add_on = Added on
378+
valid_until = Valid until
375379
last_used = Last used on
376380
no_activity = No recent activity
377381
key_state_desc = This key is used in last 7 days

templates/user/settings/keys.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@
6161
</div>
6262
<br>
6363
<h4 class="ui top attached header">
64-
Manage GPG Keys
64+
{{.i18n.Tr "settings.manage_gpg_keys"}}
6565
<div class="ui right">
6666
<div class="ui blue tiny show-panel button" data-panel="#add-gpg-key-panel">{{.i18n.Tr "settings.add_key"}}</div>
6767
</div>
6868
</h4>
6969
<div class="ui attached segment">
7070
<div class="ui key list">
7171
<div class="item">
72-
This is a list of GPG keys associated with your account. Because these keys allow anyone using them to gain access to your repositories, it is highly important that you make sure you recognize them.
72+
{{.i18n.Tr "settings.gpg_desc"}}
7373
</div>
7474
{{range .GPGKeys}}
7575
<div class="item">
@@ -88,7 +88,7 @@
8888
<div class="activity meta">
8989
<i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Added}}</span></i>
9090
-
91-
<i>{{$.i18n.Tr "settings.end_on"}} <span>{{DateFmtShort .Expired}}</span></i>
91+
<i>{{$.i18n.Tr "settings.valid_until"}} <span>{{DateFmtShort .Expired}}</span></i>
9292
</div>
9393
</div>
9494
</div>
@@ -99,7 +99,7 @@
9999
<p>{{.i18n.Tr "settings.gpg_helper" "https://help.github.com/articles/about-gpg/" | Str2html}}</p>
100100
<div {{if not .HasGPGError}}class="hide"{{end}} id="add-gpg-key-panel">
101101
<h4 class="ui top attached header">
102-
Add GPG Key
102+
{{.i18n.Tr "settings.add_new_gpg_key"}}
103103
</h4>
104104
<div class="ui attached segment">
105105
<form class="ui form" action="{{.Link}}" method="post">

0 commit comments

Comments
 (0)