summaryrefslogtreecommitdiffstats
path: root/templates/user/settings
diff options
context:
space:
mode:
authorPatrick G <geek1011@outlook.com>2017-06-24 06:37:03 +0000
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-06-24 01:37:03 -0500
commitbf187304dc1c03e003dc972e36d9e087c78df57a (patch)
treef2ddef521a44843f86a4c71505821d791c583558 /templates/user/settings
parentf2afed3098973eb70ecf61c7e3bf7203bf3f592a (diff)
downloadgitea-bf187304dc1c03e003dc972e36d9e087c78df57a.tar.gz
gitea-bf187304dc1c03e003dc972e36d9e087c78df57a.zip
Fix wording (#2024)
* Fix wording * Update locale_en-US.ini * Update keys_gpg.tmpl
Diffstat (limited to 'templates/user/settings')
-rw-r--r--templates/user/settings/keys_gpg.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/keys_gpg.tmpl b/templates/user/settings/keys_gpg.tmpl
index a20bc8e140..6d30bc7331 100644
--- a/templates/user/settings/keys_gpg.tmpl
+++ b/templates/user/settings/keys_gpg.tmpl
@@ -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>