summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blob/viewers')
-rw-r--r--app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml6
-rw-r--r--app/views/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml4
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml b/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
index 3326cded42a..d8d27c3330b 100644
--- a/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
+++ b/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
@@ -1,9 +1,9 @@
- if viewer.valid?(project: @project, sha: @commit.sha, user: @current_user)
= sprite_icon('check')
- This GitLab CI configuration is valid.
+ = s_('Pipelines|This GitLab CI configuration is valid.')
- else
= sprite_icon('warning-solid')
- This GitLab CI configuration is invalid:
+ = s_('Pipelines|This GitLab CI configuration is invalid:')
= viewer.validation_message(project: @project, sha: @commit.sha, user: @current_user)
-= link_to 'Learn more', help_page_path('ci/yaml/README')
+= link_to _('Learn more'), help_page_path('ci/yaml/README')
diff --git a/app/views/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml b/app/views/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml
index 379a6c3084a..b1c8e110493 100644
--- a/app/views/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml
+++ b/app/views/projects/blob/viewers/_gitlab_ci_yml_loading.html.haml
@@ -1,4 +1,4 @@
= loading_icon(css_class: "gl-vertical-align-text-bottom mr-1")
-Validating GitLab CI configuration…
+= s_('Pipelines|Validating GitLab CI configuration…')
-= link_to 'Learn more', help_page_path('ci/yaml/README')
+= link_to _('Learn more'), help_page_path('ci/yaml/README')