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

88 lines
2.6 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.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 'Перейти на попередню сторінку';
}
}
}
}
};