diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json index 644fbbc6f..4d3ac6fcc 100755 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json @@ -266,8 +266,9 @@ "newVersionError": "New Version doesn't contain valid JSON:" }, "subflow": { - "editSubflow": "Edit flow template: __name__", - "edit": "Edit flow template", + "editSubflowInstance": "Edit subflow instance: __name__", + "editSubflow": "Edit subflow template: __name__", + "edit": "Edit subflow template", "subflowInstances": "There is __count__ instance of this subflow template", "subflowInstances_plural": "There are __count__ instances of this subflow template", "editSubflowProperties": "edit properties", diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 8f128c601..c0c460d48 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -517,7 +517,7 @@ RED.editor = (function() { label = RED._("subflow.editSubflow",{name:node.name}) } else if (node.type.indexOf("subflow:")===0) { var subflow = RED.nodes.subflow(node.type.substring(8)); - label = RED._("subflow.editSubflow",{name:subflow.name}) + label = RED._("subflow.editSubflowInstance",{name:subflow.name}) } else { if (typeof node._def.paletteLabel !== "undefined") { try {