Files
pstreact/node_modules/@mui/material/esm/locale/jaJP.js
2026-03-13 19:23:37 +03:00

73 lines
1.8 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.
export const 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 '前のページへ';
}
}
}
}
};