diff --git a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue index 986d4bc944..2da0b1cd3f 100644 --- a/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue +++ b/packages/editor-ui/src/components/CredentialEdit/CredentialEdit.vue @@ -456,7 +456,6 @@ export default mixins(showMessage, nodeHelpers).extend({ this.$showError( error, this.$locale.baseText('credentialEdit.credentialEdit.showError.loadCredential.title'), - this.$locale.baseText('credentialEdit.credentialEdit.showError.loadCredential.message'), ); this.closeDialog(); @@ -658,7 +657,6 @@ export default mixins(showMessage, nodeHelpers).extend({ this.$showError( error, this.$locale.baseText('credentialEdit.credentialEdit.showError.createCredential.title'), - this.$locale.baseText('credentialEdit.credentialEdit.showError.createCredential.message'), ); return null; @@ -687,7 +685,6 @@ export default mixins(showMessage, nodeHelpers).extend({ this.$showError( error, this.$locale.baseText('credentialEdit.credentialEdit.showError.updateCredential.title'), - this.$locale.baseText('credentialEdit.credentialEdit.showError.updateCredential.message'), ); return null; @@ -728,7 +725,6 @@ export default mixins(showMessage, nodeHelpers).extend({ this.$showError( error, this.$locale.baseText('credentialEdit.credentialEdit.showError.deleteCredential.title'), - this.$locale.baseText('credentialEdit.credentialEdit.showError.deleteCredential.message'), ); this.isDeleting = false; @@ -741,10 +737,6 @@ export default mixins(showMessage, nodeHelpers).extend({ this.$showMessage({ title: this.$locale.baseText('credentialEdit.credentialEdit.showMessage.title'), - message: this.$locale.baseText( - 'credentialEdit.credentialEdit.showMessage.message', - { interpolate: { savedCredentialName } }, - ), type: 'success', }); this.closeDialog(); diff --git a/packages/editor-ui/src/components/CredentialsList.vue b/packages/editor-ui/src/components/CredentialsList.vue index eb82f700c7..d8154d5072 100644 --- a/packages/editor-ui/src/components/CredentialsList.vue +++ b/packages/editor-ui/src/components/CredentialsList.vue @@ -124,7 +124,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('credentialsList.showError.deleteCredential.title'), - this.$locale.baseText('credentialsList.showError.deleteCredential.message'), ); return; @@ -135,10 +134,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('credentialsList.showMessage.title'), - message: this.$locale.baseText( - 'credentialsList.showMessage.message', - { interpolate: { credentialName: credential.name }}, - ), type: 'success', }); }, diff --git a/packages/editor-ui/src/components/Error/NodeErrorView.vue b/packages/editor-ui/src/components/Error/NodeErrorView.vue index 83bf6fe918..c36fdd30a3 100644 --- a/packages/editor-ui/src/components/Error/NodeErrorView.vue +++ b/packages/editor-ui/src/components/Error/NodeErrorView.vue @@ -104,7 +104,6 @@ export default mixins( copySuccess() { this.$showMessage({ title: this.$locale.baseText('nodeErrorView.showMessage.title'), - message: this.$locale.baseText('nodeErrorView.showMessage.message'), type: 'info', }); }, diff --git a/packages/editor-ui/src/components/ExecutionsList.vue b/packages/editor-ui/src/components/ExecutionsList.vue index 073d536402..2a579e4aec 100644 --- a/packages/editor-ui/src/components/ExecutionsList.vue +++ b/packages/editor-ui/src/components/ExecutionsList.vue @@ -409,7 +409,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('executionsList.showError.handleDeleteSelected.title'), - this.$locale.baseText('executionsList.showError.handleDeleteSelected.message'), ); return; @@ -418,7 +417,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('executionsList.showMessage.handleDeleteSelected.title'), - message: this.$locale.baseText('executionsList.showMessage.handleDeleteSelected.message'), type: 'success', }); @@ -572,7 +570,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('executionsList.showError.loadMore.title'), - this.$locale.baseText('executionsList.showError.loadMore.message') + ':', ); return; } @@ -612,7 +609,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('executionsList.showError.loadWorkflows.title'), - this.$locale.baseText('executionsList.showError.loadWorkflows.message') + ':', ); } }, @@ -625,13 +621,11 @@ export default mixins( if (retrySuccessful === true) { this.$showMessage({ title: this.$locale.baseText('executionsList.showMessage.retrySuccessfulTrue.title'), - message: this.$locale.baseText('executionsList.showMessage.retrySuccessfulTrue.message'), type: 'success', }); } else { this.$showMessage({ title: this.$locale.baseText('executionsList.showMessage.retrySuccessfulFalse.title'), - message: this.$locale.baseText('executionsList.showMessage.retrySuccessfulFalse.message'), type: 'error', }); } @@ -641,7 +635,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('executionsList.showError.retryExecution.title'), - this.$locale.baseText('executionsList.showError.retryExecution.message'), ); this.isDataLoading = false; @@ -658,7 +651,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('executionsList.showError.refreshData.title'), - this.$locale.baseText('executionsList.showError.refreshData.message') + ':', ); } @@ -731,7 +723,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('executionsList.showError.stopExecution.title'), - this.$locale.baseText('executionsList.showError.stopExecution.message'), ); } }, diff --git a/packages/editor-ui/src/components/MainSidebar.vue b/packages/editor-ui/src/components/MainSidebar.vue index 6b9f074d73..a044b0b6e1 100644 --- a/packages/editor-ui/src/components/MainSidebar.vue +++ b/packages/editor-ui/src/components/MainSidebar.vue @@ -318,17 +318,12 @@ export default mixins( await this.restApi().stopCurrentExecution(executionId); this.$showMessage({ title: this.$locale.baseText('mainSidebar.showMessage.stopExecution.title'), - message: this.$locale.baseText( - 'mainSidebar.showMessage.stopExecution.message', - { interpolate: { executionId }}, - ), type: 'success', }); } catch (error) { this.$showError( error, this.$locale.baseText('mainSidebar.showError.stopExecution.title'), - this.$locale.baseText('mainSidebar.showError.stopExecution.message') + ':', ); } this.stopExecutionInProgress = false; @@ -411,7 +406,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('mainSidebar.showError.stopExecution.title'), - this.$locale.baseText('mainSidebar.showError.stopExecution.message') + ':', ); return; } @@ -420,10 +414,6 @@ export default mixins( this.$titleReset(); this.$showMessage({ title: this.$locale.baseText('mainSidebar.showMessage.handleSelect1.title'), - message: this.$locale.baseText( - 'mainSidebar.showMessage.handleSelect1.message', - { interpolate: { workflowName: this.workflowName }}, - ), type: 'success', }); @@ -476,7 +466,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('mainSidebar.showMessage.handleSelect2.title'), - message: this.$locale.baseText('mainSidebar.showMessage.handleSelect2.message'), type: 'success', }); } @@ -487,7 +476,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('mainSidebar.showMessage.handleSelect3.title'), - message: this.$locale.baseText('mainSidebar.showMessage.handleSelect3.message'), type: 'success', }); } diff --git a/packages/editor-ui/src/components/NodeWebhooks.vue b/packages/editor-ui/src/components/NodeWebhooks.vue index 38372e7152..66d56487d9 100644 --- a/packages/editor-ui/src/components/NodeWebhooks.vue +++ b/packages/editor-ui/src/components/NodeWebhooks.vue @@ -84,7 +84,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('nodeWebhooks.showMessage.title'), - message: this.$locale.baseText('nodeWebhooks.showMessage.message'), type: 'success', }); }, diff --git a/packages/editor-ui/src/components/TagsManager/TagsManager.vue b/packages/editor-ui/src/components/TagsManager/TagsManager.vue index 0e329f8ac9..472874d416 100644 --- a/packages/editor-ui/src/components/TagsManager/TagsManager.vue +++ b/packages/editor-ui/src/components/TagsManager/TagsManager.vue @@ -127,15 +127,8 @@ export default mixins(showMessage).extend({ const updatedTag = await this.$store.dispatch("tags/rename", { id, name }); cb(!!updatedTag); - const escapedName = escape(name); - const escapedOldName = escape(oldName); - this.$showMessage({ title: this.$locale.baseText('tagsManager.showMessage.onUpdate.title'), - message: this.$locale.baseText( - 'tagsManager.showMessage.onUpdate.message', - { interpolate: { escapedName, escapedOldName } }, - ), type: "success", }); } catch (error) { @@ -168,13 +161,8 @@ export default mixins(showMessage).extend({ cb(deleted); - const escapedName = escape(name); this.$showMessage({ title: this.$locale.baseText('tagsManager.showMessage.onDelete.title'), - message: this.$locale.baseText( - 'tagsManager.showMessage.onDelete.message', - { interpolate: { escapedName } }, - ), type: "success", }); } catch (error) { diff --git a/packages/editor-ui/src/components/WorkflowActivator.vue b/packages/editor-ui/src/components/WorkflowActivator.vue index fb4f6061eb..252fbb9c97 100644 --- a/packages/editor-ui/src/components/WorkflowActivator.vue +++ b/packages/editor-ui/src/components/WorkflowActivator.vue @@ -125,9 +125,8 @@ export default mixins( const newStateName = newActiveState === true ? 'activated' : 'deactivated'; this.$showError( error, - this.$locale.baseText('workflowActivator.showError.title'), this.$locale.baseText( - 'workflowActivator.showError.message', + 'workflowActivator.showError.title', { interpolate: { newStateName } }, ) + ':', ); diff --git a/packages/editor-ui/src/components/WorkflowOpen.vue b/packages/editor-ui/src/components/WorkflowOpen.vue index 2b8d40e55a..4a927519ec 100644 --- a/packages/editor-ui/src/components/WorkflowOpen.vue +++ b/packages/editor-ui/src/components/WorkflowOpen.vue @@ -205,7 +205,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('workflowOpen.showError.title'), - this.$locale.baseText('workflowOpen.showError.message') + ':', ); this.isDataLoading = false; }, diff --git a/packages/editor-ui/src/components/WorkflowSettings.vue b/packages/editor-ui/src/components/WorkflowSettings.vue index ef47c413a2..44877060b0 100644 --- a/packages/editor-ui/src/components/WorkflowSettings.vue +++ b/packages/editor-ui/src/components/WorkflowSettings.vue @@ -523,7 +523,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('workflowSettings.showError.saveSettings3.title'), - this.$locale.baseText('workflowSettings.showError.saveSettings3.message') + ':', ); this.isLoading = false; return; @@ -545,7 +544,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('workflowSettings.showMessage.saveSettings.title'), - message: this.$locale.baseText('workflowSettings.showMessage.saveSettings.message'), type: 'success', }); diff --git a/packages/editor-ui/src/components/mixins/pushConnection.ts b/packages/editor-ui/src/components/mixins/pushConnection.ts index 1b81aef56a..3f29031b4a 100644 --- a/packages/editor-ui/src/components/mixins/pushConnection.ts +++ b/packages/editor-ui/src/components/mixins/pushConnection.ts @@ -264,7 +264,6 @@ export const pushConnection = mixins( this.$titleSet(workflow.name as string, 'IDLE'); this.$showMessage({ title: this.$locale.baseText('pushConnection.showMessage.title'), - message: this.$locale.baseText('pushConnection.showMessage.message'), type: 'success', }); } diff --git a/packages/editor-ui/src/components/mixins/showMessage.ts b/packages/editor-ui/src/components/mixins/showMessage.ts index c86f69ebf6..9bb83b8f50 100644 --- a/packages/editor-ui/src/components/mixins/showMessage.ts +++ b/packages/editor-ui/src/components/mixins/showMessage.ts @@ -12,13 +12,16 @@ let stickyNotificationQueue: ElNotificationComponent[] = []; export const showMessage = mixins(externalHooks).extend({ methods: { - $showMessage(messageData: ElNotificationOptions, track = true) { + $showMessage( + messageData: Omit & { message?: string }, + track = true, + ) { messageData.dangerouslyUseHTMLString = true; if (messageData.position === undefined) { messageData.position = 'bottom-right'; } - const notification = this.$notify(messageData); + const notification = this.$notify(messageData as ElNotificationOptions); if (messageData.duration === 0) { stickyNotificationQueue.push(notification); diff --git a/packages/editor-ui/src/components/mixins/workflowHelpers.ts b/packages/editor-ui/src/components/mixins/workflowHelpers.ts index dd328010a0..6bb698650c 100644 --- a/packages/editor-ui/src/components/mixins/workflowHelpers.ts +++ b/packages/editor-ui/src/components/mixins/workflowHelpers.ts @@ -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', }); diff --git a/packages/editor-ui/src/components/mixins/workflowRun.ts b/packages/editor-ui/src/components/mixins/workflowRun.ts index c0bb9bb77e..34f03e02fb 100644 --- a/packages/editor-ui/src/components/mixins/workflowRun.ts +++ b/packages/editor-ui/src/components/mixins/workflowRun.ts @@ -205,7 +205,6 @@ export const workflowRun = mixins( this.$showError( error, this.$locale.baseText('workflowRun.showError.title'), - this.$locale.baseText('workflowRun.showError.message'), ); return undefined; } diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index ea7889ea49..ff2ac1129e 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -55,9 +55,9 @@ }, "deleteCredential": { "cancelButtonText": "", - "confirmButtonText": "Yes, delete!", + "confirmButtonText": "Yes, delete", "headline": "Delete Credential?", - "message": "Are you sure you want to delete \"{savedCredentialName}\" credential?" + "message": "Are you sure you want to delete \"{savedCredentialName}\"?" } }, "connection": "Connection", @@ -68,11 +68,9 @@ "saving": "Saving", "showError": { "createCredential": { - "message": "", "title": "Problem creating credential" }, "deleteCredential": { - "message": "", "title": "Problem deleting credential" }, "generateAuthorizationUrl": { @@ -80,16 +78,13 @@ "title": "OAuth Authorization Error" }, "loadCredential": { - "message": "", "title": "Problem loading credential" }, "updateCredential": { - "message": "", "title": "Problem updating credential" } }, "showMessage": { - "message": "The credential {savedCredentialName} was deleted!", "title": "Credential deleted" }, "testing": "Testing" @@ -115,9 +110,9 @@ "addNew": "Add New", "confirmMessage": { "cancelButtonText": "", - "confirmButtonText": "Yes, delete!", + "confirmButtonText": "Yes, delete", "headline": "Delete Credential?", - "message": "Are you sure you want to delete {credentialName} credential?" + "message": "Are you sure you want to delete {credentialName}?" }, "createNewCredential": "Create New Credential", "created": "Created", @@ -128,12 +123,10 @@ "operations": "Operations", "showError": { "deleteCredential": { - "message": "", "title": "Problem deleting credential" } }, "showMessage": { - "message": "The credential {credentialName} got deleted!", "title": "Credential deleted" }, "type": "Type", @@ -180,9 +173,9 @@ "autoRefresh": "Auto refresh", "confirmMessage": { "cancelButtonText": "", - "confirmButtonText": "Yes, delete!", + "confirmButtonText": "Yes, delete", "headline": "Delete Executions?", - "message": "Are you sure that you want to delete the {numSelected} selected executions?" + "message": "Are you sure that you want to delete the {numSelected} selected execution(s)?" }, "deleteSelected": "Delete Selected", "error": "Error", @@ -210,45 +203,36 @@ "selected": "Selected", "showError": { "handleDeleteSelected": { - "message": "", "title": "Problem deleting executions" }, "loadMore": { - "message": "", "title": "Problem loading workflows" }, "loadWorkflows": { - "message": "", "title": "Problem loading workflows" }, "refreshData": { - "message": "", "title": "Problem loading data" }, "retryExecution": { - "message": "", "title": "Problem with retry" }, "stopExecution": { - "message": "", "title": "Problem stopping execution" } }, "showMessage": { "handleDeleteSelected": { - "message": "The executions got deleted!", "title": "Execution deleted" }, "retrySuccessfulFalse": { - "message": "The retry was not successful!", "title": "Retry unsuccessful" }, "retrySuccessfulTrue": { - "message": "", "title": "Retry successful" }, "stopExecution": { - "message": "The execution with the ID {activeExecutionId} got stopped!", + "message": "Execution ID {activeExecutionId}", "title": "Execution stopped" } }, @@ -288,11 +272,11 @@ }, "genericHelpers": { "loading": "Loading", - "min": "min.", - "sec": "sec.", + "min": "min", + "sec": "sec", "showMessage": { - "message": "The workflow cannot be edited as a past execution gets displayed. To make changed either open the original workflow of which the execution gets displayed or save it under a new name first.", - "title": "Workflow cannot be changed!" + "message": "This is a read-only version of the workflow. To make changes, either open the original workflow or save it under a new name.", + "title": "Workflow cannot be changed" } }, "mainSidebar": { @@ -300,9 +284,9 @@ "confirmMessage": { "workflowDelete": { "cancelButtonText": "", - "confirmButtonText": "Yes, delete!", + "confirmButtonText": "Yes, delete", "headline": "Delete Workflow?", - "message": "Are you sure that you want to delete the workflow {workflowName}?" + "message": "Are you sure that you want to delete '{workflowName}'?" }, "workflowNew": { "cancelButtonText": "", @@ -337,29 +321,24 @@ "settings": "Settings", "showError": { "stopExecution": { - "message": "", "title": "Problem stopping execution" } }, "showMessage": { "handleFileImport": { - "message": "The file does not contain valid JSON data.", + "message": "The file does not contain valid JSON data", "title": "Could not import file" }, "handleSelect1": { - "message": "The workflow {workflowName} got deleted.", - "title": "Workflow got deleted" + "title": "Workflow deleted" }, "handleSelect2": { - "message": "", "title": "Workflow created" }, "handleSelect3": { - "message": "", "title": "Workflow created" }, "stopExecution": { - "message": "Execution with ID {executionId} got stopped!", "title": "Execution stopped" } }, @@ -385,8 +364,8 @@ "executeNode": "Execute Node", "issues": "Issues", "nodeIsExecuting": "Node is executing", - "nodeIsWaitingTill": "Node is waiting till {date} {time}", - "theNodeIsWaitingIndefinitelyForAnIncomingWebhookCall": "The node is waiting indefinitely for an incoming webhook call.", + "nodeIsWaitingTill": "Node is waiting until {date} {time}", + "theNodeIsWaitingIndefinitelyForAnIncomingWebhookCall": "The node is waiting for an incoming webhook call (indefinitely)", "waitingForYouToCreateAnEventIn": "Waiting for you to create an event in {nodeType}" }, "nodeCreator": { @@ -455,11 +434,10 @@ "error": "ERROR", "httpCode": "HTTP Code", "showMessage": { - "message": "", "title": "Copied to clipboard" }, "stack": "Stack", - "theErrorCauseIsTooLargeToBeDisplayed": "The error cause is too large to be displayed.", + "theErrorCauseIsTooLargeToBeDisplayed": "The error cause is too large to be displayed", "time": "Time" }, "nodeBase": { @@ -467,7 +445,7 @@ }, "nodeSettings": { "alwaysOutputData": { - "description": "If active, the node will return an empty item even if the
node returns no data during an initial execution. Be careful setting
this on IF-Nodes as it could cause an infinite loop.", + "description": "If active, will output a single, empty item when the output would have been empty. Be careful setting this on 'if' nodes, as it could cause an infinite loop.", "displayName": "Always Output Data" }, "clickOnTheQuestionMarkIcon": "Click the '?' icon to open this node on n8n.io", @@ -476,34 +454,34 @@ "displayName": "Continue On Fail" }, "executeOnce": { - "description": "If active, the node executes only once, with data
from the first item it recieves.", + "description": "If active, the node executes only once, with data from the first item it receives", "displayName": "Execute Once" }, "maxTries": { - "description": "Number of times Retry On Fail should attempt to execute the node
before stopping and returning the execution as failed.", + "description": "Number of times to attempt to execute the node before failing the execution", "displayName": "Max. Tries" }, "noDescriptionFound": "No description found", "nodeDescription": "Node Description", "notes": { - "description": "Optional note to save with the node.", + "description": "Optional note to save with the node", "displayName": "Notes" }, "notesInFlow": { - "description": "If active, the note above will display in the flow as a subtitle.", + "description": "If active, the note above will display in the flow as a subtitle", "displayName": "Display note in flow?" }, "parameters": "Parameters", "retryOnFail": { - "description": "If active, the node tries to execute a failed attempt
multiple times until it succeeds.", + "description": "If active, the node tries to execute again when it fails", "displayName": "Retry On Fail" }, "settings": "Settings", - "theNodeIsNotValidAsItsTypeIsUnknown": "The node is not valid as its type {nodeType} is unknown.", - "thisNodeDoesNotHaveAnyParameters": "This node does not have any parameters.", + "theNodeIsNotValidAsItsTypeIsUnknown": "The node is not valid as its type ({nodeType}) is unknown", + "thisNodeDoesNotHaveAnyParameters": "This node does not have any parameters", "waitBetweenTries": { - "description": "How long to wait between each attempt. Value in ms.", - "displayName": "Wait Between Tries" + "description": "How long to wait between each attempt (in milliseconds)", + "displayName": "Wait Between Tries (ms)" } }, "nodeView": { @@ -523,18 +501,18 @@ }, "receivedCopyPasteData": { "cancelButtonText": "", - "confirmButtonText": "Yes, import!", - "headline": "Import Workflow from URL?", - "message": "Import workflow from this URL:
{plainTextData}" + "confirmButtonText": "Yes, import", + "headline": "Import Workflow?", + "message": "Workflow will be imported from
{plainTextData}" } }, - "couldntImportWorkflow": "Couldn't import workflow", - "deletesTheCurrentExecutionData": "Deletes the current Execution Data.", - "executesTheWorkflowFromTheStartOrWebhookNode": "Executes the Workflow from the Start or Webhook Node.", - "itLooksLikeYouHaveBeenEditingSomething": "It looks like you have been editing something. If you leave before saving, your changes will be lost.", + "couldntImportWorkflow": "Could not import workflow", + "deletesTheCurrentExecutionData": "Deletes the current execution data", + "executesTheWorkflowFromTheStartOrWebhookNode": "Executes the workflow from the 'start' or 'webhook' node", + "itLooksLikeYouHaveBeenEditingSomething": "It looks like you made some edits. If you leave before saving, your changes will be lost.", "loadingTemplate": "Loading template", "moreInfo": "More info", - "noNodesGivenToAdd": "No nodes given to add!", + "noNodesGivenToAdd": "No nodes to add specified", "prompt": { "cancel": "@:reusableBaseText.cancel", "invalidName": "Invalid Name", @@ -552,11 +530,9 @@ }, "showError": { "getWorkflowDataFromUrl": { - "message": "There was a problem loading the workflow data from URL", "title": "Problem loading workflow" }, "importWorkflowData": { - "message": "There was a problem importing workflow data", "title": "Problem importing workflow" }, "mounted1": { @@ -568,72 +544,64 @@ "title": "Init Problem" }, "openExecution": { - "message": "", "title": "Problem loading execution" }, "openWorkflow": { - "message": "", "title": "Problem opening workflow" }, "stopExecution": { - "message": "", "title": "Problem stopping execution" }, "stopWaitingForWebhook": { - "message": "", - "title": "Problem deleting the test-webhook" + "title": "Problem deleting test webhook" } }, "showMessage": { "addNodeButton": { - "message": "Node of type {nodeTypeName} could not be created as it is not known.", - "title": "Could not create node!" + "message": "'{nodeTypeName}' is an unknown node type", + "title": "Could not create node" }, "keyDown": { - "message": "", "title": "Workflow created" }, "showMaxNodeTypeError": { "message": { - "plural": "Node cannot be created because in a workflow max. {maxNodes} nodes of type {nodeTypeDataDisplayName} are allowed!", - "singular": "Node cannot be created because in a workflow max. {maxNodes} node of type {nodeTypeDataDisplayName} is allowed!" + "plural": "Only {maxNodes} '{nodeTypeDataDisplayName}' nodes are allowed in a workflow", + "singular": "Only {maxNodes} '{nodeTypeDataDisplayName}' node is allowed in a workflow" }, - "title": "Could not create node!" + "title": "Could not create node" }, "stopExecutionCatch": { - "message": "Unable to stop operation in time. Workflow finished executing already.", + "message": "It completed before it could be stopped", "title": "Workflow finished executing" }, "stopExecutionTry": { - "message": "The execution with the id {executionId} got stopped!", "title": "Execution stopped" }, "stopWaitingForWebhook": { - "message": "", - "title": "Webhook got deleted" + "title": "Webhook deleted" } }, "stopCurrentExecution": "Stop current execution", - "stopWaitingForWebhookCall": "Stop waiting for Webhook call", + "stopWaitingForWebhookCall": "Stop waiting for webhook call", "stoppingCurrentExecution": "Stopping current execution", - "thereWasAProblemLoadingTheNodeParametersOfNode": "There was a problem loading the node-parameters of node", + "thereWasAProblemLoadingTheNodeParametersOfNode": "There was a problem loading the parameters of the node", "thisExecutionHasntFinishedYet": "This execution hasn't finished yet", "toSeeTheLatestStatus": "to see the latest status", - "workflowTemplateWithIdCouldNotBeFound": "Workflow template with id \"{templateId}\" could not be found!", - "workflowWithIdCouldNotBeFound": "Workflow with id \"{workflowId}\" could not be found!", + "workflowTemplateWithIdCouldNotBeFound": "Workflow template with ID \"{templateId}\" could not be found", + "workflowWithIdCouldNotBeFound": "Workflow with ID \"{workflowId}\" could not be found", "zoomIn": "Zoom In", "zoomOut": "Zoom Out", "zoomToFit": "Zoom to Fit" }, "nodeWebhooks": { - "clickToCopyWebhookUrls": "Click to copy Webhook URLs", - "clickToDisplayWebhookUrls": "Click to display Webhook URLs", - "clickToHideWebhookUrls": "Click to hide Webhook URLs", + "clickToCopyWebhookUrls": "Click to copy webhook URLs", + "clickToDisplayWebhookUrls": "Click to display webhook URLs", + "clickToHideWebhookUrls": "Click to hide webhook URLs", "invalidExpression": "[INVALID EXPRESSION]", "productionUrl": "Production URL", "showMessage": { - "message": "The webhook URL was successfully copied!", - "title": "Copied" + "title": "URL copied" }, "testUrl": "Test URL", "webhookUrls": "Webhook URLs" @@ -645,9 +613,9 @@ "loadingOptions": "Loading options...", "openEditWindow": "Open Edit Window", "parameter": "Parameter: \"{shortPath}\"", - "parameterHasExpression": "Parameter: \"{shortPath}\" has expression!", - "parameterHasIssues": "Parameter: \"{shortPath}\" has issues!", - "parameterHasIssuesAndExpression": "Parameter: \"{shortPath}\" has issues and expression!", + "parameterHasExpression": "Parameter: \"{shortPath}\" has an expression", + "parameterHasIssues": "Parameter: \"{shortPath}\" has issues", + "parameterHasIssuesAndExpression": "Parameter: \"{shortPath}\" has issues and an expression", "parameterOptions": "Parameter Options", "refreshList": "Refresh List", "removeExpression": "Remove Expression", @@ -656,7 +624,7 @@ }, "parameterInputExpanded": { "openDocs": "Open docs", - "thisFieldIsRequired": "This field is required." + "thisFieldIsRequired": "This field is required" }, "parameterInputList": { "delete": "Delete", @@ -667,7 +635,7 @@ "automationConsulting": "Automation consulting", "continue": "Continue", "eCommerce": "eCommerce", - "errorWhileSubmittingResults": "Error while submitting results", + "errorWhileSubmittingResults": "Error submitting results", "executiveTeam": "Executive team", "finance": "Finance", "getStarted": "Get started", @@ -687,7 +655,7 @@ "lessThan20People": "Less than 20 people", "lookOutForThingsMarked": "Look out for things marked with a ✨. They are personalized to make n8n more relevant to you.", "marketing": "Marketing", - "neverCoded": "0 (Never coded)", + "neverCoded": "0. Never coded", "operations": "Operations", "otherPleaseSpecify": "Other (please specify)", "people": "people", @@ -709,12 +677,11 @@ }, "pushConnection": { "showMessage": { - "message": "", "title": "Workflow executed successfully" } }, "pushConnectionTracker": { - "cannotConnectToServer": "Cannot connect to server.
It is either down or you have a connection issue.
It should reconnect automatically once the issue is resolved.", + "cannotConnectToServer": "You have a connection issue or the server is down.
n8n should reconnect automatically once the issue is resolved.", "connectionLost": "Connection lost" }, "reusableBaseText": { @@ -735,9 +702,9 @@ "copyToClipboard": "Copy to Clipboard", "copyValue": "Copy Value", "dataOfExecution": "Data of Execution", - "dataReturnedByThisNodeWillDisplayHere": "Data returned by this node will display here.", + "dataReturnedByThisNodeWillDisplayHere": "Data returned by this node will display here", "displayDataAnyway": "Display Data Anyway", - "entriesExistButThey": "Entries exist but they do not contain any JSON data.", + "entriesExistButThey": "Entries exist but they do not contain any JSON data", "executeNode": "Execute Node", "executesThisNodeAfterExecuting": "Executes this {nodeName} node after executing any previous nodes that have not yet returned data", "executionTime": "Execution Time", @@ -755,7 +722,7 @@ "showBinaryData": "Show Binary Data", "startTime": "Start Time", "table": "Table", - "theNodeContains": "The node contains {numberOfKb} KB of data.
Displaying it could cause problems!

If you do decide to display it, avoid the JSON view!" + "theNodeContains": "The node contains {numberOfKb} KB of data.
Displaying it could cause problems.

If you do decide to display it, consider avoiding the JSON view." }, "saveButton": { "save": "@:reusableBaseText.save", @@ -773,8 +740,8 @@ "noMatchingTagsExist": "No matching tags exist", "noTagsExist": "No tags exist", "showError": { - "message": "A problem occurred when trying to create the {name} tag", - "title": "New tag was not created" + "message": "A problem occurred when trying to create the '{name}' tag", + "title": "Could not create tag" }, "typeToCreateATag": "Type to create a tag" }, @@ -784,26 +751,24 @@ "manageTags": "Manage tags", "showError": { "onCreate": { - "message": "A problem occurred when trying to create the {escapedName} tag", - "title": "New tag was not created" + "message": "A problem occurred when trying to create the tag '{escapedName}'", + "title": "Could not create tag" }, "onDelete": { - "message": "A problem occurred when trying to delete the {escapedName} tag", - "title": "Tag was not deleted" + "message": "A problem occurred when trying to delete the tag '{escapedName}'", + "title": "Could not delete tag" }, "onUpdate": { - "message": "A problem occurred when trying to update the {escapedName} tag", - "title": "Tag was not updated" + "message": "A problem occurred when trying to update the tag '{escapedName}'", + "title": "Could not update tag" } }, "showMessage": { "onDelete": { - "message": "A problem occurred when trying to delete the {escapedName} tag", - "title": "Tag was deleted" + "title": "Tag deleted" }, "onUpdate": { - "message": "The {escapedOldName} tag was successfully updated to {escapedName}", - "title": "Tag was updated" + "title": "Tag updated" } }, "tagNameCannotBeEmpty": "Tag name cannot be empty" @@ -893,42 +858,40 @@ "activateWorkflow": "Activate workflow", "deactivateWorkflow": "Deactivate workflow", "showError": { - "message": "There was a problem and the workflow could not be {newStateName}", - "title": "Problem" + "title": "Workflow could not be {newStateName}" }, "showMessage": { "activeChangedNodesIssuesExistTrue": { - "message": "It is only possible to activate a workflow when all issues on all nodes got resolved!", + "message": "Please resolve outstanding issues before you activate it", "title": "Problem activating workflow" }, "activeChangedWorkflowIdUndefined": { - "message": "The workflow did not get saved yet so cannot be set active!", + "message": "Please save it before activating", "title": "Problem activating workflow" }, "displayActivationError": { "message": { "catchBlock": "Sorry there was a problem requesting the error", "errorDataNotUndefined": "The following error occurred on workflow activation:
{message}", - "errorDataUndefined": "Sorry there was a problem. No error got found to display." + "errorDataUndefined": "Unknown error" }, "title": "Problem activating workflow" } }, - "theWorkflowIsSetToBeActiveBut": "The workflow is set to be active but could not be started.
Click to display error message.", + "theWorkflowIsSetToBeActiveBut": "The workflow is activated but could not be started.
Click to display error message.", "thisWorkflowHasNoTriggerNodes": "This workflow has no trigger nodes that require activation" }, "workflowDetails": { "active": "Active", "addTag": "Add tag", "showMessage": { - "message": "Please enter a name, or press 'esc' to go back to the old one.", + "message": "Please enter a name, or press 'esc' to go back to the old one", "title": "Name missing" }, "chooseOrCreateATag": "Choose or create a tag" }, "workflowHelpers": { "showMessage": { - "message": "", "title": "Problem saving workflow" } }, @@ -938,7 +901,7 @@ "cancelButtonText": "", "confirmButtonText": "Yes, switch workflows and forget changes", "headline": "Switch workflows without saving?", - "message": "When you switch workflows without saving, your current changes will be lost." + "message": "If you do this, your current changes will be lost." }, "created": "Created", "name": "@:reusableBaseText.name", @@ -946,24 +909,22 @@ "filterWorkflows": "Filter by tags", "searchWorkflows": "Search workflows...", "showError": { - "message": "There was a problem loading the workflows", "title": "Problem loading workflows" }, "showMessage": { "message": "This is the current workflow", - "title": "Already open" + "title": "Workflow already open" }, "updated": "Updated" }, "workflowRun": { - "noActiveConnectionToTheServer": "No active connection to server. It is maybe down.", + "noActiveConnectionToTheServer": "Lost connection to the server", "showError": { - "message": "", "title": "Problem running workflow" }, "showMessage": { - "message": "The workflow has issues. Please fix them first", - "title": "Workflow cannot be executed" + "message": "Please fix them before executing", + "title": "Workflow has issues" } }, "workflowSettings": { @@ -971,38 +932,38 @@ "defaultTimezoneNotValid": "Default Timezone not valid", "errorWorkflow": "Error Workflow", "helpTexts": { - "errorWorkflow": "The workflow to run in case the current one fails.
To function correctly that workflow has to contain an 'Error Trigger' node!", - "executionTimeout": "After what time the workflow should timeout.", - "executionTimeoutToggle": "Cancel workflow execution after defined time", - "saveDataErrorExecution": "If data data of executions should be saved in case they failed.", - "saveDataSuccessExecution": "If data data of executions should be saved in case they succeed.", - "saveExecutionProgress": "If data should be saved after each node, allowing you to resume in case of errors from where it stopped. May increase latency.", - "saveManualExecutions": "If data data of executions should be saved when started manually from the editor.", - "timezone": "The timezone in which the workflow should run. Gets for example used by 'Cron' node." + "errorWorkflow": "A second workflow to run if the current one fails.
The second workflow should an 'Error Trigger' node.", + "executionTimeout": "How long the workflow should wait before timing out", + "executionTimeoutToggle": "Whether to cancel workflow execution after a defined time", + "saveDataErrorExecution": "Whether to save data of executions that fail", + "saveDataSuccessExecution": "Whether to save data of executions that finish successfully", + "saveExecutionProgress": "Whether to save data after each node execution. This allows you to resume from where execution stopped if there is an error, but may increase latency.", + "saveManualExecutions": "Whether to save data of executions that are started manually from the editor", + "timezone": "The timezone in which the workflow should run. Used by 'cron' node, for example." }, "hours": "hours", "minutes": "minutes", "noWorkflow": "- No Workflow -", "save": "@:reusableBaseText.save", - "saveDataErrorExecution": "Save Data Error Execution", + "saveDataErrorExecution": "Save failed executions", "saveDataErrorExecutionOptions": { "defaultSave": "Default - {defaultValue}", "doNotSave": "Do not save", "save": "@:reusableBaseText.save" }, - "saveDataSuccessExecution": "Save Data Success Execution", + "saveDataSuccessExecution": "Save successful executions", "saveDataSuccessExecutionOptions": { "defaultSave": "Default - {defaultValue}", "doNotSave": "Do not save", "save": "@:reusableBaseText.save" }, - "saveExecutionProgress": "Save Execution Progress", + "saveExecutionProgress": "Save execution progress", "saveExecutionProgressOptions": { "defaultSave": "Default - {defaultValue}", "no": "No", "yes": "Yes" }, - "saveManualExecutions": "Save Manual Executions", + "saveManualExecutions": "Save manual executions", "saveManualOptions": { "defaultSave": "Default - {defaultValue}", "no": "No", @@ -1019,18 +980,16 @@ }, "saveSettings2": { "errorMessage": "Maximum Timeout is: {hours} hours, {minutes} minutes, {seconds} seconds", - "message": "Set timeout is exceeding the maximum timeout!", + "message": "The timeout is longer than allowed", "title": "Problem saving settings" }, "saveSettings3": { - "message": "There was a problem saving the settings", "title": "Problem saving settings" } }, "showMessage": { "saveSettings": { - "message": "The workflow settings got saved!", - "title": "Settings saved" + "title": "Workflow settings saved" } }, "timeoutAfter": "Timeout After", diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index fbb108ac25..14810077ca 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -446,7 +446,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('nodeView.showError.openExecution.title'), - this.$locale.baseText('nodeView.showError.openExecution.message') + ':', ); return; } @@ -577,7 +576,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('nodeView.showError.openWorkflow.title'), - this.$locale.baseText('nodeView.showError.openWorkflow.message') + ':', ); return; } @@ -747,7 +745,6 @@ export default mixins( this.$showMessage({ title: this.$locale.baseText('nodeView.showMessage.keyDown.title'), - message: this.$locale.baseText('nodeView.showMessage.keyDown.message'), type: 'success', }); } else if ((e.key === 's') && (this.isCtrlKeyPressed(e) === true)) { @@ -1045,10 +1042,6 @@ export default mixins( await this.restApi().stopCurrentExecution(executionId); this.$showMessage({ title: this.$locale.baseText('nodeView.showMessage.stopExecutionTry.title'), - message: this.$locale.baseText( - 'nodeView.showMessage.stopExecutionTry.message', - { interpolate: { executionId } }, - ), type: 'success', }); } catch (error) { @@ -1081,7 +1074,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('nodeView.showError.stopExecution.title'), - this.$locale.baseText('nodeView.showError.stopExecution.message') + ':', ); } } @@ -1095,14 +1087,12 @@ export default mixins( this.$showError( error, this.$locale.baseText('nodeView.showError.stopWaitingForWebhook.title'), - this.$locale.baseText('nodeView.showError.stopWaitingForWebhook.message') + ':', ); return; } this.$showMessage({ title: this.$locale.baseText('nodeView.showMessage.stopWaitingForWebhook.title'), - message: this.$locale.baseText('nodeView.showMessage.stopWaitingForWebhook.message'), type: 'success', }); }, @@ -1175,7 +1165,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('nodeView.showError.getWorkflowDataFromUrl.title'), - this.$locale.baseText('nodeView.showError.getWorkflowDataFromUrl.message') + ':', ); return; } @@ -1217,7 +1206,6 @@ export default mixins( this.$showError( error, this.$locale.baseText('nodeView.showError.importWorkflowData.title'), - this.$locale.baseText('nodeView.showError.importWorkflowData.message') + ':', ); } },