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");
}

View File

@@ -3,9 +3,17 @@
"version": "0.20.0",
"license": "Apache-2.0",
"main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"dependencies": {
"semver": "5.5.0",
"uglify-js": "3.4.7",
"when": "3.7.8"
}
}
}