From 9d17137dece2acf56f952bccb77d54e00bb19faa Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 26 May 2015 14:34:15 +0100 Subject: [PATCH] Ensure i18n message for Unknown nodes are available --- editor/js/nodes.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index afa24b6aa..04f101e9b 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -720,11 +720,13 @@ RED.nodes = (function() { defaults: {}, label: "unknown: "+n.type, labelStyle: "node_label_italic", - outputs: n.outputs||n.wires.length + outputs: n.outputs||n.wires.length, + set: registry.getNodeSet("node-red/unknown") } } else { node._def = { - category:"config" + category:"config", + set: registry.getNodeSet("node-red/unknown") }; node.users = []; }