@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.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.urPK = void 0;
const urPK = exports.urPK = {
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
}) => `${count !== -1 ? `${count} میں سے` : `${to} سے ذیادہ میں سے`} ${from} سے ${to} قطاریں`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} ستار${value !== 1 ? 'ے' : 'ہ'}`,
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 'پچھلے صفحے پر جائیں';
}
}
}
}
};