Copy tweaks (#2780)

* Update en.json

* More copy tweaks and addressed PR comments

* 🔥 Remove empty strings from base text

*  Adjust `$showMessage` signature type

* 🔥 Remove message from Vue components

* ✏️ Fix typo

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
sirdavidoff
2022-02-18 16:26:44 +01:00
committed by GitHub
parent c026642f7b
commit 68c356c17c
16 changed files with 105 additions and 209 deletions

View File

@@ -500,12 +500,12 @@ export const workflowHelpers = mixins(
this.$externalHooks().run('workflow.afterUpdate', { workflowData });
return true;
} catch (e) {
} catch (error) {
this.$store.commit('removeActiveAction', 'workflowSaving');
this.$showMessage({
title: this.$locale.baseText('workflowHelpers.showMessage.title'),
message: this.$locale.baseText('workflowHelpers.showMessage.message') + `"${e.message}"`,
message: error.message,
type: 'error',
});