Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/locale/zhCN.js 1.16 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  export const zhCN = {
    components: {
      MuiBreadcrumbs: {
        defaultProps: {
          expandText: '展开'
        }
      },
      MuiTablePagination: {
        defaultProps: {
          getItemAriaLabel: type => {
            if (type === 'first') {
              return '第一页';
            }
            if (type === 'last') {
              return '最后一页';
            }
            if (type === 'next') {
              return '下一页';
            }
            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: '关闭'
        }
      }
    }
  };