Commit 763a9e83 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Vue-i18n: app/assets/javascripts/pipelines directory

i18n linting for .vue files under the
app/assets/javascripts/pipelines directory
parent 58f3a561
......@@ -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',
......
......@@ -94,9 +94,8 @@ export default {
tabindex="0"
class="js-pipeline-url-autodevops badge badge-info autodevops-badge"
role="button"
>{{ __('Auto DevOps') }}</gl-link
>
Auto DevOps
</gl-link>
<span v-if="pipeline.flags.stuck" class="js-pipeline-url-stuck badge badge-warning">
{{ __('stuck') }}
</span>
......
......@@ -1870,6 +1870,9 @@ msgstr ""
msgid "Cancel"
msgstr ""
msgid "Cancel running"
msgstr ""
msgid "Cancel this job"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment