UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the Data Grid components (MUI X).

149 lines (148 loc) 5.88 kB
import { zhHK as zhHKCore } from '@mui/material/locale'; import { getGridLocalization } from '../utils/getGridLocalization'; const zhHKGrid = { // Root noRowsLabel: '沒有行', noResultsOverlayLabel: '未找到結果。', // Density selector toolbar button text toolbarDensity: '密度', toolbarDensityLabel: '密度', toolbarDensityCompact: '袖珍的', toolbarDensityStandard: '標準', toolbarDensityComfortable: '舒服的', // Columns selector toolbar button text toolbarColumns: '列', toolbarColumnsLabel: '選擇列', // Filters toolbar button text toolbarFilters: '過濾器', toolbarFiltersLabel: '顯示過濾器', toolbarFiltersTooltipHide: '隱藏過濾器', toolbarFiltersTooltipShow: '顯示過濾器', toolbarFiltersTooltipActive: count => count !== 1 ? `${count} 個有效過濾器` : `${count} 個活動過濾器`, // Quick filter toolbar field toolbarQuickFilterPlaceholder: '搜尋…', toolbarQuickFilterLabel: '搜尋', toolbarQuickFilterDeleteIconLabel: '清除', // Export selector toolbar button text toolbarExport: '出口', toolbarExportLabel: '出口', toolbarExportCSV: '下載為 CSV', toolbarExportPrint: '列印', toolbarExportExcel: '下載為 Excel', // Columns management text // columnsManagementSearchTitle: 'Search', // columnsManagementNoColumns: 'No columns', // columnsManagementShowHideAllText: 'Show/Hide All', // columnsManagementReset: 'Reset', // Filter panel text filterPanelAddFilter: '新增過濾器', filterPanelRemoveAll: '移除所有', filterPanelDeleteIconLabel: '刪除', filterPanelLogicOperator: '邏輯運算符', filterPanelOperator: '操作員', filterPanelOperatorAnd: '和', filterPanelOperatorOr: '或者', filterPanelColumns: '列', filterPanelInputLabel: '價值', filterPanelInputPlaceholder: '過濾值', // Filter operators text filterOperatorContains: '包含', filterOperatorEquals: '等於', filterOperatorStartsWith: '以。。開始', filterOperatorEndsWith: '以。。結束', filterOperatorIs: '是', filterOperatorNot: '不是', filterOperatorAfter: '是在之後', filterOperatorOnOrAfter: '是在或之後', filterOperatorBefore: '是在之前', filterOperatorOnOrBefore: '是在或之前', filterOperatorIsEmpty: '是空的', filterOperatorIsNotEmpty: '不為空', filterOperatorIsAnyOf: '是以下任一個', 'filterOperator=': '=', 'filterOperator!=': '!=', 'filterOperator>': '>', 'filterOperator>=': '>=', 'filterOperator<': '<', 'filterOperator<=': '<=', // Header filter operators text headerFilterOperatorContains: '包含', headerFilterOperatorEquals: '等於', headerFilterOperatorStartsWith: '以。。開始', headerFilterOperatorEndsWith: '以。。結束', headerFilterOperatorIs: '是', headerFilterOperatorNot: '不是', headerFilterOperatorAfter: '是在之後', headerFilterOperatorOnOrAfter: '是在或之後', headerFilterOperatorBefore: '是之前', headerFilterOperatorOnOrBefore: '是在或之前', headerFilterOperatorIsEmpty: '是空的', headerFilterOperatorIsNotEmpty: '不為空', headerFilterOperatorIsAnyOf: '是以下任一個', 'headerFilterOperator=': '等於', 'headerFilterOperator!=': '不等於', 'headerFilterOperator>': '比...更棒', 'headerFilterOperator>=': '大於或等於', 'headerFilterOperator<': '少於', 'headerFilterOperator<=': '小於或等於', // Filter values text filterValueAny: '任何', filterValueTrue: '真的', filterValueFalse: '錯誤的', // Column menu text columnMenuLabel: '選單', columnMenuShowColumns: '顯示欄目', columnMenuManageColumns: '管理欄目', columnMenuFilter: '篩選', columnMenuHideColumn: '隱藏列', columnMenuUnsort: '取消排序', columnMenuSortAsc: '按升序排序', columnMenuSortDesc: '按降序排序', // Column header text columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} 個有效過濾器` : `${count} 個活動過濾器`, columnHeaderFiltersLabel: '顯示過濾器', columnHeaderSortIconLabel: '種類', // Rows selected footer text footerRowSelected: count => count !== 1 ? `已選擇 ${count.toLocaleString()} 行` : `已選擇 ${count.toLocaleString()} 行`, // Total row amount footer text footerTotalRows: '總行數:', // Total visible row amount footer text footerTotalVisibleRows: (visibleCount, totalCount) => `${totalCount.toLocaleString()}${visibleCount.toLocaleString()}`, // Checkbox selection text checkboxSelectionHeaderName: '複選框選擇', checkboxSelectionSelectAllRows: '選擇所有行', checkboxSelectionUnselectAllRows: '取消選擇所有行', checkboxSelectionSelectRow: '選擇行', checkboxSelectionUnselectRow: '取消選擇行', // Boolean cell text booleanCellTrueLabel: '是的', booleanCellFalseLabel: '不', // Actions cell more text actionsCellMore: '更多的', // Column pinning text pinToLeft: '固定到左側', pinToRight: '固定到右側', unpin: '取消固定', // Tree Data treeDataGroupingHeaderName: 'Group', treeDataExpand: '看看孩子們', treeDataCollapse: '隱藏孩子', // Grouping columns groupingColumnHeaderName: '團體', groupColumn: name => `按 ${name} 分組`, unGroupColumn: name => `停止以 ${name} 分組`, // Master/detail detailPanelToggle: '詳細資訊面板切換', expandDetailPanel: '擴張', collapseDetailPanel: '坍塌', // Row reordering text rowReorderingHeaderName: '行重新排序', // Aggregation aggregationMenuItemHeader: '聚合', aggregationFunctionLabelSum: '和', aggregationFunctionLabelAvg: '平均', aggregationFunctionLabelMin: '分分鐘', aggregationFunctionLabelMax: '最大限度', aggregationFunctionLabelSize: '尺寸' }; export const zhHK = getGridLocalization(zhHKGrid, zhHKCore);