1
0
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:
Nick O'Leary 2018-09-28 16:48:25 +01:00
parent fd74a03479
commit ef114e31c2
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -414,7 +414,7 @@ function loadNodeHelp(node,lang) {
var cat_dir = path.dirname(node.template);
var cat = path.basename(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 {
var dir = path.dirname(node.template);