Commit c7430f11 authored by rpereira2's avatar rpereira2

Allow message strings to be translated

parent 1a1c6522
...@@ -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
......
...@@ -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] ""
......
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