From 37bc082efcc0194abf51b683d7b6003699641c76 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Wed, 14 Oct 2020 17:22:46 -0700 Subject: [PATCH] Updated check-lang script. --- components/metrics/RealtimeHeader.module.css | 1 + scripts/check-lang.js | 2 +- scripts/lang-ignore.json | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/metrics/RealtimeHeader.module.css b/components/metrics/RealtimeHeader.module.css index 8f948eb1..28aabc3e 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 5df5f875..67b4b8a4 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 28d1b025..29430a94 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"] }