mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Change subflow edit dialog titles
This commit is contained in:
parent
7cef990ba6
commit
bdc1da70c1
@ -266,8 +266,9 @@
|
|||||||
"newVersionError": "New Version doesn't contain valid JSON:"
|
"newVersionError": "New Version doesn't contain valid JSON:"
|
||||||
},
|
},
|
||||||
"subflow": {
|
"subflow": {
|
||||||
"editSubflow": "Edit flow template: __name__",
|
"editSubflowInstance": "Edit subflow instance: __name__",
|
||||||
"edit": "Edit flow template",
|
"editSubflow": "Edit subflow template: __name__",
|
||||||
|
"edit": "Edit subflow template",
|
||||||
"subflowInstances": "There is __count__ instance of this subflow template",
|
"subflowInstances": "There is __count__ instance of this subflow template",
|
||||||
"subflowInstances_plural": "There are __count__ instances of this subflow template",
|
"subflowInstances_plural": "There are __count__ instances of this subflow template",
|
||||||
"editSubflowProperties": "edit properties",
|
"editSubflowProperties": "edit properties",
|
||||||
|
@ -517,7 +517,7 @@ RED.editor = (function() {
|
|||||||
label = RED._("subflow.editSubflow",{name:node.name})
|
label = RED._("subflow.editSubflow",{name:node.name})
|
||||||
} else if (node.type.indexOf("subflow:")===0) {
|
} else if (node.type.indexOf("subflow:")===0) {
|
||||||
var subflow = RED.nodes.subflow(node.type.substring(8));
|
var subflow = RED.nodes.subflow(node.type.substring(8));
|
||||||
label = RED._("subflow.editSubflow",{name:subflow.name})
|
label = RED._("subflow.editSubflowInstance",{name:subflow.name})
|
||||||
} else {
|
} else {
|
||||||
if (typeof node._def.paletteLabel !== "undefined") {
|
if (typeof node._def.paletteLabel !== "undefined") {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user