zhHK.js
1.27 KB
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
52
53
54
55
56
57
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.zhHK = void 0;
const zhHK = exports.zhHK = {
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: '關閉'
}
}
}
};