Forgot to i18n "Primary"

tokarchuk/v1.17
Peter Smit 10 years ago
parent 21dbcb7c77
commit 8b31be43c6
  1. 1
      conf/locale/locale_en-US.ini
  2. 2
      templates/user/settings/email.tmpl

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

@ -16,7 +16,7 @@
{{range .Emails}} {{range .Emails}}
<li class="email clear"> <li class="email clear">
<div class="email-content left"> <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> </div>
{{if not .IsPrimary}} {{if not .IsPrimary}}
{{if .IsActivated}} {{if .IsActivated}}

Loading…
Cancel
Save