feat(editor): Update copy: Execute --> Test (#8137)

## Summary

Title self explanatory


## Related tickets and issues
https://linear.app/n8n/issue/ADO-129/update-copy-execute-test

## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
This commit is contained in:
Ricardo Espinoza
2024-01-05 10:23:51 -05:00
committed by GitHub
parent 2d6e406e21
commit df5d07bcb8
28 changed files with 64 additions and 72 deletions

View File

@@ -112,7 +112,7 @@
text
icon="play"
:disabled="workflowRunning || isConfigNode"
:title="$locale.baseText('node.executeNode')"
:title="$locale.baseText('node.testStep')"
@click="executeNode"
/>
<n8n-icon-button

View File

@@ -12,9 +12,10 @@
:label="buttonLabel"
:type="type"
:size="size"
:icon="isFormTriggerNode && 'flask'"
:icon="!isListeningForEvents && 'flask'"
:transparent-background="transparent"
@click="onClick"
:title="!isTriggerNode ? $locale.baseText('ndv.execute.testNode.description') : ''"
/>
</div>
</n8n-tooltip>
@@ -197,16 +198,7 @@ export default defineComponent({
return this.$locale.baseText('ndv.execute.fetchEvent');
}
if (
this.isTriggerNode &&
!this.isScheduleTrigger &&
!this.isManualTriggerNode &&
!this.isFormTriggerNode
) {
return this.$locale.baseText('ndv.execute.listenForEvent');
}
return this.$locale.baseText('ndv.execute.executeNode');
return this.$locale.baseText('ndv.execute.testNode');
},
},
methods: {

View File

@@ -14,7 +14,7 @@ exports[`useContextMenu > Read-only mode > should return the correct actions whe
{
"disabled": true,
"id": "execute",
"label": "Execute node",
"label": "Test node",
},
{
"disabled": true,
@@ -181,7 +181,7 @@ exports[`useContextMenu > should return the correct actions opening the menu fro
{
"disabled": false,
"id": "execute",
"label": "Execute node",
"label": "Test node",
},
{
"disabled": false,
@@ -279,7 +279,7 @@ exports[`useContextMenu > should return the correct actions when right clicking
{
"disabled": false,
"id": "execute",
"label": "Execute node",
"label": "Test node",
},
{
"disabled": false,

View File

@@ -219,7 +219,7 @@ export const useContextMenu = (onAction: ContextMenuActionCallback = () => {}) =
},
{
id: 'execute',
label: i18n.baseText('contextMenu.execute'),
label: i18n.baseText('contextMenu.test'),
disabled: isReadOnly.value,
},
{

View File

@@ -753,11 +753,11 @@
"multipleParameter.moveUp": "Move up",
"ndv.backToCanvas": "Back to canvas",
"ndv.backToCanvas.waitingForTriggerWarning": "Waiting for a Trigger node to execute. Close this view to see the Workflow Canvas.",
"ndv.execute.executeNode": "Execute node",
"ndv.execute.testNode": "Test step",
"ndv.execute.testNode.description": "Runs the current node. Will also run previous nodes if they have not been run yet",
"ndv.execute.executing": "Executing",
"ndv.execute.fetchEvent": "Fetch Test Event",
"ndv.execute.fixPrevious": "Fix previous node first",
"ndv.execute.listenForEvent": "Listen For Event",
"ndv.execute.listenForTestEvent": "Listen For Test Event",
"ndv.execute.testStep": "Test Step",
"ndv.execute.stopListening": "Stop Listening",
@@ -803,10 +803,10 @@
"ndv.output.of": " of ",
"ndv.output.pageSize": "Page Size",
"ndv.output.run": "Run",
"ndv.output.runNodeHint": "Execute this node to output data",
"ndv.output.runNodeHint": "Test this node to output data",
"ndv.output.runNodeHintSubNode": "Output will appear here once the parent node is run",
"ndv.output.insertTestData": "insert test data",
"ndv.output.staleDataWarning.regular": "Node parameters have changed.<br>Execute node again to refresh output.",
"ndv.output.staleDataWarning.regular": "Node parameters have changed.<br>Test node again to refresh output.",
"ndv.output.staleDataWarning.pinData": "Node parameter changes will not affect pinned output data.",
"ndv.output.tooMuchData.message": "The node contains {size} MB of data. Displaying it may cause problems. <br /> If you do decide to display it, avoid the JSON view.",
"ndv.output.tooMuchData.showDataAnyway": "Show data anyway",
@@ -821,9 +821,9 @@
"ndv.pinData.pin.multipleRuns.title": "Run #{index} was pinned",
"ndv.pinData.pin.multipleRuns.description": "This run will be outputted each time the node is run.",
"ndv.pinData.unpinAndExecute.title": "Unpin output data?",
"ndv.pinData.unpinAndExecute.description": "Executing a node overwrites pinned data.",
"ndv.pinData.unpinAndExecute.description": "Testing a node overwrites pinned data.",
"ndv.pinData.unpinAndExecute.cancel": "Cancel",
"ndv.pinData.unpinAndExecute.confirm": "Unpin and execute",
"ndv.pinData.unpinAndExecute.confirm": "Unpin and test",
"ndv.pinData.beforeClosing.title": "Save output changes before closing?",
"ndv.pinData.beforeClosing.cancel": "Discard",
"ndv.pinData.beforeClosing.confirm": "Save",
@@ -838,7 +838,7 @@
"node.activateDeactivateNode": "Activate/Deactivate Node",
"node.changeColor": "Change color",
"node.disabled": "Disabled",
"node.executeNode": "Execute node",
"node.testStep": "Test Step",
"node.deleteNode": "Delete node",
"node.issues": "Issues",
"node.nodeIsExecuting": "Node is executing",
@@ -1053,7 +1053,7 @@
"nodeView.redirecting": "Redirecting",
"nodeView.refresh": "Refresh",
"nodeView.resetZoom": "Reset Zoom",
"nodeView.runButtonText.executeWorkflow": "Execute Workflow",
"nodeView.runButtonText.executeWorkflow": "Test Workflow",
"nodeView.runButtonText.executingWorkflow": "Executing Workflow",
"nodeView.runButtonText.waitingForTriggerEvent": "Waiting for Trigger Event",
"nodeView.showError.workflowError": "Workflow execution finished with an error",
@@ -1101,7 +1101,7 @@
"contextMenu.deselectAll": "Clear selection",
"contextMenu.duplicate": "Duplicate {subject} | Duplicate {count} {subject}",
"contextMenu.open": "Open node...",
"contextMenu.execute": "Execute node",
"contextMenu.test": "Test node",
"contextMenu.rename": "Rename node",
"contextMenu.copy": "Copy {subject} | Copy {count} {subject}",
"contextMenu.deactivate": "Deactivate {subject} | Deactivate {count} {subject}",
@@ -1340,7 +1340,7 @@
"runData.executionStatus.success": "Executed successfully",
"runData.executionStatus.failed": "Execution failed",
"runData.downloadBinaryData": "Download",
"runData.executeNode": "Execute Node",
"runData.executeNode": "Test Node",
"runData.executionTime": "Execution Time",
"runData.fileExtension": "File Extension",
"runData.fileName": "File Name",

View File

@@ -126,7 +126,7 @@
:loading="workflowRunning"
:label="runButtonText"
size="large"
icon="play-circle"
icon="flask"
type="primary"
:disabled="isExecutionDisabled"
data-test-id="execute-workflow-button"