Move node locales and tidy up package.json files

This commit is contained in:
Nick O'Leary
2018-08-20 20:31:29 +01:00
parent 7e7117632d
commit 546f07156f
47 changed files with 60 additions and 30 deletions

View File

@@ -247,7 +247,7 @@ function getNodeFiles(disableNodePathScan) {
results = getLocalNodeFiles(path.resolve(settings.coreNodesDir));
nodeFiles = nodeFiles.concat(results.files);
iconList = iconList.concat(results.icons);
var defaultLocalesPath = path.join(settings.coreNodesDir,"core","locales");
var defaultLocalesPath = path.join(settings.coreNodesDir,"locales");
i18n.registerMessageCatalog("node-red",defaultLocalesPath,"messages.json");
}