From 0dc16758d1f2ab64c50ff6696caa8d7b451124d5 Mon Sep 17 00:00:00 2001 From: uma-neko <36249844+uma-neko@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:51:16 +0900 Subject: [PATCH] [l10n] Improve Japanese (ja-JP) locale (#1) [l10n] Improve Japanese (ja-JP) locale for x-data-grid --- docs/data/data-grid/localization/data.json | 2 +- packages/x-data-grid/src/locales/jaJP.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index f286b966870b..15945bbcef96 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -147,7 +147,7 @@ "languageTag": "ja-JP", "importName": "jaJP", "localeName": "Japanese", - "missingKeysCount": 4, + "missingKeysCount": 0, "totalKeysCount": 122, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/jaJP.ts" }, diff --git a/packages/x-data-grid/src/locales/jaJP.ts b/packages/x-data-grid/src/locales/jaJP.ts index 0d80664e4021..00f626c51187 100644 --- a/packages/x-data-grid/src/locales/jaJP.ts +++ b/packages/x-data-grid/src/locales/jaJP.ts @@ -57,9 +57,9 @@ const jaJPGrid: Partial = { // Filter operators text filterOperatorContains: '...を含む', - // filterOperatorDoesNotContain: 'does not contain', + filterOperatorDoesNotContain: '...を含まない', filterOperatorEquals: '...に等しい', - // filterOperatorDoesNotEqual: 'does not equal', + filterOperatorDoesNotEqual: '...に等しくない', filterOperatorStartsWith: '...で始まる', filterOperatorEndsWith: '...で終わる', filterOperatorIs: '...である', @@ -80,9 +80,9 @@ const jaJPGrid: Partial = { // Header filter operators text headerFilterOperatorContains: '含む', - // headerFilterOperatorDoesNotContain: 'Does not contain', + headerFilterOperatorDoesNotContain: '含まない', headerFilterOperatorEquals: '等しい', - // headerFilterOperatorDoesNotEqual: 'Does not equal', + headerFilterOperatorDoesNotEqual: '等しくない', headerFilterOperatorStartsWith: 'で始まる', headerFilterOperatorEndsWith: 'で終わる', headerFilterOperatorIs: 'である',