mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure i18n message for Unknown nodes are available
This commit is contained in:
parent
4a318553f7
commit
9d17137dec
@ -720,11 +720,13 @@ RED.nodes = (function() {
|
|||||||
defaults: {},
|
defaults: {},
|
||||||
label: "unknown: "+n.type,
|
label: "unknown: "+n.type,
|
||||||
labelStyle: "node_label_italic",
|
labelStyle: "node_label_italic",
|
||||||
outputs: n.outputs||n.wires.length
|
outputs: n.outputs||n.wires.length,
|
||||||
|
set: registry.getNodeSet("node-red/unknown")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
node._def = {
|
node._def = {
|
||||||
category:"config"
|
category:"config",
|
||||||
|
set: registry.getNodeSet("node-red/unknown")
|
||||||
};
|
};
|
||||||
node.users = [];
|
node.users = [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user