79 lines
2.3 KiB
JavaScript
79 lines
2.3 KiB
JavaScript
"use strict";
|
||
|
||
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 'පෙර පිටුවට යන්න';
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}; |