mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Updated log display.
This commit is contained in:
parent
d78f8eda37
commit
894736d474
5 changed files with 18 additions and 8 deletions
|
|
@ -14,6 +14,7 @@ files.forEach(file => {
|
|||
const id = file.replace('.json', '');
|
||||
|
||||
console.log(chalk.yellowBright(`\n## ${file}`));
|
||||
let count = 0;
|
||||
keys.forEach(key => {
|
||||
const orig = messages[key];
|
||||
const check = lang[key];
|
||||
|
|
@ -21,7 +22,12 @@ files.forEach(file => {
|
|||
|
||||
if (!ignored && (!check || check === orig)) {
|
||||
console.log(chalk.redBright('*'), chalk.greenBright(`${key}:`), orig);
|
||||
count++;
|
||||
}
|
||||
});
|
||||
|
||||
if (count === 0) {
|
||||
console.log('**👍 Complete!**');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue