mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +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!**');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,14 +1,12 @@
|
|||
{
|
||||
"de-DE": [
|
||||
"label.administrator",
|
||||
"label.domain",
|
||||
"label.name",
|
||||
"metrics.device.desktop",
|
||||
"metrics.device.laptop",
|
||||
"metrics.device.tablet",
|
||||
"metrics.referrers"
|
||||
],
|
||||
"fr-FR": [
|
||||
"metrics.actions",
|
||||
"metrics.pages"
|
||||
]
|
||||
"fr-FR": ["metrics.actions", "metrics.pages"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue