collection.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. const collectionTrans = {
  2. noLoadData: 'No Loaded Collection',
  3. noData: 'No Collection',
  4. rowCount: 'Entity Count',
  5. tooltip: 'data in one entity',
  6. create: 'Create Collection',
  7. delete: 'delete',
  8. collection: 'Collection',
  9. // table
  10. id: 'ID',
  11. name: 'Name',
  12. status: 'Status',
  13. desc: 'Description',
  14. // create dialog
  15. createTitle: 'Create Collection',
  16. general: '1. General Info',
  17. schema: '2. Define Schema',
  18. description: 'Description (Optional)',
  19. fieldType: 'Field Type',
  20. vectorFieldType: 'Vector Field Type',
  21. fieldName: 'Field Name',
  22. autoId: 'Auto ID',
  23. dimension: 'Dimension',
  24. dimensionTooltip: 'Only vector type has dimension',
  25. dimensionMutipleWarning: 'Dimension should be 8 multiple',
  26. dimensionPositiveWarning: 'Dimension should be positive number',
  27. newBtn: 'add new field',
  28. nameLengthWarning: 'Name length should be less than 256',
  29. nameContentWarning: 'Name can only contain numbers, letters, and underscores',
  30. nameFirstLetterWarning:
  31. 'Name first character must be underscore or character(a~z, A~Z)',
  32. // load dialog
  33. loadTitle: 'Load Collection',
  34. loadContent:
  35. 'You are trying to load a collection with data. Only loaded collection can be searched.',
  36. loadConfirmLabel: 'Load',
  37. // release dialog
  38. releaseTitle: 'Release Collection',
  39. releaseContent:
  40. 'You are trying to release a collection with data. Please be aware that the data will no longer be available for search.',
  41. releaseConfirmLabel: 'Release',
  42. // delete dialog
  43. deleteWarning:
  44. 'You are trying to delete a collection with data. This action cannot be undone.',
  45. // collection tabs
  46. partitionTab: 'Partitions',
  47. schemaTab: 'Schema',
  48. };
  49. export default collectionTrans;