1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

Forgot to i18n "Primary"

This commit is contained in:
Peter Smit 2014-12-22 09:41:29 +02:00
parent 21dbcb7c77
commit 8b31be43c6
2 changed files with 2 additions and 1 deletions

View File

@ -220,6 +220,7 @@ change_password_success = Password is changed successfully. You can now sign in
emails = E-mail Addresses
manage_emails = Manage e-mail addresses
email_desc = Current e-mail addresses
primary = Primary
primary_email = Make primary
delete_email = Delete
add_new_email = Add new e-mail address

View File

@ -16,7 +16,7 @@
{{range .Emails}}
<li class="email clear">
<div class="email-content left">
<p><strong>{{.Email}}</strong> {{if .IsPrimary}} <span class="email-primary">Primary</span> {{end}}</p>
<p><strong>{{.Email}}</strong> {{if .IsPrimary}} <span class="email-primary">{{$.i18n.Tr "settings.primary"}}</span> {{end}}</p>
</div>
{{if not .IsPrimary}}
{{if .IsActivated}}