init 3
This commit is contained in:
85
node_modules/@mui/material/esm/locale/beBY.js
generated
vendored
Normal file
85
node_modules/@mui/material/esm/locale/beBY.js
generated
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
export const beBY = {
|
||||
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 && (value < 10 || value > 20)) {
|
||||
pluralForm = 'Зоркі';
|
||||
} else if (lastDigit === 1 && value % 100 !== 11) {
|
||||
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') {
|
||||
if (selected) {
|
||||
return `${page} старонка`;
|
||||
}
|
||||
return `Перайсці на ${page} старонку`;
|
||||
}
|
||||
if (type === 'first') {
|
||||
return 'Перайсці на першую старонку';
|
||||
}
|
||||
if (type === 'last') {
|
||||
return 'Перайсці на апошнюю старонку';
|
||||
}
|
||||
if (type === 'next') {
|
||||
return 'Перайсці на наступную старонку';
|
||||
}
|
||||
// if (type === 'previous') {
|
||||
return 'Перайсці на папярэднюю старонку';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user