Allow message strings to be translated

This commit is contained in:
rpereira2 2019-04-04 17:10:06 +05:30
parent e89b073271
commit 3888b4d35c
2 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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 ""
msgid "private" msgid "private"
msgstr "" msgstr ""
msgid "processing"
msgstr ""
msgid "project" msgid "project"
msgstr "" msgstr ""