fix some path issues for translation review scripts
parent
ae7e5e0636
commit
4f196270ce
|
@ -1,4 +1,4 @@
|
|||
var EN = require("../www/common/translations/messages.json");
|
||||
var EN = require("../../www/common/translations/messages.json");
|
||||
|
||||
var simpleTags = [
|
||||
'<br>',
|
||||
|
@ -118,7 +118,7 @@ processLang(EN, 'en', true);
|
|||
'zh',
|
||||
].forEach(function (lang) {
|
||||
try {
|
||||
var map = require("../www/common/translations/messages." + lang + ".json");
|
||||
var map = require("../../www/common/translations/messages." + lang + ".json");
|
||||
if (!Object.keys(map).length) { return; }
|
||||
processLang(map, lang);
|
||||
} catch (err) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var Messages = require("../www/common/translations/messages.json");
|
||||
var Messages = require("../../www/common/translations/messages.json");
|
||||
var Exec = require("child_process").exec;
|
||||
|
||||
var ignoreLines = function (source, pattern) {
|
||||
|
|
Loading…
Reference in New Issue