summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-02-06 13:40:47 -0600
committerMike Greiling <mike@pixelcog.com>2018-02-06 13:40:47 -0600
commiteac8ad6a454fed1bcbf77a4a7eedd0c5e8123f6f (patch)
tree8613da64a7cef15f7e8ab8b4e724c190e90c0bac
parent47f2754a14549ccd18e4be8b3b6604b378450d6d (diff)
downloadgitlab-ce-eac8ad6a454fed1bcbf77a4a7eedd0c5e8123f6f.tar.gz
add i8n to the Prometheus integration settings page
-rw-r--r--app/views/projects/services/prometheus/_help.html.haml16
1 files changed, 8 insertions, 8 deletions
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')