Skip to content

Commit

Permalink
[pickers] Add deDE translations for x-date-pickers
Browse files Browse the repository at this point in the history
  • Loading branch information
felixh10r committed May 23, 2022
1 parent a0325a5 commit b0867a0
Show file tree
Hide file tree
Showing 2 changed files with 18 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);
1 change: 1 addition & 0 deletions packages/x-date-pickers/src/locales/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './deDE';
export * from './frFR';
export * from './enUS';
export * from './utils/pickersLocaleTextApi';

0 comments on commit b0867a0

Please sign in to comment.