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

84 lines
2.2 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.faIR = void 0;
const faIR = exports.faIR = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
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 `${selected ? '' : 'رفتن به '}صفحهٔ ${page}`;
}
if (type === 'first') {
return 'رفتن به اولین صفحه';
}
if (type === 'last') {
return 'رفتن به آخرین صفحه';
}
if (type === 'next') {
return 'رفتن به صفحه‌ی بعدی';
}
// if (type === 'previous') {
return 'رفتن به صفحه‌ی قبلی';
}
}
}
}
};