Fix check-lang script. Ignore all en-GB.

This commit is contained in:
Mike Cao committed 2022-03-02 22:23:03 -08:00
1 parent a4311d4773
commit 7f3b1087a1
2 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ files.forEach(file => {
keys.forEach(key => {
const orig = messages[key];
const check = lang[key];
const ignored = ignore[id]?.includes(key);
const ignored = ignore[id] === '*' || ignore[id]?.includes(key);
if (!ignored && (!check || check === orig)) {
console.log(chalk.redBright('*'), chalk.greenBright(`${key}:`), orig);
@@ -32,7 +32,7 @@ files.forEach(file => {
});
if (count === 0) {
console.log('**👍 Complete!**');
console.log('**Complete!**');
}
}
});