From 2e94808e6e88920fe90d7987bfcd8088d64870eb Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Tue, 8 Sep 2020 10:34:00 -0700 Subject: [PATCH 1/2] String updates. --- components/metrics/MetricCard.module.css | 1 + lang/nl-NL.json | 5 ++++- lang/zh-CN.json | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/metrics/MetricCard.module.css b/components/metrics/MetricCard.module.css index 7f03049a..b75ad4ba 100644 --- a/components/metrics/MetricCard.module.css +++ b/components/metrics/MetricCard.module.css @@ -15,4 +15,5 @@ .label { font-size: var(--font-size-normal); + padding-right: 20px; } diff --git a/lang/nl-NL.json b/lang/nl-NL.json index e1b0e948..8353e938 100644 --- a/lang/nl-NL.json +++ b/lang/nl-NL.json @@ -125,6 +125,9 @@ "message.incorrect-username-password": { "defaultMessage": "Incorrecte gebruikersnaam/wachtwoord." }, + "message.no-data-available": { + "defaultMessage": "Geen gegevens beschikbaar." + }, "message.save-success": { "defaultMessage": "Opslaan succesvol." }, @@ -168,7 +171,7 @@ "defaultMessage": "Ruw" }, "metrics.operating-system": { - "defaultMessage": "Besturingssystem" + "defaultMessage": "Besturingssysteem" }, "metrics.page-views": { "defaultMessage": "Paginaweergaven" diff --git a/lang/zh-CN.json b/lang/zh-CN.json index c5c4a271..72427a77 100644 --- a/lang/zh-CN.json +++ b/lang/zh-CN.json @@ -125,6 +125,9 @@ "message.incorrect-username-password": { "defaultMessage": "用户名密码不正确." }, + "message.no-data-available": { + "defaultMessage": "无可用数据." + }, "message.save-success": { "defaultMessage": "成功保存." }, From 7e26c9571eed28466d156ca09a995caea0384c60 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Tue, 8 Sep 2020 12:13:30 -0700 Subject: [PATCH 2/2] Fixed incorrect messages. --- components/WebsiteDetails.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/WebsiteDetails.js b/components/WebsiteDetails.js index af2a61a9..91217d78 100644 --- a/components/WebsiteDetails.js +++ b/components/WebsiteDetails.js @@ -49,12 +49,12 @@ export default function WebsiteDetails({ websiteId }) { component: PagesTable, }, { - label: , + label: , value: 'referrer', component: ReferrersTable, }, { - label: , + label: , value: 'browser', component: BrowsersTable, },