Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
3888b4d3
Commit
3888b4d3
authored
Apr 04, 2019
by
rpereira2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow message strings to be translated
parent
e89b0732
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/controllers/projects/environments/prometheus_api_controller.rb
...ollers/projects/environments/prometheus_api_controller.rb
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+6
-0
No files found.
app/controllers/projects/environments/prometheus_api_controller.rb
View file @
3888b4d3
...
@@ -14,8 +14,8 @@ class Projects::Environments::PrometheusApiController < Projects::ApplicationCon
...
@@ -14,8 +14,8 @@ class Projects::Environments::PrometheusApiController < Projects::ApplicationCon
if
result
.
nil?
if
result
.
nil?
return
render
status: :accepted
,
json:
{
return
render
status: :accepted
,
json:
{
status:
'processing'
,
status:
_
(
'processing'
)
,
message:
'Not ready yet. Try again later.'
message:
_
(
'Not ready yet. Try again later.'
)
}
}
end
end
...
...
locale/gitlab.pot
View file @
3888b4d3
...
@@ -5483,6 +5483,9 @@ msgstr ""
...
@@ -5483,6 +5483,9 @@ msgstr ""
msgid "Not now"
msgid "Not now"
msgstr ""
msgstr ""
msgid "Not ready yet. Try again later."
msgstr ""
msgid "Not started"
msgid "Not started"
msgstr ""
msgstr ""
...
@@ -10040,6 +10043,9 @@ msgstr ""
...
@@ -10040,6 +10043,9 @@ msgstr ""
msgid "private"
msgid "private"
msgstr ""
msgstr ""
msgid "processing"
msgstr ""
msgid "project"
msgid "project"
msgstr ""
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment