|
|
@ -1,4 +1,4 @@
|
|
|
|
var EN = require("../www/common/translations/messages.json");
|
|
|
|
var EN = require("../../www/common/translations/messages.json");
|
|
|
|
|
|
|
|
|
|
|
|
var simpleTags = [
|
|
|
|
var simpleTags = [
|
|
|
|
'<br>',
|
|
|
|
'<br>',
|
|
|
@ -118,7 +118,7 @@ processLang(EN, 'en', true);
|
|
|
|
'zh',
|
|
|
|
'zh',
|
|
|
|
].forEach(function (lang) {
|
|
|
|
].forEach(function (lang) {
|
|
|
|
try {
|
|
|
|
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; }
|
|
|
|
if (!Object.keys(map).length) { return; }
|
|
|
|
processLang(map, lang);
|
|
|
|
processLang(map, lang);
|
|
|
|
} catch (err) {
|
|
|
|
} catch (err) {
|
|
|
|