@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
76 lines (75 loc) • 1.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.huHU = void 0;
const huHU = exports.huHU = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Útvonal'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
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';
},
labelRowsPerPage: 'Sorok száma:'
// labelDisplayedRows: ({ from, to, count }) =>
// `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Csillag`,
emptyLabelText: 'Üres'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Törlés',
closeText: 'Bezárás',
loadingText: 'Töltés…',
noOptionsText: 'Nincs találat',
openText: 'Megnyitás'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Bezárás'
}
},
MuiPagination: {
defaultProps: {
'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';
}
}
}
}
};