diff --git a/packages/mui-material/src/locale/zhCN.ts b/packages/mui-material/src/locale/zhCN.ts index f67adac0191c04..1d9a616b048116 100644 --- a/packages/mui-material/src/locale/zhCN.ts +++ b/packages/mui-material/src/locale/zhCN.ts @@ -49,5 +49,26 @@ export const zhCN: Localization = { 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 '转到上一页'; + }, + }, + }, }, };