Skip to content
Snippets Groups Projects
Commit d83d7b06 authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Removing the URL from the "enable cookies" error message.

* Use format to insert the URL.

issue #835
parent cddc965e
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<h2 id="error_403">
<%= gettext("BrowserID required cookies") %>
</h2>
<%= gettext("Please close this window, <a target='_blank' href='http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked'>enable cookies</a> and try again") %>
<%= format(gettext("Please close this window, <a target='_blank' href='%s'>enable cookies</a> and try again"), ['http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked']) %>
<% } else { %>
<h2 id="defaultError">
<%= gettext("We are very sorry, there has been an error!") %>
......
......@@ -47,7 +47,7 @@ BrowserID.Errors = (function(){
cookiesDisabled: {
title: gettext("BrowserID requires cookies"),
message: gettext("Please close this window, <a target='_blank' href='http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked'>enable cookies</a> and try again")
message: format(gettext("Please close this window, <a target='_blank' href='%s'>enable cookies</a> and try again"), ["http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked"])
},
cookiesEnabled: {
......
......@@ -10,7 +10,7 @@
</h2>
<p>
<%- gettext("Please close this window, <a target='_blank' href='http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked'>enable cookies</a> and try again") %>
<%- format(gettext("Please close this window, <a target='_blank' href='%s'>enable cookies</a> and try again"), ['http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked']) %>
</p>
</div>
</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