Files
simply_cpq/website/node_modules/@mui/material/locale/heIL.mjs
T
2026-08-07 21:39:30 +02:00

75 lines
2.0 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.
import buildFormatNumber from "./utils/buildFormatNumber.mjs";
const formatNumber = buildFormatNumber('he-IL');
export const heIL = {
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
}) => `${formatNumber(from)}–${formatNumber(to)} מתוך ${count !== -1 ? formatNumber(count) : `יותר מ ${formatNumber(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 'לעמוד הקודם';
}
}
}
}
};