AgGridVueLocaleCn.js 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. import i18n from '@/utils/i18n'
  2. export const AG_GRID_LOCALE_CN = {
  3. // Set Filter
  4. selectAll: i18n.t('action.choiceAll'),
  5. selectAllSearchResults: i18n.t('action.choiceAllSearchResults'),
  6. searchOoo: i18n.t('action.searchOoo'),
  7. blanks: i18n.t('action.blanks'),
  8. noMatches: i18n.t('action.noMatches'),
  9. // Number Filter & Text Filter
  10. filterOoo: i18n.t('action.filterOoo'),
  11. equals: i18n.t('action.equals'),
  12. notEqual: i18n.t('action.notEqual'),
  13. empty: i18n.t('action.empty'),
  14. // Number Filter
  15. lessThan: i18n.t('action.lessThan'),
  16. greaterThan: i18n.t('action.greaterThan'),
  17. lessThanOrEqual: i18n.t('action.lessThanOrEqual'),
  18. greaterThanOrEqual: i18n.t('action.greaterThanOrEqual'),
  19. inRange: i18n.t('action.inRange'),
  20. inRangeStart: i18n.t('action.inRangeStart'),
  21. inRangeEnd: i18n.t('action.inRangeEnd'),
  22. // Text Filter
  23. contains: i18n.t('action.contains'),
  24. notContains: i18n.t('action.notContains'),
  25. startsWith: i18n.t('action.startsWith'),
  26. endsWith: i18n.t('action.endsWith'),
  27. // Date Filter
  28. dateFormatOoo: 'yyyy-mm-dd',
  29. // Filter Conditions
  30. andCondition: i18n.t('action.andCondition'),
  31. orCondition: i18n.t('action.orCondition'),
  32. // Filter Buttons
  33. applyFilter: i18n.t('action.applyFilter'),
  34. resetFilter: i18n.t('action.resetFilter'),
  35. clearFilter: i18n.t('action.clearFilter'),
  36. cancelFilter: i18n.t('action.cancelFilter'),
  37. // Filter Titles
  38. textFilter: i18n.t('action.textFilter'),
  39. numberFilter: i18n.t('action.numberFilter'),
  40. dateFilter: i18n.t('action.dateFilter'),
  41. setFilter: i18n.t('action.setFilter'),
  42. // Side Bar
  43. columns: i18n.t('action.columns'),
  44. filters: i18n.t('action.filters'),
  45. // columns tool panel
  46. pivotMode: 'Pivot Mode',
  47. groups: 'Row Groups',
  48. rowGroupColumnsEmptyMessage: 'Drag here to set row groups',
  49. values: 'Values',
  50. valueColumnsEmptyMessage: 'Drag here to aggregate',
  51. pivots: 'Column Labels',
  52. pivotColumnsEmptyMessage: 'Drag here to set column labels',
  53. // Header of the Default Group Column
  54. group: 'Group',
  55. // Other
  56. loadingOoo: i18n.t('action.loadingOoo'),
  57. noRowsToShow: i18n.t('action.noRowsToShow'),
  58. enabled: i18n.t('action.enabled'),
  59. // Menu
  60. pinColumn: i18n.t('action.pinColumn'),
  61. pinLeft: i18n.t('action.pinLeft'),
  62. pinRight: i18n.t('action.pinRight'),
  63. noPin: i18n.t('action.noPin'),
  64. valueAggregation: 'Value Aggregation',
  65. autosizeThiscolumn: i18n.t('action.autosizeThiscolumn'),
  66. autosizeAllColumns: i18n.t('action.autosizeAllColumns'),
  67. groupBy: i18n.t('action.groupBy'),
  68. ungroupBy: 'Un-Group by',
  69. resetColumns: i18n.t('action.resetColumns'),
  70. expandAll: i18n.t('action.expandAll'),
  71. collapseAll: i18n.t('action.collapseAll'),
  72. copy: i18n.t('action.copy'),
  73. ctrlC: 'Ctrl+C',
  74. copyWithHeaders: i18n.t('action.copyWithHeaders'),
  75. paste: i18n.t('action.paste'),
  76. ctrlV: 'Ctrl+V',
  77. export: i18n.t('action.export'),
  78. csvExport: 'CSV Export',
  79. excelExport: 'Excel Export (.xlsx)',
  80. excelXmlExport: 'Excel Export (.xml)',
  81. // Enterprise Menu Aggregation and Status Bar
  82. sum: 'Sum',
  83. min: 'Min',
  84. max: 'Max',
  85. none: 'None',
  86. count: 'Count',
  87. avg: 'Average',
  88. filteredRows: 'Filtered',
  89. selectedRows: 'Selected',
  90. totalRows: 'Total Rows',
  91. totalAndFilteredRows: 'Rows',
  92. more: 'More',
  93. to: 'to',
  94. of: 'of',
  95. page: 'Page',
  96. nextPage: 'Next Page',
  97. lastPage: 'Last Page',
  98. firstPage: 'First Page',
  99. previousPage: 'Previous Page',
  100. // Enterprise Menu (Charts)
  101. pivotChartAndPivotMode: 'Pivot Chart & Pivot Mode',
  102. pivotChart: 'Pivot Chart',
  103. chartRange: 'Chart Range',
  104. columnChart: 'Column',
  105. groupedColumn: 'Grouped',
  106. stackedColumn: 'Stacked',
  107. normalizedColumn: '100% Stacked',
  108. barChart: 'Bar',
  109. groupedBar: 'Grouped',
  110. stackedBar: 'Stacked',
  111. normalizedBar: '100% Stacked',
  112. pieChart: 'Pie',
  113. pie: 'Pie',
  114. doughnut: 'Doughnut',
  115. line: 'Line',
  116. xyChart: 'X Y (Scatter)',
  117. scatter: 'Scatter',
  118. bubble: 'Bubble',
  119. areaChart: 'Area',
  120. area: 'Area',
  121. stackedArea: 'Stacked',
  122. normalizedArea: '100% Stacked',
  123. histogramChart: 'Histogram',
  124. // Charts
  125. pivotChartTitle: 'Pivot Chart',
  126. rangeChartTitle: 'Range Chart',
  127. settings: 'Settings',
  128. data: 'Data',
  129. format: 'Format',
  130. categories: 'Categories',
  131. defaultCategory: '(None)',
  132. series: 'Series',
  133. xyValues: 'X Y Values',
  134. paired: 'Paired Mode',
  135. axis: 'Axis',
  136. navigator: 'Navigator',
  137. color: 'Color',
  138. thickness: 'Thickness',
  139. xType: 'X Type',
  140. automatic: 'Automatic',
  141. category: 'Category',
  142. number: 'Number',
  143. time: 'Time',
  144. xRotation: 'X Rotation',
  145. yRotation: 'Y Rotation',
  146. ticks: 'Ticks',
  147. width: 'Width',
  148. height: 'Height',
  149. length: 'Length',
  150. padding: 'Padding',
  151. spacing: 'Spacing',
  152. chart: 'Chart',
  153. title: 'Title',
  154. titlePlaceholder: 'Chart title - double click to edit',
  155. background: 'Background',
  156. font: 'Font',
  157. top: 'Top',
  158. right: 'Right',
  159. bottom: 'Bottom',
  160. left: 'Left',
  161. labels: 'Labels',
  162. size: 'Size',
  163. minSize: 'Minimum Size',
  164. maxSize: 'Maximum Size',
  165. legend: 'Legend',
  166. position: 'Position',
  167. markerSize: 'Marker Size',
  168. markerStroke: 'Marker Stroke',
  169. markerPadding: 'Marker Padding',
  170. itemSpacing: 'Item Spacing',
  171. itemPaddingX: 'Item Padding X',
  172. itemPaddingY: 'Item Padding Y',
  173. layoutHorizontalSpacing: 'Horizontal Spacing',
  174. layoutVerticalSpacing: 'Vertical Spacing',
  175. strokeWidth: 'Stroke Width',
  176. offset: 'Offset',
  177. offsets: 'Offsets',
  178. tooltips: 'Tooltips',
  179. callout: 'Callout',
  180. markers: 'Markers',
  181. shadow: 'Shadow',
  182. blur: 'Blur',
  183. xOffset: 'X Offset',
  184. yOffset: 'Y Offset',
  185. lineWidth: 'Line Width',
  186. normal: 'Normal',
  187. bold: 'Bold',
  188. italic: 'Italic',
  189. boldItalic: 'Bold Italic',
  190. predefined: 'Predefined',
  191. fillOpacity: 'Fill Opacity',
  192. strokeOpacity: 'Line Opacity',
  193. histogramBinCount: 'Bin count',
  194. columnGroup: 'Column',
  195. barGroup: 'Bar',
  196. pieGroup: 'Pie',
  197. lineGroup: 'Line',
  198. scatterGroup: 'X Y (Scatter)',
  199. areaGroup: 'Area',
  200. histogramGroup: 'Histogram',
  201. groupedColumnTooltip: 'Grouped',
  202. stackedColumnTooltip: 'Stacked',
  203. normalizedColumnTooltip: '100% Stacked',
  204. groupedBarTooltip: 'Grouped',
  205. stackedBarTooltip: 'Stacked',
  206. normalizedBarTooltip: '100% Stacked',
  207. pieTooltip: 'Pie',
  208. doughnutTooltip: 'Doughnut',
  209. lineTooltip: 'Line',
  210. groupedAreaTooltip: 'Area',
  211. stackedAreaTooltip: 'Stacked',
  212. normalizedAreaTooltip: '100% Stacked',
  213. scatterTooltip: 'Scatter',
  214. bubbleTooltip: 'Bubble',
  215. histogramTooltip: 'Histogram',
  216. noDataToChart: 'No data available to be charted.',
  217. pivotChartRequiresPivotMode: 'Pivot Chart requires Pivot Mode enabled.',
  218. chartSettingsToolbarTooltip: 'Menu',
  219. chartLinkToolbarTooltip: 'Linked to Grid',
  220. chartUnlinkToolbarTooltip: 'Unlinked from Grid',
  221. chartDownloadToolbarTooltip: 'Download Chart',
  222. // ARIA
  223. ariaHidden: 'hidden',
  224. ariaVisible: 'visible',
  225. ariaChecked: 'checked',
  226. ariaUnchecked: 'unchecked',
  227. ariaIndeterminate: 'indeterminate',
  228. ariaColumnSelectAll: 'Toggle Select All Columns',
  229. ariaInputEditor: 'Input Editor',
  230. ariaDateFilterInput: 'Date Filter Input',
  231. ariaFilterInput: 'Filter Input',
  232. ariaFilterColumnsInput: 'Filter Columns Input',
  233. ariaFilterValue: 'Filter Value',
  234. ariaFilterFromValue: 'Filter from value',
  235. ariaFilterToValue: 'Filter to value',
  236. ariaFilteringOperator: 'Filtering Operator',
  237. ariaColumnToggleVisibility: 'column toggle visibility',
  238. ariaColumnGroupToggleVisibility: 'column group toggle visibility',
  239. ariaRowSelect: 'Press SPACE to select this row',
  240. ariaRowDeselect: 'Press SPACE to deselect this row',
  241. ariaRowToggleSelection: 'Press Space to toggle row selection',
  242. ariaRowSelectAll: 'Press Space to toggle all rows selection',
  243. ariaSearch: 'Search',
  244. ariaSearchFilterValues: 'Search filter values'
  245. }