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?
return render status: :accepted, json: {
status: 'processing',
message: 'Not ready yet. Try again later.'
status: _('processing'),
message: _('Not ready yet. Try again later.')
}
end

View file

@ -5483,6 +5483,9 @@ msgstr ""
msgid "Not now"
msgstr ""
msgid "Not ready yet. Try again later."
msgstr ""
msgid "Not started"
msgstr ""
@ -10040,6 +10043,9 @@ msgstr ""
msgid "private"
msgstr ""
msgid "processing"
msgstr ""
msgid "project"
msgstr ""