diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-06-25 16:10:25 +1000 |
---|---|---|
committer | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-07-01 19:47:27 +1000 |
commit | 763a9e83e42482bb8126a5e60c232e444255fc7a (patch) | |
tree | 24417eb6dbfe36b728bbe7668859c5ba85cc7469 /app/assets/javascripts/pipelines/components/header_component.vue | |
parent | 58f3a5615490aa30a5adda83ebb8ab66de891859 (diff) | |
download | gitlab-ce-vue-i18n-js-pipelines-directory.tar.gz |
Vue-i18n: app/assets/javascripts/pipelines directoryvue-i18n-js-pipelines-directory
i18n linting for .vue files under the
app/assets/javascripts/pipelines directory
Diffstat (limited to 'app/assets/javascripts/pipelines/components/header_component.vue')
-rw-r--r-- | app/assets/javascripts/pipelines/components/header_component.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/components/header_component.vue b/app/assets/javascripts/pipelines/components/header_component.vue index b2e365e5cde..39afa87afc3 100644 --- a/app/assets/javascripts/pipelines/components/header_component.vue +++ b/app/assets/javascripts/pipelines/components/header_component.vue @@ -2,6 +2,7 @@ import { GlLoadingIcon } from '@gitlab/ui'; import ciHeader from '../../vue_shared/components/header_ci_component.vue'; import eventHub from '../event_hub'; +import { __ } from '~/locale'; export default { name: 'PipelineHeaderSection', @@ -54,7 +55,7 @@ export default { if (this.pipeline.retry_path) { actions.push({ - label: 'Retry', + label: __('Retry'), path: this.pipeline.retry_path, cssClass: 'js-retry-button btn btn-inverted-secondary', type: 'button', @@ -64,7 +65,7 @@ export default { if (this.pipeline.cancel_path) { actions.push({ - label: 'Cancel running', + label: __('Cancel running'), path: this.pipeline.cancel_path, cssClass: 'js-btn-cancel-pipeline btn btn-danger', type: 'button', |