mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-22 09:13:37 +01:00
Updated check-lang script.
This commit is contained in:
parent
0d42b1f778
commit
37bc082efc
@ -1,3 +1,4 @@
|
|||||||
.metrics {
|
.metrics {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ files.forEach(file => {
|
|||||||
const lang = require(`../lang/${file}`);
|
const lang = require(`../lang/${file}`);
|
||||||
const id = file.replace('.json', '');
|
const id = file.replace('.json', '');
|
||||||
|
|
||||||
console.log(chalk.yellowBright(`\n## ${file}`));
|
console.log(chalk.yellowBright(`\n## ${file.replace('.json', '')}`));
|
||||||
let count = 0;
|
let count = 0;
|
||||||
keys.forEach(key => {
|
keys.forEach(key => {
|
||||||
const orig = messages[key];
|
const orig = messages[key];
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
"metrics.device.tablet",
|
"metrics.device.tablet",
|
||||||
"metrics.referrers"
|
"metrics.referrers"
|
||||||
],
|
],
|
||||||
"fr-FR": ["metrics.actions", "metrics.pages"]
|
"fr-FR": ["metrics.actions", "metrics.pages"],
|
||||||
|
"tr-TR": ["metrics.device.tablet"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user