@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.
79 lines (78 loc) • 2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.jaJP = void 0;
const jaJP = exports.jaJP = {
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 => `星${value}`,
emptyLabelText: '星なし'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'クリア',
closeText: '閉じる',
loadingText: '読み込み中…',
noOptionsText: 'データがありません',
openText: '開く'
}
},
MuiAlert: {
defaultProps: {
closeText: '閉じる'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'ページ選択',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `ページ${page}${selected ? '' : 'へ'}`;
}
if (type === 'first') {
return '最初のページへ';
}
if (type === 'last') {
return '最後のページへ';
}
if (type === 'next') {
return '次のページへ';
}
// if (type === 'previous') {
return '前のページへ';
}
}
}
}
};