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}}