mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fix check-lang script. Ignore all en-GB.
This commit is contained in:
parent
a4311d4773
commit
7f3b1087a1
2 changed files with 5 additions and 4 deletions
|
|
@ -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!**');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue