From d6ec5ffb5207ec3b9a682cc79f148e3e9783b459 Mon Sep 17 00:00:00 2001 From: Milos Dinic <milos@mozilla.com> Date: Sat, 28 Jan 2012 17:14:50 +0100 Subject: [PATCH] fixing duplicated strings for localization, part1 --- resources/static/dialog/views/add_email.ejs | 2 +- resources/static/dialog/views/authenticate.ejs | 2 +- resources/static/dialog/views/verify_primary_user.ejs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/static/dialog/views/add_email.ejs b/resources/static/dialog/views/add_email.ejs index 5edfa50ae..6ce2207ea 100644 --- a/resources/static/dialog/views/add_email.ejs +++ b/resources/static/dialog/views/add_email.ejs @@ -20,7 +20,7 @@ </div> <div id="could_not_add" class="tooltip" for="newEmail"> - <%= gettext('We just sent an email to that address! If you really want to send another, wait a minute or two and try again.') %> + <%= gettext('We just sent an email to that address! If you really want to send another, wait a minute or two and try again.') %> </div> <div id="already_own_address" class="tooltip" for="newEmail"> diff --git a/resources/static/dialog/views/authenticate.ejs b/resources/static/dialog/views/authenticate.ejs index 0954003dd..7e08dedb9 100644 --- a/resources/static/dialog/views/authenticate.ejs +++ b/resources/static/dialog/views/authenticate.ejs @@ -18,7 +18,7 @@ </div> <div id="could_not_add" class="tooltip" for="email"> - <%= gettext('We just sent an email to that address! If you really want to send another, wait a minute or two and try again.') %> + <%= gettext('We just sent an email to that address! If you really want to send another, wait a minute or two and try again.') %> </div> <div id="already_registered" class="tooltip" for="email"> diff --git a/resources/static/dialog/views/verify_primary_user.ejs b/resources/static/dialog/views/verify_primary_user.ejs index bd0e4e392..ed5a10517 100644 --- a/resources/static/dialog/views/verify_primary_user.ejs +++ b/resources/static/dialog/views/verify_primary_user.ejs @@ -16,7 +16,7 @@ </li> <li> - <%= gettext("To verify that you own this address, you must sign in with your provider. This window will be redirected to") %> + <%= format(gettext("To verify that you own <strong id='primary_email'>%s</strong>, you must sign in with your provider. This window will be redirected to"), [email]) %> <p> <strong><%= auth_url %></strong>. -- GitLab