From 21dbcb7c7708c81b9a743ba00a48fe9df8f55587 Mon Sep 17 00:00:00 2001 From: Peter Smit Date: Mon, 22 Dec 2014 09:11:30 +0200 Subject: [PATCH] Create English locale keys for multiple e-mails feature Also, change all current 'emails' to 'e-mails'. Still todo: some CSS for the user/settings/email page, but that is not my specialty --- conf/locale/locale_en-US.ini | 18 +++++++++++++----- templates/user/settings/email.tmpl | 4 ++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index 36430af75fe..a07f2c79862 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -61,7 +61,7 @@ domain = Domain domain_helper = This affects SSH clone URLs. app_url = Application URL app_url_helper = This affects HTTP/HTTPS clone URL and somewhere in e-mail. -email_title = Email Service Settings(Optional) +email_title = E-mail Service Settings(Optional) smtp_host = SMTP Host mailer_user = Sender E-mail mailer_password = Sender Password @@ -109,7 +109,7 @@ confirmation_mail_sent_prompt = A new confirmation e-mail has been sent to %s sign_in_email = Sign in to your e-mail active_your_account = Activate Your Account resent_limit_prompt = Sorry, you are sending an activation e-mail too frequently. Please wait 3 minutes. -has_unconfirmed_mail = Hi %s, you have an unconfirmed email address(%s). If you haven't received a confirmation e-mail or need to resend a new one, please click on the button below. +has_unconfirmed_mail = Hi %s, you have an unconfirmed e-mail address(%s). If you haven't received a confirmation e-mail or need to resend a new one, please click on the button below. resend_mail = Click here to resend your activation e-mail email_not_associate = This e-mail address does not associate to any account. send_reset_mail = Click here to (re)send your password reset e-mail @@ -192,7 +192,7 @@ delete = Delete Account uid = Uid public_profile = Public Profile -profile_desc = Your Email address is public and will be used for any account related notifications, and any web based operations made via the site. +profile_desc = Your E-mail address is public and will be used for any account related notifications, and any web based operations made via the site. full_name = Full Name website = Website location = Location @@ -217,6 +217,14 @@ new_password = New Password password_incorrect = Current password is not correct. change_password_success = Password is changed successfully. You can now sign in via new password. +emails = E-mail Addresses +manage_emails = Manage e-mail addresses +email_desc = Current e-mail addresses +primary_email = Make primary +delete_email = Delete +add_new_email = Add new e-mail address +add_email = Add e-mail + manage_ssh_keys = Manage SSH Keys add_key = Add Key ssh_desc = This is a list of SSH keys associated with your account. Remove any keys that you do not recognize. @@ -404,7 +412,7 @@ release.tag_name_already_exist = Release with this tag name has already existed. [org] org_name_holder = Organization Name org_name_helper = Great organization names are short and memorable. -org_email_helper = Organization's Email receives all notifications and confirmations. +org_email_helper = Organization's E-mail receives all notifications and confirmations. create_org = Create Organization repo_updated = Updated people = People @@ -619,7 +627,7 @@ config.db_ssl_mode_helper = (for "postgres" only) config.db_path = Path config.db_path_helper = (for "sqlite3" only) config.service_config = Service Configuration -config.register_email_confirm = Register Email Confirmation +config.register_email_confirm = Register E-mail Confirmation config.disable_register = Disable Registration config.require_sign_in_view = Require Sign In View config.mail_notify = Mail Notification diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl index 6f2a85a3c55..113c646e5a2 100644 --- a/templates/user/settings/email.tmpl +++ b/templates/user/settings/email.tmpl @@ -16,7 +16,7 @@ {{range .Emails}}