diff --git a/app/controllers/projects/environments/prometheus_api_controller.rb b/app/controllers/projects/environments/prometheus_api_controller.rb index 13b5a300af6..fd3320637b0 100644 --- a/app/controllers/projects/environments/prometheus_api_controller.rb +++ b/app/controllers/projects/environments/prometheus_api_controller.rb @@ -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 diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 3a140aef0e7..8f4e118b69f 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -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 ""