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
if result.nil?
return render status: :accepted, json: {
status: 'processing',
message: 'Not ready yet. Try again later.'
status: _('processing'),
message: _('Not ready yet. Try again later.')
}
end
......
......@@ -8535,6 +8535,9 @@ msgstr ""
msgid "Protected Environments"
msgstr ""
msgid "Not ready yet. Try again later."
msgstr ""
msgid "ProtectedEnvironment|%{environment_name} will be writable for developers. Are you sure?"
msgstr ""
......@@ -13237,6 +13240,9 @@ msgstr ""
msgid "private key does not match certificate."
msgstr ""
msgid "processing"
msgstr ""
msgid "project"
msgid_plural "projects"
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