Skip to content
Snippets Groups Projects
Commit 952889af authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

on /signup use named arguments to gettext to allow the translator the freedom to re-order text

parent 348fbbbd
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment