Commit fd6ea5bd authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '332360-follow-up-from-resolve-change-the-first-pipeline-editor-tab-name-to-edit' into 'master'

Cleanup of unused copy in Pipeline editor app

See merge request gitlab-org/gitlab!75681
parents e5096b9e 2ae68cb3
...@@ -222,21 +222,18 @@ export default { ...@@ -222,21 +222,18 @@ export default {
}, },
}, },
i18n: { i18n: {
tabEdit: s__('Pipelines|Edit'), resetModal: {
tabGraph: s__('Pipelines|Visualize'), actionPrimary: {
tabLint: s__('Pipelines|Lint'), text: __('Reset file'),
}, },
resetModal: { actionCancel: {
actionPrimary: { text: __('Cancel'),
text: __('Reset file'), },
}, body: s__(
actionCancel: { 'Pipeline Editor|Are you sure you want to reset the file to its last committed version?',
text: __('Cancel'), ),
title: __('Discard changes'),
}, },
body: s__(
'Pipeline Editor|Are you sure you want to reset the file to its last committed version?',
),
title: __('Discard changes'),
}, },
watch: { watch: {
isEmpty(flag) { isEmpty(flag) {
...@@ -364,12 +361,12 @@ export default { ...@@ -364,12 +361,12 @@ export default {
<gl-modal <gl-modal
v-model="showResetComfirmationModal" v-model="showResetComfirmationModal"
modal-id="reset-content" modal-id="reset-content"
:title="$options.resetModal.title" :title="$options.i18n.resetModal.title"
:action-cancel="$options.resetModal.actionCancel" :action-cancel="$options.i18n.resetModal.actionCancel"
:action-primary="$options.resetModal.actionPrimary" :action-primary="$options.i18n.resetModal.actionPrimary"
@primary="resetContent" @primary="resetContent"
> >
{{ $options.resetModal.body }} {{ $options.i18n.resetModal.body }}
</gl-modal> </gl-modal>
<confirm-unsaved-changes-dialog :has-unsaved-changes="hasUnsavedChanges" /> <confirm-unsaved-changes-dialog :has-unsaved-changes="hasUnsavedChanges" />
</div> </div>
......
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