From 29049842deb33b497bda8e63094f397775f1b2ed Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 12 Sep 2020 03:22:14 -0700 Subject: [PATCH] Fix language strings. --- components/WebsiteDetails.js | 2 +- components/metrics/OSTable.js | 2 +- components/settings/AccountSettings.js | 2 +- components/settings/ProfileSettings.js | 4 +++- lang/de-DE.json | 2 +- lang/en.json | 4 ++-- lang/ja-JP.json | 2 +- lang/nl-NL.json | 2 +- lang/ru-RU.json | 2 +- lang/tr-TR.json | 2 +- lang/zh-CN.json | 2 +- lib/lang.js | 4 ++-- 12 files changed, 16 insertions(+), 14 deletions(-) diff --git a/components/WebsiteDetails.js b/components/WebsiteDetails.js index 91217d78..eed69296 100644 --- a/components/WebsiteDetails.js +++ b/components/WebsiteDetails.js @@ -59,7 +59,7 @@ export default function WebsiteDetails({ websiteId }) { component: BrowsersTable, }, { - label: , + label: , value: 'os', component: OSTable, }, diff --git a/components/metrics/OSTable.js b/components/metrics/OSTable.js index c94cf5c6..499e0f33 100644 --- a/components/metrics/OSTable.js +++ b/components/metrics/OSTable.js @@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl'; export default function OSTable({ websiteId, limit, onExpand }) { return ( } + title={} type="os" metric={} websiteId={websiteId} diff --git a/components/settings/AccountSettings.js b/components/settings/AccountSettings.js index 355348ca..63f16350 100644 --- a/components/settings/AccountSettings.js +++ b/components/settings/AccountSettings.js @@ -51,7 +51,7 @@ export default function AccountSettings() { }, { key: 'is_admin', - label: , + label: , className: 'col-6 col-md-4', render: Checkmark, }, diff --git a/components/settings/ProfileSettings.js b/components/settings/ProfileSettings.js index b58d7d32..0a0cd1c4 100644 --- a/components/settings/ProfileSettings.js +++ b/components/settings/ProfileSettings.js @@ -38,7 +38,9 @@ export default function ProfileSettings() {
{user.username}
{changePassword && ( - + } + >