Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[I10n] Improve hu-HU locale #20658

Merged
merged 1 commit into from
Apr 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -615,9 +615,9 @@ export const heIL = {

export const huHU = {
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Útvonal',
},
MuiTablePagination: {
backIconButtonText: 'Előző oldal',
labelRowsPerPage: 'Sorok száma:',
Expand All @@ -638,27 +638,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