Skip to content

Commit

Permalink
[l10n] Improve Chinese (zh-CN) locale (#14394)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawvs authored Aug 31, 2024
1 parent 449743e commit c8505c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/data/data-grid/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"languageTag": "zh-CN",
"importName": "zhCN",
"localeName": "Chinese (Simplified)",
"missingKeysCount": 4,
"missingKeysCount": 0,
"totalKeysCount": 118,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/zhCN.ts"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/x-data-grid/src/locales/zhCN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ const zhCNGrid: Partial<GridLocaleText> = {
toolbarExportExcel: '导出至Excel',

// Columns management text
// columnsManagementSearchTitle: 'Search',
// columnsManagementNoColumns: 'No columns',
// columnsManagementShowHideAllText: 'Show/Hide All',
// columnsManagementReset: 'Reset',
columnsManagementSearchTitle: '搜索',
columnsManagementNoColumns: '没有列',
columnsManagementShowHideAllText: '显示/隐藏所有',
columnsManagementReset: '重置',

// Filter panel text
filterPanelAddFilter: '添加筛选器',
Expand Down Expand Up @@ -94,7 +94,7 @@ const zhCNGrid: Partial<GridLocaleText> = {
'headerFilterOperator!=': '不等于',
'headerFilterOperator>': '大于',
'headerFilterOperator>=': '大于或等于',
'headerFilterOperator<': '小雨',
'headerFilterOperator<': '小于',
'headerFilterOperator<=': '小于或等于',

// Filter values text
Expand Down

0 comments on commit c8505c4

Please sign in to comment.