Skip to content

Commit

Permalink
[l10n] Improve German (de-DE) locale (#11103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jho-vema authored Nov 20, 2023
1 parent 1f21806 commit 319e8e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 @@ -83,7 +83,7 @@
"languageTag": "de-DE",
"importName": "deDE",
"localeName": "German",
"missingKeysCount": 2,
"missingKeysCount": 0,
"totalKeysCount": 37,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/deDE.ts"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/x-date-pickers/src/locales/deDE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const deDEPickers: Partial<PickersLocaleText<any>> = {
value !== null && utils.isValid(value)
? `Uhrzeit auswählen, gewählte Uhrzeit ist ${utils.format(value, 'fullTime')}`
: 'Uhrzeit auswählen',
// fieldClearLabel: 'Clear value',
fieldClearLabel: 'Wert leeren',

// Table labels
timeTableLabel: 'Uhrzeit auswählen',
Expand All @@ -78,7 +78,7 @@ const deDEPickers: Partial<PickersLocaleText<any>> = {
fieldYearPlaceholder: (params) => 'J'.repeat(params.digitAmount),
fieldMonthPlaceholder: (params) => (params.contentType === 'letter' ? 'MMMM' : 'MM'),
fieldDayPlaceholder: () => 'TT',
// 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 319e8e9

Please sign in to comment.