Skip to content

Commit

Permalink
[l10n] Improve Japanese (ja-JP) locale (#8462)
Browse files Browse the repository at this point in the history
  • Loading branch information
megos authored and pull[bot] committed Nov 8, 2023
1 parent 7853519 commit 860b193
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data/data-grid/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/data/date-pickers/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid/src/locales/jaJP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const jaJPGrid: Partial<GridLocaleText> = {

// Filter panel text
filterPanelAddFilter: 'フィルター追加',
// filterPanelRemoveAll: 'Remove all',
filterPanelRemoveAll: 'すべて削除',
filterPanelDeleteIconLabel: '削除',
filterPanelLogicOperator: '論理演算子',
filterPanelOperator: '演算子',
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/src/locales/jaJP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const jaJPPickers: Partial<PickersLocaleText<any>> = {
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',
Expand Down

0 comments on commit 860b193

Please sign in to comment.