summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-07-04 19:13:33 -0500
committerShinya Maeda <shinya@gitlab.com>2017-07-05 18:38:37 +0900
commit46076f15994d4af3bf9f6c70ec36547abf2d20af (patch)
tree88348717f560b913994fa89e8fd570e0050a7191
parent8f0a2b6d780347a5ce258ac1a6a6902ce9695ca1 (diff)
downloadgitlab-ce-46076f15994d4af3bf9f6c70ec36547abf2d20af.tar.gz
Update scheduled variable translation strings
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12372#note_34142476
-rw-r--r--app/views/projects/pipeline_schedules/_form.html.haml2
-rw-r--r--app/views/projects/pipeline_schedules/_variable_row.html.haml6
-rw-r--r--locale/en/gitlab.po12
3 files changed, 16 insertions, 4 deletions
diff --git a/app/views/projects/pipeline_schedules/_form.html.haml b/app/views/projects/pipeline_schedules/_form.html.haml
index 8aaef29cba8..bafb0013f91 100644
--- a/app/views/projects/pipeline_schedules/_form.html.haml
+++ b/app/views/projects/pipeline_schedules/_form.html.haml
@@ -25,7 +25,7 @@
.form-group
.col-md-9
%label.label-light
- #{ _('Variables') }
+ #{ s_('PipelineSchedules|Variables') }
%ul.js-pipeline-variable-list.pipeline-variable-list
- @schedule.variables.each do |variable|
= render 'variable_row', id: variable.id, key: variable.key, value: variable.value
diff --git a/app/views/projects/pipeline_schedules/_variable_row.html.haml b/app/views/projects/pipeline_schedules/_variable_row.html.haml
index 85813b2ffd4..68713561f25 100644
--- a/app/views/projects/pipeline_schedules/_variable_row.html.haml
+++ b/app/views/projects/pipeline_schedules/_variable_row.html.haml
@@ -7,10 +7,10 @@
%input.js-user-input.pipeline-variable-key-input.form-control{ type: "text",
name: "schedule[variables_attributes][][key]",
value: key,
- placeholder: _('Input variable key') }
+ placeholder: s_('PipelineSchedules|Input variable key') }
%textarea.js-user-input.pipeline-variable-value-input.form-control{ rows: 1,
name: "schedule[variables_attributes][][value]",
- placeholder: _('Input variable value') }
+ placeholder: s_('PipelineSchedules|Input variable value') }
= value
- %button.js-row-remove-button.pipeline-variable-row-remove-button{ 'aria-label': _('Remove variable row') }
+ %button.js-row-remove-button.pipeline-variable-row-remove-button{ 'aria-label': s_('PipelineSchedules|Remove variable row') }
%i.fa.fa-minus-circle{ 'aria-hidden': "true" }
diff --git a/locale/en/gitlab.po b/locale/en/gitlab.po
index bda3fc09e85..69df36bb8e2 100644
--- a/locale/en/gitlab.po
+++ b/locale/en/gitlab.po
@@ -619,6 +619,12 @@ msgstr ""
msgid "PipelineSchedules|Inactive"
msgstr ""
+msgid "PipelineSchedules|Input variable key"
+msgstr ""
+
+msgid "PipelineSchedules|Input variable value"
+msgstr ""
+
msgid "PipelineSchedules|Next Run"
msgstr ""
@@ -628,12 +634,18 @@ msgstr ""
msgid "PipelineSchedules|Provide a short description for this pipeline"
msgstr ""
+msgid "PipelineSchedules|Remove variable row"
+msgstr ""
+
msgid "PipelineSchedules|Take ownership"
msgstr ""
msgid "PipelineSchedules|Target"
msgstr ""
+msgid "PipelineSchedules|Variables"
+msgstr ""
+
msgid "PipelineSheduleIntervalPattern|Custom"
msgstr ""