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?
|
||||
return render status: :accepted, json: {
|
||||
status: 'processing',
|
||||
message: 'Not ready yet. Try again later.'
|
||||
status: _('processing'),
|
||||
message: _('Not ready yet. Try again later.')
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -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 ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue