Files

76 lines
1.9 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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';
}
}
}
}
};