From 46076f15994d4af3bf9f6c70ec36547abf2d20af Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 4 Jul 2017 19:13:33 -0500 Subject: Update scheduled variable translation strings See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12372#note_34142476 --- app/views/projects/pipeline_schedules/_form.html.haml | 2 +- app/views/projects/pipeline_schedules/_variable_row.html.haml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app') 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" } -- cgit v1.2.1