67 lines
1.7 KiB
JavaScript
67 lines
1.7 KiB
JavaScript
"use strict";
|
||
|
||
Object.defineProperty(exports, "__esModule", {
|
||
value: true
|
||
});
|
||
exports.enUS = void 0;
|
||
// default
|
||
const enUS = exports.enUS = {
|
||
/*
|
||
components: {
|
||
MuiBreadcrumbs: { defaultProps: {
|
||
expandText: 'Show path',
|
||
}},
|
||
MuiTablePagination: { defaultProps: {
|
||
getItemAriaLabel: (type) => {
|
||
if (type === 'first') {
|
||
return 'Go to first page';
|
||
}
|
||
if (type === 'last') {
|
||
return 'Go to last page';
|
||
}
|
||
if (type === 'next') {
|
||
return 'Go to next page';
|
||
}
|
||
// if (type === 'previous') {
|
||
return 'Go to previous page';
|
||
},
|
||
labelRowsPerPage: 'Rows per page:',
|
||
labelDisplayedRows: ({ from, to, count }) =>
|
||
`${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`,
|
||
}},
|
||
MuiRating: { defaultProps: {
|
||
getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
|
||
emptyLabelText: 'Empty',
|
||
}},
|
||
MuiAutocomplete: { defaultProps: {
|
||
clearText: 'Clear',
|
||
closeText: 'Close',
|
||
loadingText: 'Loading…',
|
||
noOptionsText: 'No options',
|
||
openText: 'Open',
|
||
}},
|
||
MuiAlert: { defaultProps: {
|
||
closeText: 'Close',
|
||
}},
|
||
MuiPagination: { defaultProps: {
|
||
'aria-label': 'Pagination navigation',
|
||
getItemAriaLabel: (type, page, selected) => {
|
||
if (type === 'page') {
|
||
return `${selected ? '' : 'Go to '}page ${page}`;
|
||
}
|
||
if (type === 'first') {
|
||
return 'Go to first page';
|
||
}
|
||
if (type === 'last') {
|
||
return 'Go to last page';
|
||
}
|
||
if (type === 'next') {
|
||
return 'Go to next page';
|
||
}
|
||
// if (type === 'previous') {
|
||
return 'Go to previous page';
|
||
},
|
||
}},
|
||
},
|
||
*/
|
||
}; |