constants.js 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. import i18n from '@/locales'
  2. export const ResourceKeyLabelsMap = {
  3. name: i18n.t('common_186'),
  4. ip: 'IP',
  5. ips: 'IPs',
  6. cloudaccount_id: i18n.t('common_295') + ' ID',
  7. account: i18n.t('common_295'),
  8. account_id: i18n.t('common_295') + ' ID',
  9. vm_id: i18n.t('common_239') + ' ID',
  10. brand: i18n.t('common_283'),
  11. cloudregion: i18n.t('common_282'),
  12. cloudregion_id: i18n.t('common_282') + ' ID',
  13. domain_id: i18n.t('common_437') + ' ID',
  14. host: i18n.t('common_305'),
  15. host_id: i18n.t('common_305') + ' ID',
  16. host_type: i18n.t('common_56'),
  17. os_type: i18n.t('scope.text_27'),
  18. project_domain: i18n.t('table.title.owner_domain'),
  19. region_ext_id: i18n.t('compute.external_region') + ' ID',
  20. status: i18n.t('scope.text_426'),
  21. tenant: i18n.t('dictionary.project'),
  22. tenant_id: i18n.t('dictionary.project') + ' ID',
  23. res_type: i18n.t('common.resource_type'),
  24. vcpu_count: 'CPU',
  25. vmem_size: i18n.t('compute.text_168'),
  26. vpc: 'VPC',
  27. vpc_id: 'VPC ID',
  28. zone: i18n.t('scope.text_22'),
  29. zone_id: i18n.t('scope.text_22') + ' ID',
  30. hostname: i18n.t('common_186'),
  31. }