Custom nodes category NLS

This commit is contained in:
Allen Boone 2015-06-26 16:02:38 -04:00 committed by Nick O'Leary
parent 6777f24845
commit 24afcff0ea
1 changed files with 2 additions and 1 deletions

View File

@ -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();