@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.3 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.arEG = void 0;
const arEG = exports.arEG = {
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} ${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 `${selected ? '' : 'انتقل إلى '} صفحة ${page}`;
}
if (type === 'first') {
return 'انتقل إلى الصفحة الأولى';
}
if (type === 'last') {
return 'انتقل إلى الصفحة الأخيرة';
}
if (type === 'next') {
return 'انتقل إلى الصفحة التالية';
}
// if (type === 'previous') {
return 'انتقل إلى الصفحة السابقة';
}
}
}
}
};