Fix wording (#2024)

* Fix wording

* Update locale_en-US.ini

* Update keys_gpg.tmpl
tokarchuk/v1.17
Patrick G 8 years ago committed by Bo-Yi Wu
parent f2afed3098
commit bf187304dc
  1. 2
      options/locale/locale_en-US.ini
  2. 2
      templates/user/settings/keys_gpg.tmpl

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

@ -26,7 +26,7 @@
<div class="activity meta"> <div class="activity meta">
<i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Added}}</span></i> <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> </div>
</div> </div>

Loading…
Cancel
Save