diff --git a/resources/static/dialog/views/error.ejs b/resources/static/dialog/views/error.ejs index ababedce7ff625e45a4698430b75187984260579..b21fa0afbe96c3ac1ee37e6ab2caaefeca04c8bd 100644 --- a/resources/static/dialog/views/error.ejs +++ b/resources/static/dialog/views/error.ejs @@ -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") { %>