enable linting for newly translated languages

pull/1/head
ansuz 3 years ago
parent 18e0b098e5
commit e1f52a1e37

@ -62,6 +62,9 @@ var FULL_LANGUAGES = {
FR: Util.clone(require("../../www/common/translations/messages.fr.json")),
DE: Util.clone(require("../../www/common/translations/messages.de.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 = {};
@ -78,7 +81,7 @@ var extraneousKeys = 0;
// such keys should not be simplified/deduplicated
Object.keys(DUPLICATES.EN).forEach(function (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 {
Assert.deepEqual(reference, DUPLICATES[code][key]);
} catch (err) {

@ -102,6 +102,7 @@ processLang(EN, 'en', true);
'cs',
'de',
'es',
'eu',
'fi',
'fr',
'hi',

Loading…
Cancel
Save