From 860b193c28d5b2df46861b38ae2408301cf92d13 Mon Sep 17 00:00:00 2001 From: megos Date: Tue, 4 Apr 2023 15:32:15 +0900 Subject: [PATCH] [l10n] Improve Japanese (ja-JP) locale (#8462) --- docs/data/data-grid/localization/data.json | 2 +- docs/data/date-pickers/localization/data.json | 2 +- packages/grid/x-data-grid/src/locales/jaJP.ts | 2 +- packages/x-date-pickers/src/locales/jaJP.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index 3bba0e766b873..3721134d04fc5 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -123,7 +123,7 @@ "languageTag": "ja-JP", "importName": "jaJP", "localeName": "Japanese", - "missingKeysCount": 1, + "missingKeysCount": 0, "totalKeysCount": 94, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/jaJP.ts" }, diff --git a/docs/data/date-pickers/localization/data.json b/docs/data/date-pickers/localization/data.json index 62b9192026804..1a1eb681e165b 100644 --- a/docs/data/date-pickers/localization/data.json +++ b/docs/data/date-pickers/localization/data.json @@ -99,7 +99,7 @@ "languageTag": "ja-JP", "importName": "jaJP", "localeName": "Japanese", - "missingKeysCount": 1, + "missingKeysCount": 0, "totalKeysCount": 35, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/jaJP.ts" }, diff --git a/packages/grid/x-data-grid/src/locales/jaJP.ts b/packages/grid/x-data-grid/src/locales/jaJP.ts index 24d5febf346d7..f85bdc6a23b4a 100644 --- a/packages/grid/x-data-grid/src/locales/jaJP.ts +++ b/packages/grid/x-data-grid/src/locales/jaJP.ts @@ -46,7 +46,7 @@ const jaJPGrid: Partial = { // Filter panel text filterPanelAddFilter: 'フィルター追加', - // filterPanelRemoveAll: 'Remove all', + filterPanelRemoveAll: 'すべて削除', filterPanelDeleteIconLabel: '削除', filterPanelLogicOperator: '論理演算子', filterPanelOperator: '演算子', diff --git a/packages/x-date-pickers/src/locales/jaJP.ts b/packages/x-date-pickers/src/locales/jaJP.ts index 5f3c249812b6b..1c27c1e73127e 100644 --- a/packages/x-date-pickers/src/locales/jaJP.ts +++ b/packages/x-date-pickers/src/locales/jaJP.ts @@ -72,7 +72,7 @@ const jaJPPickers: Partial> = { fieldYearPlaceholder: (params) => 'Y'.repeat(params.digitAmount), fieldMonthPlaceholder: (params) => (params.contentType === 'letter' ? 'MMMM' : 'MM'), fieldDayPlaceholder: () => 'DD', - // fieldWeekDayPlaceholder: params => params.contentType === 'letter' ? 'EEEE' : 'EE', + fieldWeekDayPlaceholder: (params) => (params.contentType === 'letter' ? 'EEEE' : 'EE'), fieldHoursPlaceholder: () => 'hh', fieldMinutesPlaceholder: () => 'mm', fieldSecondsPlaceholder: () => 'ss',