Updated log display.

This commit is contained in:
Mike Cao committed 2020-10-14 14:16:00 -07:00
1 parent d78f8eda37
commit 894736d474
5 files changed
+18 -8

No files matched your search

+6
View File
@@ -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!**');
}
}
});
+2 -4
View File
@@ -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"]
}