Files
2026-03-13 19:23:37 +03:00

79 lines
2.0 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.roRO = void 0;
const roRO = exports.roRO = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Arată calea'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Mergi la prima pagină';
}
if (type === 'last') {
return 'Mergi la ultima pagină';
}
if (type === 'next') {
return 'Mergi la pagina următoare';
}
// if (type === 'previous') {
return 'Mergi la pagina precedentă';
},
labelRowsPerPage: 'Rânduri pe pagină:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}${to} din ${count !== -1 ? count : `mai mult de ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
emptyLabelText: 'Gol'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Șterge',
closeText: 'Închide',
loadingText: 'Se încarcă…',
noOptionsText: 'Nicio opțiune',
openText: 'Deschide'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Închide'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navigare prin paginare',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Mergi la '}pagina ${page}`;
}
if (type === 'first') {
return 'Mergi la prima pagină';
}
if (type === 'last') {
return 'Mergi la ultima pagină';
}
if (type === 'next') {
return 'Mergi la pagina următoare';
}
// if (type === 'previous') {
return 'Mergi la pagina precedentă';
}
}
}
}
};