Browse Source

增加翻译内容

vothin 2 years ago
parent
commit
f8f51e65e8
5 changed files with 393 additions and 244 deletions
  1. 49 0
      languages/en.js
  2. 49 0
      languages/es.js
  3. 49 0
      languages/zh-CN.js
  4. 244 242
      src/utils/AgGridVueLocaleCn.js
  5. 2 2
      src/views/ncs-chars/info.vue

+ 49 - 0
languages/en.js

@@ -85,6 +85,53 @@ module.exports = {
     times: 'Times',
     choice: 'Please choose',
     choiceAll: 'Select all',
+    choiceAllSearchResults: '(选择所有搜索结果)',
+    searchOoo: '搜索...',
+    blanks: '(空格)',
+    noMatches: '无匹配结果',
+    filterOoo: '筛选值...',
+    equals: '等于',
+    notEqual: '不等于',
+    empty: '请选择一条记录',
+    lessThan: '小于',
+    greaterThan: '大于',
+    lessThanOrEqual: '小于等于',
+    greaterThanOrEqual: '大于等于',
+    inRange: '范围',
+    inRangeStart: '至',
+    inRangeEnd: '从',
+    contains: '包含',
+    notContains: '不包含',
+    startsWith: '开始于',
+    endsWith: '结束于',
+    andCondition: '且',
+    orCondition: '或',
+    applyFilter: '应用',
+    resetFilter: '重置',
+    clearFilter: '清除',
+    cancelFilter: '取消',
+    textFilter: '文本筛选',
+    numberFilter: '数字筛选',
+    dateFilter: '日期筛选',
+    setFilter: '列表筛选',
+    columns: '列',
+    filters: '筛选器',
+    loadingOoo: '加载中...',
+    noRowsToShow: '无数据显示',
+    enabled: '开启',
+    pinColumn: '固定列',
+    pinLeft: '固定到左边',
+    pinRight: '固定到右边',
+    noPin: '不固定',
+    autosizeThiscolumn: '自动缩放此列',
+    autosizeAllColumns: '自动缩放所有列',
+    groupBy: '分组',
+    resetColumns: '重置列设置',
+    expandAll: '展开所有',
+    collapseAll: '收缩所有',
+    copy: '复制',
+    copyWithHeaders: '连同表头复制',
+    paste: '粘贴',
     colour: 'Colour',
     searchDateRange: 'Search time period',
     to: 'to',
@@ -526,6 +573,8 @@ module.exports = {
     actionTime: 'Number of interactions',
     actionTime2: 'Number of calls',
     success: 'Success',
+    excelFileMsg: 'Excel file will be exported. Continue?',
+    statisticalTable: 'Event Statistics',
     successInteraction: 'Response to interaction',
     successInteraction2: 'The call has been connected',
     unSuccessInteraction: 'Unfinished interaction',

+ 49 - 0
languages/es.js

@@ -85,6 +85,53 @@ module.exports = {
     times: 'Tiempos',
     choice: 'Por favor elija',
     choiceAll: 'Todos',
+    choiceAllSearchResults: '(选择所有搜索结果)',
+    searchOoo: '搜索...',
+    blanks: '(空格)',
+    noMatches: '无匹配结果',
+    filterOoo: '筛选值...',
+    equals: '等于',
+    notEqual: '不等于',
+    empty: '请选择一条记录',
+    lessThan: '小于',
+    greaterThan: '大于',
+    lessThanOrEqual: '小于等于',
+    greaterThanOrEqual: '大于等于',
+    inRange: '范围',
+    inRangeStart: '至',
+    inRangeEnd: '从',
+    contains: '包含',
+    notContains: '不包含',
+    startsWith: '开始于',
+    endsWith: '结束于',
+    andCondition: '且',
+    orCondition: '或',
+    applyFilter: '应用',
+    resetFilter: '重置',
+    clearFilter: '清除',
+    cancelFilter: '取消',
+    textFilter: '文本筛选',
+    numberFilter: '数字筛选',
+    dateFilter: '日期筛选',
+    setFilter: '列表筛选',
+    columns: '列',
+    filters: '筛选器',
+    loadingOoo: '加载中...',
+    noRowsToShow: '无数据显示',
+    enabled: '开启',
+    pinColumn: '固定列',
+    pinLeft: '固定到左边',
+    pinRight: '固定到右边',
+    noPin: '不固定',
+    autosizeThiscolumn: '自动缩放此列',
+    autosizeAllColumns: '自动缩放所有列',
+    groupBy: '分组',
+    resetColumns: '重置列设置',
+    expandAll: '展开所有',
+    collapseAll: '收缩所有',
+    copy: '复制',
+    copyWithHeaders: '连同表头复制',
+    paste: '粘贴',
     colour: 'Color',
     searchDateRange: 'Período de tiempo de búsqueda',
     to: 'Para',
@@ -526,6 +573,8 @@ module.exports = {
     actionTime: 'Número de interacciones',
     actionTime2: 'Número de llamadas',
     success: 'Éxito',
+    excelFileMsg: '¿El archivo excel se exportará, desea continuar?',
+    statisticalTable: 'Tabla estadística de eventos',
     SuccessInteraction: 'Respuesta a la interacción',
     SuccessInteraction2: 'La llamada ha sido conectada',
     unSuccessInteraction: 'Interacción sin terminar',

+ 49 - 0
languages/zh-CN.js

@@ -85,6 +85,53 @@ module.exports = {
     times: '次',
     choice: '请选择',
     choiceAll: '全选',
+    choiceAllSearchResults: '(选择所有搜索结果)',
+    searchOoo: '搜索...',
+    blanks: '(空格)',
+    noMatches: '无匹配结果',
+    filterOoo: '筛选值...',
+    equals: '等于',
+    notEqual: '不等于',
+    empty: '请选择一条记录',
+    lessThan: '小于',
+    greaterThan: '大于',
+    lessThanOrEqual: '小于等于',
+    greaterThanOrEqual: '大于等于',
+    inRange: '范围',
+    inRangeStart: '至',
+    inRangeEnd: '从',
+    contains: '包含',
+    notContains: '不包含',
+    startsWith: '开始于',
+    endsWith: '结束于',
+    andCondition: '且',
+    orCondition: '或',
+    applyFilter: '应用',
+    resetFilter: '重置',
+    clearFilter: '清除',
+    cancelFilter: '取消',
+    textFilter: '文本筛选',
+    numberFilter: '数字筛选',
+    dateFilter: '日期筛选',
+    setFilter: '列表筛选',
+    columns: '列',
+    filters: '筛选器',
+    loadingOoo: '加载中...',
+    noRowsToShow: '无数据显示',
+    enabled: '开启',
+    pinColumn: '固定列',
+    pinLeft: '固定到左边',
+    pinRight: '固定到右边',
+    noPin: '不固定',
+    autosizeThiscolumn: '自动缩放此列',
+    autosizeAllColumns: '自动缩放所有列',
+    groupBy: '分组',
+    resetColumns: '重置列设置',
+    expandAll: '展开所有',
+    collapseAll: '收缩所有',
+    copy: '复制',
+    copyWithHeaders: '连同表头复制',
+    paste: '粘贴',
     colour: '颜色',
     searchDateRange: '搜索时间段',
     to: '至',
@@ -526,6 +573,8 @@ module.exports = {
     actionTime: '交互次数',
     actionTime2: '通话次数',
     success: '成功',
+    excelFileMsg: '将导出Excel文件,是否继续?',
+    statisticalTable: '事件统计表',
     successInteraction: '已响应交互',
     successInteraction2: '已接通通话',
     unSuccessInteraction: '未完成交互',

+ 244 - 242
src/utils/AgGridVueLocaleCn.js

@@ -1,267 +1,269 @@
+import i18n from '@/utils/i18n'
+
 export const AG_GRID_LOCALE_CN = {
-    // Set Filter
-    selectAll: '(全选)',
-    selectAllSearchResults: '(选择所有搜索结果)',
-    searchOoo: '搜索...',
-    blanks: '(空格)',
-    noMatches: '无匹配结果',
+  // Set Filter
+  selectAll: i18n.t('action.choiceAll'),
+  selectAllSearchResults: i18n.t('action.choiceAllSearchResults'),
+  searchOoo: i18n.t('action.searchOoo'),
+  blanks: i18n.t('action.blanks'),
+  noMatches: i18n.t('action.noMatches'),
 
-    // Number Filter & Text Filter
-    filterOoo: '筛选值...',
-    equals: '等于',
-    notEqual: '不等于',
-    empty: '请选择一条记录',
+  // Number Filter & Text Filter
+  filterOoo: i18n.t('action.filterOoo'),
+  equals: i18n.t('action.equals'),
+  notEqual: i18n.t('action.notEqual'),
+  empty: i18n.t('action.empty'),
 
-    // Number Filter
-    lessThan: '小于',
-    greaterThan: '大于',
-    lessThanOrEqual: '小于等于',
-    greaterThanOrEqual: '大于等于',
-    inRange: '范围',
-    inRangeStart: '至',
-    inRangeEnd: '从',
+  // Number Filter
+  lessThan: i18n.t('action.lessThan'),
+  greaterThan: i18n.t('action.greaterThan'),
+  lessThanOrEqual: i18n.t('action.lessThanOrEqual'),
+  greaterThanOrEqual: i18n.t('action.greaterThanOrEqual'),
+  inRange: i18n.t('action.inRange'),
+  inRangeStart: i18n.t('action.inRangeStart'),
+  inRangeEnd: i18n.t('action.inRangeEnd'),
 
-    // Text Filter
-    contains: '包含',
-    notContains: '不包含',
-    startsWith: '开始于',
-    endsWith: '结束于',
+  // Text Filter
+  contains: i18n.t('action.contains'),
+  notContains: i18n.t('action.notContains'),
+  startsWith: i18n.t('action.startsWith'),
+  endsWith: i18n.t('action.endsWith'),
 
-    // Date Filter
-    dateFormatOoo: 'yyyy-mm-dd',
+  // Date Filter
+  dateFormatOoo: 'yyyy-mm-dd',
 
-    // Filter Conditions
-    andCondition: '且',
-    orCondition: '或',
+  // Filter Conditions
+  andCondition: i18n.t('action.andCondition'),
+  orCondition: i18n.t('action.orCondition'),
 
-    // Filter Buttons
-    applyFilter: '应用',
-    resetFilter: '重置',
-    clearFilter: '清除',
-    cancelFilter: '取消',
+  // Filter Buttons
+  applyFilter: i18n.t('action.applyFilter'),
+  resetFilter: i18n.t('action.resetFilter'),
+  clearFilter: i18n.t('action.clearFilter'),
+  cancelFilter: i18n.t('action.cancelFilter'),
 
-    // Filter Titles
-    textFilter: '文本筛选',
-    numberFilter: '数字筛选',
-    dateFilter: '日期筛选',
-    setFilter: '列表筛选',
+  // Filter Titles
+  textFilter: i18n.t('action.textFilter'),
+  numberFilter: i18n.t('action.numberFilter'),
+  dateFilter: i18n.t('action.dateFilter'),
+  setFilter: i18n.t('action.setFilter'),
 
-    // Side Bar
-    columns: '列',
-    filters: '筛选器',
+  // Side Bar
+  columns: i18n.t('action.columns'),
+  filters: i18n.t('action.filters'),
 
-    // columns tool panel
-    pivotMode: 'Pivot Mode',
-    groups: 'Row Groups',
-    rowGroupColumnsEmptyMessage: 'Drag here to set row groups',
-    values: 'Values',
-    valueColumnsEmptyMessage: 'Drag here to aggregate',
-    pivots: 'Column Labels',
-    pivotColumnsEmptyMessage: 'Drag here to set column labels',
+  // columns tool panel
+  pivotMode: 'Pivot Mode',
+  groups: 'Row Groups',
+  rowGroupColumnsEmptyMessage: 'Drag here to set row groups',
+  values: 'Values',
+  valueColumnsEmptyMessage: 'Drag here to aggregate',
+  pivots: 'Column Labels',
+  pivotColumnsEmptyMessage: 'Drag here to set column labels',
 
-    // Header of the Default Group Column
-    group: 'Group',
+  // Header of the Default Group Column
+  group: 'Group',
 
-    // Other
-    loadingOoo: '加载中...',
-    noRowsToShow: '无数据显示',
-    enabled: '开启',
+  // Other
+  loadingOoo: i18n.t('action.loadingOoo'),
+  noRowsToShow: i18n.t('action.noRowsToShow'),
+  enabled: i18n.t('action.enabled'),
 
-    // Menu
-    pinColumn: '固定列',
-    pinLeft: '固定到左边',
-    pinRight: '固定到右边',
-    noPin: '不固定',
-    valueAggregation: 'Value Aggregation',
-    autosizeThiscolumn: '自动缩放此列',
-    autosizeAllColumns: '自动缩放所有列',
-    groupBy: '分组',
-    ungroupBy: 'Un-Group by',
-    resetColumns: '重置列设置',
-    expandAll: '展开所有',
-    collapseAll: '收缩所有',
-    copy: '复制',
-    ctrlC: 'Ctrl+C',
-    copyWithHeaders: '连同表头复制',
-    paste: '粘贴',
-    ctrlV: 'Ctrl+V',
-    export: '导出',
-    csvExport: 'CSV Export',
-    excelExport: 'Excel Export (.xlsx)',
-    excelXmlExport: 'Excel Export (.xml)',
+  // Menu
+  pinColumn: i18n.t('action.pinColumn'),
+  pinLeft: i18n.t('action.pinLeft'),
+  pinRight: i18n.t('action.pinRight'),
+  noPin: i18n.t('action.noPin'),
+  valueAggregation: 'Value Aggregation',
+  autosizeThiscolumn: i18n.t('action.autosizeThiscolumn'),
+  autosizeAllColumns: i18n.t('action.autosizeAllColumns'),
+  groupBy: i18n.t('action.groupBy'),
+  ungroupBy: 'Un-Group by',
+  resetColumns: i18n.t('action.resetColumns'),
+  expandAll: i18n.t('action.expandAll'),
+  collapseAll: i18n.t('action.collapseAll'),
+  copy: i18n.t('action.copy'),
+  ctrlC: 'Ctrl+C',
+  copyWithHeaders: i18n.t('action.copyWithHeaders'),
+  paste: i18n.t('action.paste'),
+  ctrlV: 'Ctrl+V',
+  export: i18n.t('action.export'),
+  csvExport: 'CSV Export',
+  excelExport: 'Excel Export (.xlsx)',
+  excelXmlExport: 'Excel Export (.xml)',
 
-    // Enterprise Menu Aggregation and Status Bar
-    sum: 'Sum',
-    min: 'Min',
-    max: 'Max',
-    none: 'None',
-    count: 'Count',
-    avg: 'Average',
-    filteredRows: 'Filtered',
-    selectedRows: 'Selected',
-    totalRows: 'Total Rows',
-    totalAndFilteredRows: 'Rows',
-    more: 'More',
-    to: 'to',
-    of: 'of',
-    page: 'Page',
-    nextPage: 'Next Page',
-    lastPage: 'Last Page',
-    firstPage: 'First Page',
-    previousPage: 'Previous Page',
+  // Enterprise Menu Aggregation and Status Bar
+  sum: 'Sum',
+  min: 'Min',
+  max: 'Max',
+  none: 'None',
+  count: 'Count',
+  avg: 'Average',
+  filteredRows: 'Filtered',
+  selectedRows: 'Selected',
+  totalRows: 'Total Rows',
+  totalAndFilteredRows: 'Rows',
+  more: 'More',
+  to: 'to',
+  of: 'of',
+  page: 'Page',
+  nextPage: 'Next Page',
+  lastPage: 'Last Page',
+  firstPage: 'First Page',
+  previousPage: 'Previous Page',
 
-    // Enterprise Menu (Charts)
-    pivotChartAndPivotMode: 'Pivot Chart & Pivot Mode',
-    pivotChart: 'Pivot Chart',
-    chartRange: 'Chart Range',
+  // Enterprise Menu (Charts)
+  pivotChartAndPivotMode: 'Pivot Chart & Pivot Mode',
+  pivotChart: 'Pivot Chart',
+  chartRange: 'Chart Range',
 
-    columnChart: 'Column',
-    groupedColumn: 'Grouped',
-    stackedColumn: 'Stacked',
-    normalizedColumn: '100% Stacked',
+  columnChart: 'Column',
+  groupedColumn: 'Grouped',
+  stackedColumn: 'Stacked',
+  normalizedColumn: '100% Stacked',
 
-    barChart: 'Bar',
-    groupedBar: 'Grouped',
-    stackedBar: 'Stacked',
-    normalizedBar: '100% Stacked',
+  barChart: 'Bar',
+  groupedBar: 'Grouped',
+  stackedBar: 'Stacked',
+  normalizedBar: '100% Stacked',
 
-    pieChart: 'Pie',
-    pie: 'Pie',
-    doughnut: 'Doughnut',
+  pieChart: 'Pie',
+  pie: 'Pie',
+  doughnut: 'Doughnut',
 
-    line: 'Line',
+  line: 'Line',
 
-    xyChart: 'X Y (Scatter)',
-    scatter: 'Scatter',
-    bubble: 'Bubble',
+  xyChart: 'X Y (Scatter)',
+  scatter: 'Scatter',
+  bubble: 'Bubble',
 
-    areaChart: 'Area',
-    area: 'Area',
-    stackedArea: 'Stacked',
-    normalizedArea: '100% Stacked',
+  areaChart: 'Area',
+  area: 'Area',
+  stackedArea: 'Stacked',
+  normalizedArea: '100% Stacked',
 
-    histogramChart: 'Histogram',
+  histogramChart: 'Histogram',
 
-    // Charts
-    pivotChartTitle: 'Pivot Chart',
-    rangeChartTitle: 'Range Chart',
-    settings: 'Settings',
-    data: 'Data',
-    format: 'Format',
-    categories: 'Categories',
-    defaultCategory: '(None)',
-    series: 'Series',
-    xyValues: 'X Y Values',
-    paired: 'Paired Mode',
-    axis: 'Axis',
-    navigator: 'Navigator',
-    color: 'Color',
-    thickness: 'Thickness',
-    xType: 'X Type',
-    automatic: 'Automatic',
-    category: 'Category',
-    number: 'Number',
-    time: 'Time',
-    xRotation: 'X Rotation',
-    yRotation: 'Y Rotation',
-    ticks: 'Ticks',
-    width: 'Width',
-    height: 'Height',
-    length: 'Length',
-    padding: 'Padding',
-    spacing: 'Spacing',
-    chart: 'Chart',
-    title: 'Title',
-    titlePlaceholder: 'Chart title - double click to edit',
-    background: 'Background',
-    font: 'Font',
-    top: 'Top',
-    right: 'Right',
-    bottom: 'Bottom',
-    left: 'Left',
-    labels: 'Labels',
-    size: 'Size',
-    minSize: 'Minimum Size',
-    maxSize: 'Maximum Size',
-    legend: 'Legend',
-    position: 'Position',
-    markerSize: 'Marker Size',
-    markerStroke: 'Marker Stroke',
-    markerPadding: 'Marker Padding',
-    itemSpacing: 'Item Spacing',
-    itemPaddingX: 'Item Padding X',
-    itemPaddingY: 'Item Padding Y',
-    layoutHorizontalSpacing: 'Horizontal Spacing',
-    layoutVerticalSpacing: 'Vertical Spacing',
-    strokeWidth: 'Stroke Width',
-    offset: 'Offset',
-    offsets: 'Offsets',
-    tooltips: 'Tooltips',
-    callout: 'Callout',
-    markers: 'Markers',
-    shadow: 'Shadow',
-    blur: 'Blur',
-    xOffset: 'X Offset',
-    yOffset: 'Y Offset',
-    lineWidth: 'Line Width',
-    normal: 'Normal',
-    bold: 'Bold',
-    italic: 'Italic',
-    boldItalic: 'Bold Italic',
-    predefined: 'Predefined',
-    fillOpacity: 'Fill Opacity',
-    strokeOpacity: 'Line Opacity',
-    histogramBinCount: 'Bin count',
-    columnGroup: 'Column',
-    barGroup: 'Bar',
-    pieGroup: 'Pie',
-    lineGroup: 'Line',
-    scatterGroup: 'X Y (Scatter)',
-    areaGroup: 'Area',
-    histogramGroup: 'Histogram',
-    groupedColumnTooltip: 'Grouped',
-    stackedColumnTooltip: 'Stacked',
-    normalizedColumnTooltip: '100% Stacked',
-    groupedBarTooltip: 'Grouped',
-    stackedBarTooltip: 'Stacked',
-    normalizedBarTooltip: '100% Stacked',
-    pieTooltip: 'Pie',
-    doughnutTooltip: 'Doughnut',
-    lineTooltip: 'Line',
-    groupedAreaTooltip: 'Area',
-    stackedAreaTooltip: 'Stacked',
-    normalizedAreaTooltip: '100% Stacked',
-    scatterTooltip: 'Scatter',
-    bubbleTooltip: 'Bubble',
-    histogramTooltip: 'Histogram',
-    noDataToChart: 'No data available to be charted.',
-    pivotChartRequiresPivotMode: 'Pivot Chart requires Pivot Mode enabled.',
-    chartSettingsToolbarTooltip: 'Menu',
-    chartLinkToolbarTooltip: 'Linked to Grid',
-    chartUnlinkToolbarTooltip: 'Unlinked from Grid',
-    chartDownloadToolbarTooltip: 'Download Chart',
+  // Charts
+  pivotChartTitle: 'Pivot Chart',
+  rangeChartTitle: 'Range Chart',
+  settings: 'Settings',
+  data: 'Data',
+  format: 'Format',
+  categories: 'Categories',
+  defaultCategory: '(None)',
+  series: 'Series',
+  xyValues: 'X Y Values',
+  paired: 'Paired Mode',
+  axis: 'Axis',
+  navigator: 'Navigator',
+  color: 'Color',
+  thickness: 'Thickness',
+  xType: 'X Type',
+  automatic: 'Automatic',
+  category: 'Category',
+  number: 'Number',
+  time: 'Time',
+  xRotation: 'X Rotation',
+  yRotation: 'Y Rotation',
+  ticks: 'Ticks',
+  width: 'Width',
+  height: 'Height',
+  length: 'Length',
+  padding: 'Padding',
+  spacing: 'Spacing',
+  chart: 'Chart',
+  title: 'Title',
+  titlePlaceholder: 'Chart title - double click to edit',
+  background: 'Background',
+  font: 'Font',
+  top: 'Top',
+  right: 'Right',
+  bottom: 'Bottom',
+  left: 'Left',
+  labels: 'Labels',
+  size: 'Size',
+  minSize: 'Minimum Size',
+  maxSize: 'Maximum Size',
+  legend: 'Legend',
+  position: 'Position',
+  markerSize: 'Marker Size',
+  markerStroke: 'Marker Stroke',
+  markerPadding: 'Marker Padding',
+  itemSpacing: 'Item Spacing',
+  itemPaddingX: 'Item Padding X',
+  itemPaddingY: 'Item Padding Y',
+  layoutHorizontalSpacing: 'Horizontal Spacing',
+  layoutVerticalSpacing: 'Vertical Spacing',
+  strokeWidth: 'Stroke Width',
+  offset: 'Offset',
+  offsets: 'Offsets',
+  tooltips: 'Tooltips',
+  callout: 'Callout',
+  markers: 'Markers',
+  shadow: 'Shadow',
+  blur: 'Blur',
+  xOffset: 'X Offset',
+  yOffset: 'Y Offset',
+  lineWidth: 'Line Width',
+  normal: 'Normal',
+  bold: 'Bold',
+  italic: 'Italic',
+  boldItalic: 'Bold Italic',
+  predefined: 'Predefined',
+  fillOpacity: 'Fill Opacity',
+  strokeOpacity: 'Line Opacity',
+  histogramBinCount: 'Bin count',
+  columnGroup: 'Column',
+  barGroup: 'Bar',
+  pieGroup: 'Pie',
+  lineGroup: 'Line',
+  scatterGroup: 'X Y (Scatter)',
+  areaGroup: 'Area',
+  histogramGroup: 'Histogram',
+  groupedColumnTooltip: 'Grouped',
+  stackedColumnTooltip: 'Stacked',
+  normalizedColumnTooltip: '100% Stacked',
+  groupedBarTooltip: 'Grouped',
+  stackedBarTooltip: 'Stacked',
+  normalizedBarTooltip: '100% Stacked',
+  pieTooltip: 'Pie',
+  doughnutTooltip: 'Doughnut',
+  lineTooltip: 'Line',
+  groupedAreaTooltip: 'Area',
+  stackedAreaTooltip: 'Stacked',
+  normalizedAreaTooltip: '100% Stacked',
+  scatterTooltip: 'Scatter',
+  bubbleTooltip: 'Bubble',
+  histogramTooltip: 'Histogram',
+  noDataToChart: 'No data available to be charted.',
+  pivotChartRequiresPivotMode: 'Pivot Chart requires Pivot Mode enabled.',
+  chartSettingsToolbarTooltip: 'Menu',
+  chartLinkToolbarTooltip: 'Linked to Grid',
+  chartUnlinkToolbarTooltip: 'Unlinked from Grid',
+  chartDownloadToolbarTooltip: 'Download Chart',
 
-    // ARIA
-    ariaHidden: 'hidden',
-    ariaVisible: 'visible',
-    ariaChecked: 'checked',
-    ariaUnchecked: 'unchecked',
-    ariaIndeterminate:'indeterminate',
-    ariaColumnSelectAll: 'Toggle Select All Columns',
-    ariaInputEditor: 'Input Editor',
-    ariaDateFilterInput: 'Date Filter Input',
-    ariaFilterInput: 'Filter Input',
-    ariaFilterColumnsInput: 'Filter Columns Input',
-    ariaFilterValue: 'Filter Value',
-    ariaFilterFromValue: 'Filter from value',
-    ariaFilterToValue: 'Filter to value',
-    ariaFilteringOperator: 'Filtering Operator',
-    ariaColumnToggleVisibility: 'column toggle visibility',
-    ariaColumnGroupToggleVisibility: 'column group toggle visibility',
-    ariaRowSelect: 'Press SPACE to select this row',
-    ariaRowDeselect: 'Press SPACE to deselect this row',
-    ariaRowToggleSelection: 'Press Space to toggle row selection',
-    ariaRowSelectAll: 'Press Space to toggle all rows selection',
-    ariaSearch: 'Search',
-    ariaSearchFilterValues: 'Search filter values'
+  // ARIA
+  ariaHidden: 'hidden',
+  ariaVisible: 'visible',
+  ariaChecked: 'checked',
+  ariaUnchecked: 'unchecked',
+  ariaIndeterminate: 'indeterminate',
+  ariaColumnSelectAll: 'Toggle Select All Columns',
+  ariaInputEditor: 'Input Editor',
+  ariaDateFilterInput: 'Date Filter Input',
+  ariaFilterInput: 'Filter Input',
+  ariaFilterColumnsInput: 'Filter Columns Input',
+  ariaFilterValue: 'Filter Value',
+  ariaFilterFromValue: 'Filter from value',
+  ariaFilterToValue: 'Filter to value',
+  ariaFilteringOperator: 'Filtering Operator',
+  ariaColumnToggleVisibility: 'column toggle visibility',
+  ariaColumnGroupToggleVisibility: 'column group toggle visibility',
+  ariaRowSelect: 'Press SPACE to select this row',
+  ariaRowDeselect: 'Press SPACE to deselect this row',
+  ariaRowToggleSelection: 'Press Space to toggle row selection',
+  ariaRowSelectAll: 'Press Space to toggle all rows selection',
+  ariaSearch: 'Search',
+  ariaSearchFilterValues: 'Search filter values'
 }

+ 2 - 2
src/views/ncs-chars/info.vue

@@ -107,7 +107,7 @@ export default {
     },
     exportExcel() {
       const _this = this
-      this.$confirm('将导出Excel文件,是否继续?', '提示', {
+      this.$confirm(this.$t('interaction.excelFileMsg'), this.$t('action.tips'), {
         type: 'warning'
       }).then(() => {
         _this.loading = false
@@ -115,7 +115,7 @@ export default {
           const tHeader = [this.sssparams.eventType ? this.$t('member.name') : this.$t('tcpType.EVENT'), this.$t('interaction.actionTime'),
             this.$t('interaction.unSuccessTime'), this.$t('interaction.avgResponseNum'), this.$t('interaction.MinNum'), this.$t('interaction.MaxNum')] // 表头
           const filterVal = ['name', 'num', 'error_num', 'avg_num', 'min_num', 'max_num']
-          const tit = this.infoName + '事件统计表'
+          const tit = this.infoName + this.$t('interaction.statisticalTable')
           const data = _this.formatJson(filterVal, this.userActionList)
           excel.export_json_to_excel({
             header: tHeader,