Commit 3888b4d3 authored by rpereira2's avatar rpereira2

Allow message strings to be translated

parent e89b0732
...@@ -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
......
...@@ -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 ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment