From 24afcff0ea7982c4af8ef9820de64b6af38d9b81 Mon Sep 17 00:00:00 2001 From: Allen Boone Date: Fri, 26 Jun 2015 16:02:38 -0400 Subject: [PATCH] Custom nodes category NLS --- editor/js/ui/palette.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/js/ui/palette.js b/editor/js/ui/palette.js index 64cd914b8..c4bb6fbca 100644 --- a/editor/js/ui/palette.js +++ b/editor/js/ui/palette.js @@ -147,7 +147,8 @@ RED.palette = (function() { } if ($("#palette-base-category-"+rootCategory).length === 0) { - createCategoryContainer(rootCategory); + var ns = def.set.id; + createCategoryContainer(rootCategory, RED._(ns+":"+"palette.label."+rootCategory, {defaultValue:rootCategory})); } $("#palette-container-"+rootCategory).show();