Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
1170cb58
Commit
1170cb58
authored
13 years ago
by
Shane Tomlinson
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/static/dialog/views/error.ejs
+11
-5
11 additions, 5 deletions
resources/static/dialog/views/error.ejs
with
11 additions
and
5 deletions
resources/static/dialog/views/error.ejs
+
11
−
5
View file @
1170cb58
...
...
@@ -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") { %>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment