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

javascript logic inside gettext() breaks string extraction, fix it

parent 7be7355b
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@
<li>
<% if (password_reset) { %>
<label for="password"><%= format(gettext("Create a new password to use with %s."), ["Persona"]) %></label>
<% } else { %>
......@@ -55,7 +54,7 @@
<p class="submit cf buttonrow">
<button id="<%= password_reset ? "password_reset" : "verify_user" %>">
<%= gettext(password_reset ? 'reset password' : 'done') %>
<%= (password_reset ? gettext('reset password') : gettext('done')) %>
</button>
<% if(cancelable) { %>
......
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