Skip to content

Commit

Permalink
[I10n] support for Hungarian language
Browse files Browse the repository at this point in the history
  • Loading branch information
vgaborabs authored Apr 20, 2020
1 parent 5862ecb commit 55d4358
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions packages/material-ui/src/locale/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,9 @@ export const huHU = {
formatNumber: formatNumber('hu-HU'),
},
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Útvonal',
},
MuiTablePagination: {
backIconButtonText: 'Előző oldal',
labelRowsPerPage: 'Sorok száma:',
Expand All @@ -691,27 +691,27 @@ export const huHU = {
MuiAlert: {
closeText: 'Bezárás',
},
// 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': 'Lapozás',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${page}. oldal${selected ? '' : 'ra'}`;
}
if (type === 'first') {
return 'Első oldalra';
}
if (type === 'last') {
return 'Utolsó oldalra';
}
if (type === 'next') {
return 'Következő oldalra';
}
if (type === 'previous') {
return 'Előző oldalra';
}
return undefined;
},
},
},
};

Expand Down

0 comments on commit 55d4358

Please sign in to comment.