fix(editor): Correct sub-workflow extraction grammar (no-changelog) (#16002)

This commit is contained in:
Charlie Kolb
2025-06-04 10:41:03 +02:00
committed by GitHub
parent 7cd7883b34
commit 5c7f682b73
3 changed files with 16 additions and 16 deletions

View File

@@ -1525,7 +1525,7 @@
"contextMenu.deselectAll": "Clear selection",
"contextMenu.tidyUpWorkflow": "Tidy up workflow",
"contextMenu.tidyUpSelection": "Tidy up selection",
"contextMenu.extract": "Extract node into sub-workflow | Extract {count} nodes into sub-workflow",
"contextMenu.extract": "Convert node to sub-workflow | Convert {count} nodes to sub-workflow",
"contextMenu.duplicate": "Duplicate | Duplicate {count} {subject}",
"contextMenu.open": "Open...",
"contextMenu.test": "Execute step",
@@ -2380,7 +2380,7 @@
"workflowDetails.active": "Active",
"workflowDetails.addTag": "Add tag",
"workflowDetails.chooseOrCreateATag": "Choose or create a tag",
"workflowExtraction.error.failure": "Sub-workflow extraction failed",
"workflowExtraction.error.failure": "Sub-workflow conversion failed",
"workflowExtraction.error.selectionGraph.inputEdgeToNonRoot": "Non-input node '{node}' has a connection from a node outside the current selection.",
"workflowExtraction.error.selectionGraph.outputEdgeFromNonLeaf": "Non-output node '{node}' has a connection to a node outside the current selection.",
"workflowExtraction.error.selectionGraph.multipleInputNodes": "Multiple nodes [{nodes}] have inputs from outside the selection.",
@@ -2389,12 +2389,12 @@
"workflowExtraction.error.selectionGraph.listHeader": "Selection is invalid because of these errors:<br><br>{body}<br><br><a href=\"https://docs.n8n.io/workflows/subworkflow-extraction/\" target=\"_blank\">See docs for more info.</a>",
"workflowExtraction.error.inputNodeHasMultipleInputBranches": "First node '{node}' has multiple input branches, which sub-workflows do not support.",
"workflowExtraction.error.outputNodeHasMultipleOutputBranches": "Last node '{node}' has multiple output branches, which sub-workflows do not support.",
"workflowExtraction.error.triggerSelected": "Triggers cannot be extracted into a sub-workflow. Please unselect {nodes}.",
"workflowExtraction.error.triggerSelected": "Triggers cannot be converted to a sub-workflow. Please unselect {nodes}.",
"workflowExtraction.error.subworkflowCreationFailed": "Sub-workflow creation failed, aborting conversion.",
"workflowExtraction.success.title": "Created sub-workflow",
"workflowExtraction.success.message": "<a href=\"{url}\" target=\"_blank\">Open in new Tab</a>",
"workflowExtraction.modal.title": "Move to sub-workflow",
"workflowExtraction.modal.description": "Extract {nodeCount} node into a new sub-workflow | Extract {nodeCount} nodes into a new sub-workflow",
"workflowExtraction.modal.title": "Convert to sub-workflow",
"workflowExtraction.modal.description": "Convert {nodeCount} node to a new sub-workflow | Convert {nodeCount} nodes to a new sub-workflow",
"workflowHelpers.showMessage.title": "Problem saving workflow",
"workflowOpen.active": "Active",
"workflowOpen.couldNotLoadActiveWorkflows": "Could not load active workflows",

View File

@@ -56,7 +56,7 @@ onMounted(() => {
max-width="540px"
:title="
i18n.baseText('workflowExtraction.modal.description', {
interpolate: { nodeCount: props.data.subGraph.length },
adjustToNumber: props.data.subGraph.length,
})
"
:event-bus="modalBus"

View File

@@ -83,7 +83,7 @@ exports[`useContextMenu > Read-only mode > should return the correct actions whe
"disabled": true,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -176,7 +176,7 @@ exports[`useContextMenu > Read-only mode > should return the correct actions whe
"disabled": true,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -298,7 +298,7 @@ exports[`useContextMenu > should return the correct actions opening the menu fro
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -420,7 +420,7 @@ exports[`useContextMenu > should return the correct actions when right clicking
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -513,7 +513,7 @@ exports[`useContextMenu > should return the correct actions when right clicking
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -647,7 +647,7 @@ exports[`useContextMenu > should show "Go to Sub-workflow" action (disabled) whe
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -781,7 +781,7 @@ exports[`useContextMenu > should show "Go to Sub-workflow" action (disabled) whe
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -915,7 +915,7 @@ exports[`useContextMenu > should show "Go to Sub-workflow" action (enabled) when
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -1049,7 +1049,7 @@ exports[`useContextMenu > should show "Go to Sub-workflow" action (enabled) when
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract node into sub-workflow",
"label": "Convert node to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [
@@ -1147,7 +1147,7 @@ exports[`useContextMenu > should support opening and closing (default = right cl
"disabled": false,
"divided": true,
"id": "extract_sub_workflow",
"label": "Extract 2 nodes into sub-workflow",
"label": "Convert 2 nodes to sub-workflow",
"shortcut": {
"altKey": true,
"keys": [