Allow message strings to be translated
This commit is contained in:
parent
e89b073271
commit
3888b4d35c
2 changed files with 8 additions and 2 deletions
|
@ -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 ""
|
||||||
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 ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue