Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Updated check-lang script.

Mike Cao37bc082efcc0
diff --git a/components/metrics/RealtimeHeader.module.css b/components/metrics/RealtimeHeader.module.css
index 8f948eb18..28aabc3eb 100644
--- a/components/metrics/RealtimeHeader.module.css
+++ b/components/metrics/RealtimeHeader.module.css
@@ -1,3 +1,4 @@
.metrics {
display: flex;
+ margin-bottom: 10px;
}
diff --git a/scripts/check-lang.js b/scripts/check-lang.js
index 5df5f8753..67b4b8a46 100644
--- a/scripts/check-lang.js
+++ b/scripts/check-lang.js
@@ -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];
diff --git a/scripts/lang-ignore.json b/scripts/lang-ignore.json
index 28d1b0251..29430a943 100644
--- a/scripts/lang-ignore.json
+++ b/scripts/lang-ignore.json
@@ -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"]
}