diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-02 18:09:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-02 18:09:19 +0300 |
commit | 02c151e384fe058fa070d50c6df94898385ff09c (patch) | |
tree | 4f78c229203c1a363590dd7658dfd3248783ab58 /app/assets/javascripts/pipeline_new | |
parent | d10ab00450821139b9b933269454e42ce6e16798 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pipeline_new')
-rw-r--r-- | app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue b/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue index 772fe178b24..1c5513efdd2 100644 --- a/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue +++ b/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue @@ -33,6 +33,7 @@ const i18n = { submitErrorTitle: s__('Pipeline|Pipeline cannot be run.'), warningTitle: __('The form contains the following warning:'), maxWarningsSummary: __('%{total} warnings found: showing first %{warningsDisplayed}'), + removeVariableLabel: s__('CiVariables|Remove variable'), }; export default { @@ -416,15 +417,17 @@ export default { data-testid="remove-ci-variable-row" variant="danger" category="secondary" + :aria-label="$options.i18n.removeVariableLabel" @click="removeVariable(index)" > <gl-icon class="gl-mr-0! gl-display-none gl-md-display-block" name="clear" /> - <span class="gl-md-display-none">{{ s__('CiVariables|Remove variable') }}</span> + <span class="gl-md-display-none">{{ $options.i18n.removeVariableLabel }}</span> </gl-button> <gl-button v-else class="gl-md-ml-3 gl-mb-3 gl-display-none gl-md-display-block gl-visibility-hidden" icon="clear" + :aria-label="$options.i18n.removeVariableLabel" /> </template> </div> |