summaryrefslogtreecommitdiff
path: root/app/views/shared/runners
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-05-09 09:37:51 +0200
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-09 09:37:51 +0200
commit0f7c38f07c6a0ed4928c855e36ddfe7cf67eb51e (patch)
tree249f5f1662c866175871d41b1c15fc8bc2ac97ab /app/views/shared/runners
parentc8bfb3e418b0dcce8b3f3bec91bb2ae64f0fe19d (diff)
downloadgitlab-ce-0f7c38f07c6a0ed4928c855e36ddfe7cf67eb51e.tar.gz
Add more i18n for runner pages
Diffstat (limited to 'app/views/shared/runners')
-rw-r--r--app/views/shared/runners/_form.html.haml4
-rw-r--r--app/views/shared/runners/show.html.haml14
2 files changed, 9 insertions, 9 deletions
diff --git a/app/views/shared/runners/_form.html.haml b/app/views/shared/runners/_form.html.haml
index a995c355bd8..302a543cf12 100644
--- a/app/views/shared/runners/_form.html.haml
+++ b/app/views/shared/runners/_form.html.haml
@@ -20,11 +20,11 @@
%span.light Indicates whether this runner can pick jobs without tags
- unless runner.group_type?
.form-group
- = label :locked, 'Lock to current projects', class: 'control-label'
+ = label :locked, _('Lock to current projects'), class: 'control-label'
.col-sm-10
.checkbox
= f.check_box :locked
- %span.light When a runner is locked, it cannot be assigned to other projects
+ %span.light= _('When a runner is locked, it cannot be assigned to other projects')
.form-group
= label_tag :token, class: 'control-label' do
Token
diff --git a/app/views/shared/runners/show.html.haml b/app/views/shared/runners/show.html.haml
index 1265305608c..480a224b6d5 100644
--- a/app/views/shared/runners/show.html.haml
+++ b/app/views/shared/runners/show.html.haml
@@ -21,17 +21,17 @@
%th Value
%tr
%td Active
- %td= @runner.active? ? 'Yes' : 'No'
+ %td= @runner.active? ? _('Yes') : _('No')
%tr
%td Protected
- %td= @runner.ref_protected? ? 'Yes' : 'No'
+ %td= @runner.ref_protected? ? _('Yes') : _('No')
%tr
- %td Can run untagged jobs
- %td= @runner.run_untagged? ? 'Yes' : 'No'
+ %td= _('Can run untagged jobs')
+ %td= @runner.run_untagged? ? _('Yes') : _('No')
- unless @runner.group_type?
%tr
- %td Locked to this project
- %td= @runner.locked? ? 'Yes' : 'No'
+ %td= _('Locked to this project')
+ %td= @runner.locked? ? _('Yes') : _('No')
%tr
%td Tags
%td
@@ -60,7 +60,7 @@
%td Description
%td= @runner.description
%tr
- %td Maximum job timeout
+ %td= _('Maximum job timeout')
%td= @runner.maximum_timeout_human_readable
%tr
%td Last contact