From ae9bb9b02e4f4d79d2a8523335ff127ac324af10 Mon Sep 17 00:00:00 2001 From: Mutasem Date: Wed, 6 Apr 2022 16:32:36 +0200 Subject: [PATCH] update keys --- .../editor-ui/src/components/DataDisplay.vue | 4 +- .../src/components/NodeExecuteButton.vue | 6 +- .../editor-ui/src/components/NodeTitle.vue | 6 +- packages/editor-ui/src/components/RunData.vue | 44 +++++++------- .../src/plugins/i18n/locales/en.json | 58 +++++++++---------- 5 files changed, 59 insertions(+), 59 deletions(-) diff --git a/packages/editor-ui/src/components/DataDisplay.vue b/packages/editor-ui/src/components/DataDisplay.vue index 54fbc5a0ca..a5a5ccf394 100644 --- a/packages/editor-ui/src/components/DataDisplay.vue +++ b/packages/editor-ui/src/components/DataDisplay.vue @@ -8,10 +8,10 @@ append-to-body > -
{{ $locale.baseText('node.backToCanvas.waitingForTriggerWarning') }}
+
{{ $locale.baseText('ndv.backToCanvas.waitingForTriggerWarning') }}
- {{ $locale.baseText('node.backToCanvas') }} + {{ $locale.baseText('ndv.backToCanvas') }}
diff --git a/packages/editor-ui/src/components/NodeExecuteButton.vue b/packages/editor-ui/src/components/NodeExecuteButton.vue index f828661841..d8a693e10c 100644 --- a/packages/editor-ui/src/components/NodeExecuteButton.vue +++ b/packages/editor-ui/src/components/NodeExecuteButton.vue @@ -41,14 +41,14 @@ export default mixins( }, label(): string { if (this.isPollingTypeNode) { - return this.$locale.baseText('node.execute.fetchEvent'); + return this.$locale.baseText('ndv.execute.fetchEvent'); } if (this.isTriggerNode) { - return this.$locale.baseText('node.execute.listenForEvent'); + return this.$locale.baseText('ndv.execute.listenForEvent'); } - return this.$locale.baseText('node.execute.executeNode'); + return this.$locale.baseText('ndv.execute.executeNode'); }, }, methods: { diff --git a/packages/editor-ui/src/components/NodeTitle.vue b/packages/editor-ui/src/components/NodeTitle.vue index a6b7fd89f1..6ea81bd629 100644 --- a/packages/editor-ui/src/components/NodeTitle.vue +++ b/packages/editor-ui/src/components/NodeTitle.vue @@ -9,11 +9,11 @@ @keydown.esc="editName = false" > {{ $locale.baseText('node.title.renameNode') }} + >{{ $locale.baseText('ndv.title.renameNode') }}
- - + +
diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index 45546b0821..e2a6150b7e 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -4,7 +4,7 @@
- {{ $locale.baseText('node.output') }} + {{ $locale.baseText('ndv.output') }}
{{ $locale.baseText('runData.startTime') + ':' }} {{runMetadata.startTime}}
@@ -14,7 +14,7 @@
@@ -29,7 +29,7 @@
- +
@@ -37,7 +37,7 @@
- {{ dataCount }} {{ $locale.baseText(dataCount === 1 ? 'node.output.item' : 'node.output.items') }} + {{ dataCount }} {{ $locale.baseText(dataCount === 1 ? 'ndv.output.item' : 'ndv.output.items') }}
@@ -64,11 +64,11 @@
- {{ $locale.baseText('node.output.executing') }} + {{ $locale.baseText('ndv.output.executing') }}
- {{ $locale.baseText('node.output.pollEventNodeHint') }} - {{ $locale.baseText('node.output.triggerEventNodeHint') }} - {{ $locale.baseText('node.output.runNodeHint') }} + {{ $locale.baseText('ndv.output.pollEventNodeHint') }} + {{ $locale.baseText('ndv.output.triggerEventNodeHint') }} + {{ $locale.baseText('ndv.output.runNodeHint') }}
@@ -76,21 +76,21 @@
- {{ $locale.baseText('node.output.noOutputData.title') }} + {{ $locale.baseText('ndv.output.noOutputData.title') }} - {{ $locale.baseText('node.output.noOutputData.message') }} - {{ $locale.baseText('node.output.noOutputData.message.settings') }} - {{ $locale.baseText('node.output.noOutputData.message.settingsOption') }} + {{ $locale.baseText('ndv.output.noOutputData.message') }} + {{ $locale.baseText('ndv.output.noOutputData.message.settings') }} + {{ $locale.baseText('ndv.output.noOutputData.message.settingsOption') }}
- {{ $locale.baseText('node.output.tooMuchData.title') }} - + {{ $locale.baseText('ndv.output.tooMuchData.title') }} +
@@ -102,7 +102,7 @@ - {{ $locale.baseText('node.output.emptyOutput') }} + {{ $locale.baseText('ndv.output.emptyOutput') }} @@ -193,7 +193,7 @@
- + 0 ? ` (${itemsCount} ${items})` : ''; - return option + this.$locale.baseText('node.output.of') + (this.maxRunIndex+1) + itemsLabel; + return option + this.$locale.baseText('ndv.output.of') + (this.maxRunIndex+1) + itemsLabel; }, getDataCount(runIndex: number, outputIndex: number) { if (this.node === null) { diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index 99233a4aa8..fceaf84567 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -1136,35 +1136,35 @@ "forgotPassword.returnToSignIn": "Back to sign in", "forgotPassword.sendingEmailError": "Problem sending email", "forgotPassword.smtpErrorContactAdministrator": "Please contact your administrator (problem with your SMTP setup)", - "node.title.rename": "Rename", - "node.title.cancel": "Cancel", - "node.title.renameNode": "Rename node", - "node.execute.executeNode": "Execute node", - "node.execute.executing": "Executing", - "node.execute.fetchEvent": "Fetch Event", - "node.execute.listenForEvent": "Listen For Event", - "node.output.pollEventNodeHint": "Fetch an event to output data", - "node.output.triggerEventNodeHint": "Listen for an event to output data", - "node.output": "Output", - "node.output.runNodeHint": "Execute this node to output data", - "node.output.executing": "Executing node...", - "node.output.noOutputData.title": "No output data returned", - "node.output.noOutputData.message": "n8n stops executing the workflow when a node has no output data. You can change this default behaviour via", - "node.output.noOutputData.message.settings": "Settings", - "node.output.noOutputData.message.settingsOption": "> “Always Output Data”.", - "node.output.tooMuchData.title": "Output data is huge!", - "node.output.tooMuchData.message": "The node contains {size} MB of data. Displaying it may cause problems.
If you do decide to display it, avoid the JSON view.", - "node.output.tooMuchData.showDataAnyway": "Show data anyway", - "node.output.items": "items", - "node.output.item": "item", - "node.output.run": "Run", - "node.output.of": " of ", - "node.output.branch": "Branch", - "node.output.emptyOutput": "This output item is empty.", - "node.output.emptyInput": "This input item is empty. {name} will still execute when it recieves an empty item.", - "node.output.staleDataWarning": "Node parameters have changed.
Execute node again to refresh output.", - "node.backToCanvas": "Back to canvas", - "node.backToCanvas.waitingForTriggerWarning": "Waiting for a Trigger node to execute. Close this view to see the Workflow Canvas.", + "ndv.title.rename": "Rename", + "ndv.title.cancel": "Cancel", + "ndv.title.renameNode": "Rename node", + "ndv.execute.executeNode": "Execute node", + "ndv.execute.executing": "Executing", + "ndv.execute.fetchEvent": "Fetch Event", + "ndv.execute.listenForEvent": "Listen For Event", + "ndv.output.pollEventNodeHint": "Fetch an event to output data", + "ndv.output.triggerEventNodeHint": "Listen for an event to output data", + "ndv.output": "Output", + "ndv.output.runNodeHint": "Execute this node to output data", + "ndv.output.executing": "Executing node...", + "ndv.output.noOutputData.title": "No output data returned", + "ndv.output.noOutputData.message": "n8n stops executing the workflow when a node has no output data. You can change this default behaviour via", + "ndv.output.noOutputData.message.settings": "Settings", + "ndv.output.noOutputData.message.settingsOption": "> “Always Output Data”.", + "ndv.output.tooMuchData.title": "Output data is huge!", + "ndv.output.tooMuchData.message": "The node contains {size} MB of data. Displaying it may cause problems.
If you do decide to display it, avoid the JSON view.", + "ndv.output.tooMuchData.showDataAnyway": "Show data anyway", + "ndv.output.items": "items", + "ndv.output.item": "item", + "ndv.output.run": "Run", + "ndv.output.of": " of ", + "ndv.output.branch": "Branch", + "ndv.output.emptyOutput": "This output item is empty.", + "ndv.output.emptyInput": "This input item is empty. {name} will still execute when it recieves an empty item.", + "ndv.output.staleDataWarning": "Node parameters have changed.
Execute node again to refresh output.", + "ndv.backToCanvas": "Back to canvas", + "ndv.backToCanvas.waitingForTriggerWarning": "Waiting for a Trigger node to execute. Close this view to see the Workflow Canvas.", "openWorkflow.workflowImportError": "Could not import workflow", "openWorkflow.workflowNotFoundError": "Could not find workflow", "settings": "Settings",