Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-12-02 18:10:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-02 18:10:48 +0300
commit3a52eefc27143af8a2b3838a159c52484ca4bc8b (patch)
treebb93b151f3bb91b300e4ee7fde249f324a0d5f9c /app/assets/javascripts/pipeline_editor
parent02e597943fcd131d51b63bfa20a17cf8438adde2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pipeline_editor')
-rw-r--r--app/assets/javascripts/pipeline_editor/pipeline_editor_app.vue33
1 files changed, 15 insertions, 18 deletions
diff --git a/app/assets/javascripts/pipeline_editor/pipeline_editor_app.vue b/app/assets/javascripts/pipeline_editor/pipeline_editor_app.vue
index db21bc936bf..563defdc2c1 100644
--- a/app/assets/javascripts/pipeline_editor/pipeline_editor_app.vue
+++ b/app/assets/javascripts/pipeline_editor/pipeline_editor_app.vue
@@ -222,21 +222,18 @@ export default {
},
},
i18n: {
- tabEdit: s__('Pipelines|Edit'),
- tabGraph: s__('Pipelines|Visualize'),
- tabLint: s__('Pipelines|Lint'),
- },
- resetModal: {
- actionPrimary: {
- text: __('Reset file'),
- },
- actionCancel: {
- text: __('Cancel'),
+ resetModal: {
+ actionPrimary: {
+ text: __('Reset file'),
+ },
+ actionCancel: {
+ text: __('Cancel'),
+ },
+ body: s__(
+ 'Pipeline Editor|Are you sure you want to reset the file to its last committed version?',
+ ),
+ 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: {
isEmpty(flag) {
@@ -364,12 +361,12 @@ export default {
<gl-modal
v-model="showResetComfirmationModal"
modal-id="reset-content"
- :title="$options.resetModal.title"
- :action-cancel="$options.resetModal.actionCancel"
- :action-primary="$options.resetModal.actionPrimary"
+ :title="$options.i18n.resetModal.title"
+ :action-cancel="$options.i18n.resetModal.actionCancel"
+ :action-primary="$options.i18n.resetModal.actionPrimary"
@primary="resetContent"
>
- {{ $options.resetModal.body }}
+ {{ $options.i18n.resetModal.body }}
</gl-modal>
<confirm-unsaved-changes-dialog :has-unsaved-changes="hasUnsavedChanges" />
</div>