Skip to content

Commit

Permalink
[l10n] Improve de-DE locale (#20684)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Apr 23, 2020
1 parent d40df33 commit 79a29f5
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions packages/material-ui/src/locale/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ export const csCZ = {

export const deDE = {
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Pfad anzeigen',
},
MuiTablePagination: {
backIconButtonText: 'Nächste Seite',
labelRowsPerPage: 'Zeilen pro Seite:',
Expand All @@ -224,7 +224,7 @@ export const deDE = {
},
MuiRating: {
getLabelText: (value) => `${value} ${value !== 1 ? 'Sterne' : 'Stern'}`,
emptyLabelText: 'Empty',
emptyLabelText: 'Keine Wertung',
},
MuiAutocomplete: {
clearText: 'Leeren',
Expand All @@ -236,27 +236,27 @@ export const deDE = {
MuiAlert: {
closeText: 'Schließen',
},
// MuiPagination: {
// 'aria-label': 'Pagination navigation',
// getItemAriaLabel: (type, page, selected) => {
// if (type === 'page') {
// return `${selected ? '' : 'Go to '}page ${page}`;
// }
// if (type === 'first') {
// return 'Go to first page';
// }
// if (type === 'last') {
// return 'Go to last page';
// }
// if (type === 'next') {
// return 'Go to next page';
// }
// if (type === 'previous') {
// return 'Go to previous page';
// }
// return undefined;
// },
// },
MuiPagination: {
'aria-label': 'Navigation via Seitennummerierung',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Gehe zu '}Seite ${page}`;
}
if (type === 'first') {
return 'Zur ersten Seite';
}
if (type === 'last') {
return 'Zur letzten Seite';
}
if (type === 'next') {
return 'Zur nächsten Seite';
}
if (type === 'previous') {
return 'Zur vorherigen Seite';
}
return undefined;
},
},
},
};

Expand Down

0 comments on commit 79a29f5

Please sign in to comment.