UNPKG

angular-ui-grid

Version:

A data grid for Angular

77 lines (75 loc) 2.36 kB
/*! * ui-grid - v4.9.1 - 2020-10-26 * Copyright (c) 2020 ; License: MIT */ (function() { angular.module('ui.grid').config(['$provide', function($provide) { $provide.decorator('i18nService', ['$delegate', function($delegate) { $delegate.add('zh-tw', { aggregate: { label: '行' }, groupPanel: { description: '拖曳表頭到此處進行分組' }, search: { placeholder: '查找', showingItems: '已顯示行數:', selectedItems: '已選擇行數:', totalItems: '總行數:', size: '每頁顯示行數:', first: '首頁', next: '下壹頁', previous: '上壹頁', last: '末頁' }, menu: { text: '選擇列:' }, sort: { ascending: '升序', descending: '降序', remove: '取消排序' }, column: { hide: '隱藏列' }, aggregation: { count: '計數:', sum: '求和:', avg: '均值:', min: '最小值:', max: '最大值:' }, pinning: { pinLeft: '左側固定', pinRight: '右側固定', unpin: '取消固定' }, gridMenu: { columns: '列:', importerTitle: '導入文件', exporterAllAsCsv: '導出全部數據到CSV', exporterVisibleAsCsv: '導出可見數據到CSV', exporterSelectedAsCsv: '導出已選數據到CSV', exporterAllAsPdf: '導出全部數據到PDF', exporterVisibleAsPdf: '導出可見數據到PDF', exporterSelectedAsPdf: '導出已選數據到PDF', clearAllFilters: '清除所有过滤器' }, importer: { noHeaders: '無法獲取列名,確定文件包含表頭?', noObjects: '無法獲取數據,確定文件包含數據?', invalidCsv: '無法處理文件,確定是合法的CSV文件?', invalidJson: '無法處理文件,確定是合法的JSON文件?', jsonNotArray: '導入的文件不是JSON數組!' }, pagination: { sizes: '行每頁', totalItems: '行' } }); return $delegate; }]); }]); })();