UNPKG

@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.

88 lines (87 loc) 2.71 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ukUA = void 0; const ukUA = exports.ukUA = { 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 => { let pluralForm = 'Зірок'; const lastDigit = value % 10; if (lastDigit > 1 && lastDigit < 5) { pluralForm = 'Зірки'; } else if (lastDigit === 1) { pluralForm = 'Зірка'; } return `${value} ${pluralForm}`; }, 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 'Перейти на попередню сторінку'; } } } } };