@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.
79 lines (78 loc) • 2.4 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.siLK = void 0;
const siLK = exports.siLK = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'ගමන් මඟ පෙන්වන්න'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'පළමු පිටුවට යන්න';
}
if (type === 'last') {
return 'අවසාන පිටුවට යන්න';
}
if (type === 'next') {
return 'මීළඟ පිටුවට යන්න';
}
// if (type === 'previous') {
return 'පෙර පිටුවට යන්න';
},
labelRowsPerPage: 'පිටුවක පේළි:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} දක්වා ${count !== -1 ? count : `${to} ට වැඩි ප්රමාණයකින්`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `තරු ${value}`,
emptyLabelText: 'හිස්'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'මකන්න',
closeText: 'වසන්න',
loadingText: 'නැංවෙමින්…',
noOptionsText: 'විකල්ප නැත',
openText: 'විවෘත කරන්න'
}
},
MuiAlert: {
defaultProps: {
closeText: 'වසන්න'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'පිටු අතර සංචරණය',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `පිටුව ${page} ${selected ? '' : 'ට යන්න'}`;
}
if (type === 'first') {
return 'පළමු පිටුවට යන්න';
}
if (type === 'last') {
return 'අවසාන පිටුවට යන්න';
}
if (type === 'next') {
return 'මීළඟ පිටුවට යන්න';
}
// if (type === 'previous') {
return 'පෙර පිටුවට යන්න';
}
}
}
}
};