Fix wording (#2024)

* Fix wording

* Update locale_en-US.ini

* Update keys_gpg.tmpl
This commit is contained in:
Patrick G 2017-06-24 06:37:03 +00:00 committed by Bo-Yi Wu
parent f2afed3098
commit bf187304dc
2 changed files with 2 additions and 2 deletions

View file

@ -383,7 +383,7 @@ ssh_key_deletion_success = The SSH key has been deleted.
gpg_key_deletion_success = The GPG key has been deleted.
add_on = Added on
valid_until = Valid until
never = never
valid_forever = Valid forever
last_used = Last used on
no_activity = No recent activity
key_state_desc = This key has been used in the last 7 days

View file

@ -26,7 +26,7 @@
<div class="activity meta">
<i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Added}}</span></i>
-
<i>{{$.i18n.Tr "settings.valid_until"}} <span>{{if not .Expired.IsZero }}{{DateFmtShort .Expired}}{{else}}{{$.i18n.Tr "settings.never"}}{{end}}</span></i>
<i>{{if not .Expired.IsZero }}{{$.i18n.Tr "settings.valid_until"}} <span>{{DateFmtShort .Expired}}</span>{{else}}{{$.i18n.Tr "settings.valid_forever"}}{{end}}</i>
</div>
</div>
</div>