From 952889afff8530470d2df9859896356d455ff3fd Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Sun, 15 Jul 2012 21:44:19 -0600
Subject: [PATCH] on /signup use named arguments to gettext to allow the
 translator the freedom to re-order text

---
 resources/views/signup.ejs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/resources/views/signup.ejs b/resources/views/signup.ejs
index 75b94f14d..14e823d4f 100644
--- a/resources/views/signup.ejs
+++ b/resources/views/signup.ejs
@@ -81,11 +81,11 @@
 
                 <p class="tospp">
                    <%- format(
-                        gettext('By proceeding, you agree to %s\'s <a %s>Terms</a> and <a %s>Privacy Policy</a>.'),
-                             [ "Persona",
-                               ' href="https://login.persona.org/tos" target="_new"',
-                               ' href="https://login.persona.org/privacy" target="_new"',
-                             ]) %>
+                        gettext('By proceeding, you agree to %(persona)\'s <a %(termsLink)>Terms</a> and <a %(privacyLink)>Privacy Policy</a>.'),
+                             { persona: "Persona",
+                               termsLink: 'href="https://login.persona.org/tos" target="_new"',
+                               privacyLink: 'href="https://login.persona.org/privacy" target="_new"',
+                             }) %>
                   </p>
 
             </div>
-- 
GitLab