Skip to content

Commit 0ad2840

Browse files
committed
feat(i18n): Completes zh-cn translation.
1 parent a0c5b7e commit 0ad2840

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

src/js/i18n/zh-cn.js

+36-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
angular.module('ui.grid').config(['$provide', function($provide) {
33
$provide.decorator('i18nService', ['$delegate', function($delegate) {
44
$delegate.add('zh-cn', {
5+
headerCell: {
6+
aria: {
7+
defaultFilterLabel: '列过滤器',
8+
removeFilter: '移除过滤器',
9+
columnMenuButtonLabel: '列菜单'
10+
},
11+
priority: '优先级:',
12+
filterLabel: "列过滤器: "
13+
},
514
aggregate: {
615
label: '行'
716
},
@@ -25,6 +34,7 @@
2534
sort: {
2635
ascending: '升序',
2736
descending: '降序',
37+
none: '无序',
2838
remove: '取消排序'
2939
},
3040
column: {
@@ -42,7 +52,13 @@
4252
pinRight: '右侧固定',
4353
unpin: '取消固定'
4454
},
55+
columnMenu: {
56+
close: '关闭'
57+
},
4558
gridMenu: {
59+
aria: {
60+
buttonLabel: '表格菜单'
61+
},
4662
columns: '列:',
4763
importerTitle: '导入文件',
4864
exporterAllAsCsv: '导出全部数据到CSV',
@@ -61,8 +77,27 @@
6177
jsonNotArray: '导入的文件不是JSON数组!'
6278
},
6379
pagination: {
80+
aria: {
81+
pageToFirst: '第一页',
82+
pageBack: '上一页',
83+
pageSelected: '当前页',
84+
pageForward: '下一页',
85+
pageToLast: '最后一页'
86+
},
6487
sizes: '行每页',
65-
totalItems: '行'
88+
totalItems: '行',
89+
through: '至',
90+
of: '共'
91+
},
92+
grouping: {
93+
group: '分组',
94+
ungroup: '取消分组',
95+
aggregate_count: '合计: 计数',
96+
aggregate_sum: '合计: 求和',
97+
aggregate_max: '合计: 最大',
98+
aggregate_min: '合计: 最小',
99+
aggregate_avg: '合计: 平均',
100+
aggregate_remove: '合计: 移除'
66101
}
67102
});
68103
return $delegate;

0 commit comments

Comments
 (0)