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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c7430f11
Commit
c7430f11
authored
Apr 04, 2019
by
rpereira2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow message strings to be translated
parent
1a1c6522
Changes
2
Hide 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 @
c7430f11
...
@@ -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 @
c7430f11
...
@@ -8535,6 +8535,9 @@ msgstr ""
...
@@ -8535,6 +8535,9 @@ msgstr ""
msgid "Protected Environments"
msgid "Protected Environments"
msgstr ""
msgstr ""
msgid "Not ready yet. Try again later."
msgstr ""
msgid "ProtectedEnvironment|%{environment_name} will be writable for developers. Are you sure?"
msgid "ProtectedEnvironment|%{environment_name} will be writable for developers. Are you sure?"
msgstr ""
msgstr ""
...
@@ -13237,6 +13240,9 @@ msgstr ""
...
@@ -13237,6 +13240,9 @@ msgstr ""
msgid "private key does not match certificate."
msgid "private key does not match certificate."
msgstr ""
msgstr ""
msgid "processing"
msgstr ""
msgid "project"
msgid "project"
msgid_plural "projects"
msgid_plural "projects"
msgstr[0] ""
msgstr[0] ""
...
...
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