76 lines
1.9 KiB
JavaScript
76 lines
1.9 KiB
JavaScript
"use strict";
|
||
|
||
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';
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}; |