mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Render base strings
This commit is contained in:
@@ -45,6 +45,7 @@ import { externalHooks } from '@/components/mixins/externalHooks';
|
||||
import { restApi } from '@/components/mixins/restApi';
|
||||
import { nodeHelpers } from '@/components/mixins/nodeHelpers';
|
||||
import { showMessage } from '@/components/mixins/showMessage';
|
||||
import { renderText } from '@/components/mixins/renderText';
|
||||
|
||||
import { isEqual } from 'lodash';
|
||||
|
||||
@@ -54,6 +55,7 @@ import { v4 as uuidv4} from 'uuid';
|
||||
export const workflowHelpers = mixins(
|
||||
externalHooks,
|
||||
nodeHelpers,
|
||||
renderText,
|
||||
restApi,
|
||||
showMessage,
|
||||
)
|
||||
@@ -483,8 +485,8 @@ export const workflowHelpers = mixins(
|
||||
this.$store.commit('removeActiveAction', 'workflowSaving');
|
||||
|
||||
this.$showMessage({
|
||||
title: 'Problem saving workflow',
|
||||
message: `There was a problem saving the workflow: "${e.message}"`,
|
||||
title: this.$baseText('workflowHelpers.showMessage.title'),
|
||||
message: this.$baseText('workflowHelpers.showMessage.message') + `: "${e.message}"`,
|
||||
type: 'error',
|
||||
});
|
||||
|
||||
@@ -557,8 +559,8 @@ export const workflowHelpers = mixins(
|
||||
this.$store.commit('removeActiveAction', 'workflowSaving');
|
||||
|
||||
this.$showMessage({
|
||||
title: 'Problem saving workflow',
|
||||
message: `There was a problem saving the workflow: "${e.message}"`,
|
||||
title: this.$baseText('workflowHelpers.showMessage.title'),
|
||||
message: this.$baseText('workflowHelpers.showMessage.message') + `: "${e.message}"`,
|
||||
type: 'error',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user