Fix check-lang script. Ignore all en-GB.
This commit is contained in:
@@ -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!**');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user