fix(editor): Standardize save text (#7093)

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
This commit is contained in:
Deborah 2023-09-04 15:28:30 +01:00 committed by GitHub
parent e26553f198
commit 58b3492b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View file

@ -687,19 +687,21 @@ export default defineComponent({
{
interpolate: {
defaultValue: this.defaultValues.saveExecutionProgress
? this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.yes')
: this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.no'),
? this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.save')
: this.$locale.baseText(
'workflowSettings.saveExecutionProgressOptions.doNotSave',
),
},
},
),
},
{
key: true,
value: this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.yes'),
value: this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.save'),
},
{
key: false,
value: this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.no'),
value: this.$locale.baseText('workflowSettings.saveExecutionProgressOptions.doNotSave'),
},
]);
},
@ -710,18 +712,18 @@ export default defineComponent({
value: this.$locale.baseText('workflowSettings.saveManualOptions.defaultSave', {
interpolate: {
defaultValue: this.defaultValues.saveManualExecutions
? this.$locale.baseText('workflowSettings.saveManualOptions.yes')
: this.$locale.baseText('workflowSettings.saveManualOptions.no'),
? this.$locale.baseText('workflowSettings.saveManualOptions.save')
: this.$locale.baseText('workflowSettings.saveManualOptions.doNotSave'),
},
}),
});
this.saveManualOptions.push({
key: true,
value: this.$locale.baseText('workflowSettings.saveManualOptions.yes'),
value: this.$locale.baseText('workflowSettings.saveManualOptions.save'),
});
this.saveManualOptions.push({
key: false,
value: this.$locale.baseText('workflowSettings.saveManualOptions.no'),
value: this.$locale.baseText('workflowSettings.saveManualOptions.doNotSave'),
});
},

View file

@ -1733,12 +1733,12 @@
"workflowSettings.saveDataSuccessExecutionOptions.save": "@:_reusableBaseText.save",
"workflowSettings.saveExecutionProgress": "Save execution progress",
"workflowSettings.saveExecutionProgressOptions.defaultSave": "Default - {defaultValue}",
"workflowSettings.saveExecutionProgressOptions.no": "No",
"workflowSettings.saveExecutionProgressOptions.yes": "Yes",
"workflowSettings.saveExecutionProgressOptions.doNotSave": "Do not save",
"workflowSettings.saveExecutionProgressOptions.save": "@:_reusableBaseText.save",
"workflowSettings.saveManualExecutions": "Save manual executions",
"workflowSettings.saveManualOptions.defaultSave": "Default - {defaultValue}",
"workflowSettings.saveManualOptions.no": "No",
"workflowSettings.saveManualOptions.yes": "Yes",
"workflowSettings.saveManualOptions.doNotSave": "Do not save",
"workflowSettings.saveManualOptions.save": "@:_reusableBaseText.save",
"workflowSettings.seconds": "seconds",
"workflowSettings.selectOption": "Select Option",
"workflowSettings.settingsFor": "Workflow settings for {workflowName} (#{workflowId})",