diff --git a/packages/frontend/@n8n/i18n/src/locales/en.json b/packages/frontend/@n8n/i18n/src/locales/en.json index 417193c0cd..de54deee6b 100644 --- a/packages/frontend/@n8n/i18n/src/locales/en.json +++ b/packages/frontend/@n8n/i18n/src/locales/en.json @@ -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:

{body}

See docs for more info.", "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": "Open in new Tab", - "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", diff --git a/packages/frontend/editor-ui/src/components/WorkflowExtractionNameModal.vue b/packages/frontend/editor-ui/src/components/WorkflowExtractionNameModal.vue index 962351acd2..8e70eb6d73 100644 --- a/packages/frontend/editor-ui/src/components/WorkflowExtractionNameModal.vue +++ b/packages/frontend/editor-ui/src/components/WorkflowExtractionNameModal.vue @@ -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" diff --git a/packages/frontend/editor-ui/src/composables/__snapshots__/useContextMenu.test.ts.snap b/packages/frontend/editor-ui/src/composables/__snapshots__/useContextMenu.test.ts.snap index dbfe62cffd..21968816d5 100644 --- a/packages/frontend/editor-ui/src/composables/__snapshots__/useContextMenu.test.ts.snap +++ b/packages/frontend/editor-ui/src/composables/__snapshots__/useContextMenu.test.ts.snap @@ -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": [