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

Adding gettext around the user facing strings. Changing error copy.

close #1062
close #1081
parent 5e5e74c5
No related branches found
No related tags found
No related merge requests found
......@@ -4,21 +4,27 @@
<% if (typeof network !== "undefined" && network.status == 503) { %>
<h2 id="error_503">We are very sorry, the server is under extreme load!</h2>
<h2 id="error_503">
<%= gettext("We are very sorry, the server is under extreme load!") %>
</h2>
<% } else { %>
<h2 id="defaultError">We are very sorry, there has been an error!</h2>
<h2 id="defaultError">
<%= gettext("We are very sorry, there has been an error!") %>
</h2>
<% } %>
<p>
<% if (typeof dialog !== "undefined" && dialog !== false) { %>
To retry, you will have to reload the page and try again. More info can be found by opening the expanded info below.
<%= gettext("To retry, you will have to reload the page and try again.") %>
<% } else { %>
To retry, you will have to close BrowserID and try again. More info can be found by opening the expanded info below.
<%= gettext("To retry, you will have to close this window and try again.") %>
<% } %>
</p>
<% if(typeof action !== "undefined" || typeof network !== "undefined") { %>
<a href="#" id="openMoreInfo">See more info</a>
<a href="#" id="openMoreInfo">
<%= gettext("See more info") %>
</a>
<ul id="moreInfo">
<% if (typeof action !== "undefined") { %>
......
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