|
|
@ -62,6 +62,9 @@ var FULL_LANGUAGES = {
|
|
|
|
FR: Util.clone(require("../../www/common/translations/messages.fr.json")),
|
|
|
|
FR: Util.clone(require("../../www/common/translations/messages.fr.json")),
|
|
|
|
DE: Util.clone(require("../../www/common/translations/messages.de.json")),
|
|
|
|
DE: Util.clone(require("../../www/common/translations/messages.de.json")),
|
|
|
|
JP: Util.clone(require("../../www/common/translations/messages.ja.json")),
|
|
|
|
JP: Util.clone(require("../../www/common/translations/messages.ja.json")),
|
|
|
|
|
|
|
|
RU: Util.clone(require("../../www/common/translations/messages.ru.json")),
|
|
|
|
|
|
|
|
CS: Util.clone(require("../../www/common/translations/messages.cs.json")),
|
|
|
|
|
|
|
|
PT_BR: Util.clone(require("../../www/common/translations/messages.pt-br.json")),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var DUPLICATES = {};
|
|
|
|
var DUPLICATES = {};
|
|
|
@ -78,7 +81,7 @@ var extraneousKeys = 0;
|
|
|
|
// such keys should not be simplified/deduplicated
|
|
|
|
// such keys should not be simplified/deduplicated
|
|
|
|
Object.keys(DUPLICATES.EN).forEach(function (key) {
|
|
|
|
Object.keys(DUPLICATES.EN).forEach(function (key) {
|
|
|
|
var reference = DUPLICATES.EN[key];
|
|
|
|
var reference = DUPLICATES.EN[key];
|
|
|
|
if (!['FR', 'DE', 'JP'].every(function (code) {
|
|
|
|
if (!['FR', 'DE', 'JP', 'RU', 'CS', 'PT_BR'].every(function (code) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
Assert.deepEqual(reference, DUPLICATES[code][key]);
|
|
|
|
Assert.deepEqual(reference, DUPLICATES[code][key]);
|
|
|
|
} catch (err) {
|
|
|
|
} catch (err) {
|
|
|
|