From 8f7327e2f8178aa92057e3172bb218ea17374549 Mon Sep 17 00:00:00 2001 From: Whitewater Date: Fri, 30 Aug 2024 07:29:18 +0000 Subject: [PATCH] [l10n] Improve Chinese (zh-CN) locale --- docs/data/data-grid/localization/data.json | 2 +- packages/x-data-grid/src/locales/zhCN.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index 683b63a22b7f..9fe8427e6167 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -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" }, diff --git a/packages/x-data-grid/src/locales/zhCN.ts b/packages/x-data-grid/src/locales/zhCN.ts index 40cc526e3689..7e4aa7aa81f8 100644 --- a/packages/x-data-grid/src/locales/zhCN.ts +++ b/packages/x-data-grid/src/locales/zhCN.ts @@ -38,10 +38,10 @@ const zhCNGrid: Partial = { toolbarExportExcel: '导出至Excel', // Columns management text - // columnsManagementSearchTitle: 'Search', - // columnsManagementNoColumns: 'No columns', - // columnsManagementShowHideAllText: 'Show/Hide All', - // columnsManagementReset: 'Reset', + columnsManagementSearchTitle: '搜索', + columnsManagementNoColumns: '没有列', + columnsManagementShowHideAllText: '显示/隐藏所有', + columnsManagementReset: '重置', // Filter panel text filterPanelAddFilter: '添加筛选器', @@ -94,7 +94,7 @@ const zhCNGrid: Partial = { 'headerFilterOperator!=': '不等于', 'headerFilterOperator>': '大于', 'headerFilterOperator>=': '大于或等于', - 'headerFilterOperator<': '小雨', + 'headerFilterOperator<': '小于', 'headerFilterOperator<=': '小于或等于', // Filter values text