Skip to content

Commit

Permalink
Add deDE translations for DatePicker
Browse files Browse the repository at this point in the history
Following up on mui#3211, I'd like to provide the German translations for the Date Picker component.
  • Loading branch information
felixh10r authored May 22, 2022
1 parent e5b548f commit f01b93d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/x-date-pickers/src/locales/deDE.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { PickersLocaleText } from './utils/pickersLocaleTextApi';
import { getPickersLocalization } from './utils/getPickersLocalization';

const deDEPickers: Partial<PickersLocaleText> = {
previousMonth: 'Letzter Monat',
nextMonth: 'Nächster Monat',
openPreviousView: 'Letzte Ansicht öffnen',
openNextView: 'Nächste Ansicht öffnen',
cancelButtonLabel: 'Abbrechen',
clearButtonLabel: 'Löschen',
okButtonLabel: 'OK',
todayButtonLabel: 'Heute',
start: 'Beginn',
end: 'Ende',
};

export const deDE = getPickersLocalization(deDEPickers);

0 comments on commit f01b93d

Please sign in to comment.