mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Look for core-node language files in the right location
This commit is contained in:
parent
fd74a03479
commit
ef114e31c2
@ -414,7 +414,7 @@ function loadNodeHelp(node,lang) {
|
|||||||
var cat_dir = path.dirname(node.template);
|
var cat_dir = path.dirname(node.template);
|
||||||
var cat = path.basename(cat_dir);
|
var cat = path.basename(cat_dir);
|
||||||
var dir = path.dirname(cat_dir);
|
var dir = path.dirname(cat_dir);
|
||||||
localePath = path.join(dir, "locales", lang, cat, base)
|
localePath = path.join(dir, "..", "locales", lang, cat, base)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var dir = path.dirname(node.template);
|
var dir = path.dirname(node.template);
|
||||||
|
Loading…
Reference in New Issue
Block a user