From eac8ad6a454fed1bcbf77a4a7eedd0c5e8123f6f Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Tue, 6 Feb 2018 13:40:47 -0600 Subject: add i8n to the Prometheus integration settings page --- app/views/projects/services/prometheus/_help.html.haml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app/views/projects/services') diff --git a/app/views/projects/services/prometheus/_help.html.haml b/app/views/projects/services/prometheus/_help.html.haml index c38b7283c95..8ccdf02cd8f 100644 --- a/app/views/projects/services/prometheus/_help.html.haml +++ b/app/views/projects/services/prometheus/_help.html.haml @@ -1,5 +1,5 @@ %h4 - Auto configuration + = s_('PrometheusService|Auto configuration') - unless @service.manual_configuration? .container-fluid @@ -10,24 +10,24 @@ = image_tag 'illustrations/monitoring/getting_started.svg' .col-sm-10 %p.text-success.prepend-top-default - Prometheus is being automatically managed on your clusters - = link_to 'Manage clusters', project_clusters_path(@project), class: 'btn' + = s_('PrometheusService|Prometheus is being automatically managed on your clusters') + = link_to s_('PrometheusService|Manage clusters'), project_clusters_path(@project), class: 'btn' - else .col-sm-2 = image_tag 'illustrations/monitoring/loading.svg' .col-sm-10 %p.prepend-top-default - Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments - = link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success' + = s_('PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments') + = link_to s_('PrometheusService|Install Prometheus on clusters'), project_clusters_path(@project), class: 'btn btn-success' - else .well - To enable the installation of Prometheus on your clusters, deactivate the manual configuration below + = s_('PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration below') %hr %h4.append-bottom-default - Manual configuration + = s_('PrometheusService|Manual configuration') - unless @service.editable? .well - To enable manual configuration, uninstall Prometheus from your clusters + = s_('PrometheusService|To enable manual configuration, uninstall Prometheus from your clusters') -- cgit v1.2.3