Browse Source

Forgot to i18n "Primary"

pull/771/head
Peter Smit 10 years ago
parent
commit
8b31be43c6
  1. 1
      conf/locale/locale_en-US.ini
  2. 2
      templates/user/settings/email.tmpl

1
conf/locale/locale_en-US.ini

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

2
templates/user/settings/email.tmpl

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

Loading…
Cancel
Save