1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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