Updated check-lang script.

This commit is contained in:
Mike Cao 2020-10-14 17:22:46 -07:00
parent 0d42b1f778
commit 37bc082efc
3 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
.metrics {
display: flex;
margin-bottom: 10px;
}

View File

@ -13,7 +13,7 @@ files.forEach(file => {
const lang = require(`../lang/${file}`);
const id = file.replace('.json', '');
console.log(chalk.yellowBright(`\n## ${file}`));
console.log(chalk.yellowBright(`\n## ${file.replace('.json', '')}`));
let count = 0;
keys.forEach(key => {
const orig = messages[key];

View File

@ -8,5 +8,6 @@
"metrics.device.tablet",
"metrics.referrers"
],
"fr-FR": ["metrics.actions", "metrics.pages"]
"fr-FR": ["metrics.actions", "metrics.pages"],
"tr-TR": ["metrics.device.tablet"]
}