Files
IronSteelNon-ferrousMetallu…/node_modules/@mui/material/locale/arSA.js

79 lines
2.3 KiB
JavaScript
Raw 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.arSA = void 0;
const arSA = exports.arSA = {
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 'الانتقال إلى الصفحة السابقة';
}
}
}
}
};