소스 검색

sync i18n files

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 1 년 전
부모
커밋
96fd2c8311

+ 11 - 18
client/src/i18n/en/collection.ts

@@ -4,7 +4,7 @@ const collectionTrans = {
 
   rowCount: 'Approx Entity Count',
 
-  create: 'Collection',
+  create: 'Create Collection',
   delete: 'delete',
   deleteTooltip: 'Please select at least one item to delete.',
   rename: 'rename',
@@ -13,8 +13,7 @@ const collectionTrans = {
   alias: 'Alias',
   aliasTooltip: 'Please select one collection to create alias',
   download: 'Download',
-  downloadTooltip: 'Export all query results to CSV file',
-  downloadDisabledTooltip: 'Please query data before exporting',
+  downloadTooltip: 'Download all query results',
 
   collection: 'Collection',
   entites: 'entites',
@@ -41,16 +40,14 @@ const collectionTrans = {
   consistency: 'Consistency Level',
   consistencyLevel: 'Consistency Level',
   description: 'Description',
-  fieldType: 'Type',
+  fieldType: 'Field Type',
   vectorFieldType: 'Vector Field Type',
-  fieldName: 'Field',
-  idFieldName: 'Primary Key Field',
-  vectorFieldName: 'Vector Field',
+  fieldName: 'Field Name',
+  idFieldName: 'ID Name',
+  vectorFieldName: 'Vector Name',
   autoId: 'Auto ID',
-  autoIdToggleTip:
-    'Whether the primary key is automatically generated by Milvus, only suppport INT64.',
-  vectorType: 'Type',
-  idType: 'Type',
+  vectorType: 'Vector Type',
+  idType: 'ID Type',
   dimension: 'Dimension',
   dimensionTooltip: 'Only vector type has dimension',
   dimensionMutipleWarning: 'Dimension should be 8 multiple',
@@ -60,9 +57,6 @@ const collectionTrans = {
   nameContentWarning: 'Only numbers, letters, and underscores are allowed.',
   nameFirstLetterWarning:
     'Name first character must be underscore or character(a~z, A~Z)',
-  partitionKey: 'Partition Key',
-  partitionKeyTooltip:
-    ' Milvus will store entities in a partition according to the values in the partition key field. Only one Int64 or VarChar field is suppported.',
 
   // load dialog
   loadTitle: 'Load Collection',
@@ -90,16 +84,15 @@ const collectionTrans = {
   queryTab: 'Data Query',
   previewTab: 'Data Preview',
   startTip: 'Start your data query',
-  dataQuerylimits:
-    ' Please note that the maximum number of results for your data query is 16384.',
-  exprPlaceHolder: 'Please enter your data query, for example id > 0',
+  exprPlaceHolder: 'Please enter your query by using advanced filter ->',
 
   // alias dialog
   aliasCreatePlaceholder: 'Alias name',
 
   // rename dialog
   newColNamePlaceholder: 'New Collection Name',
-  newNameInfo: 'Only numbers, letters, and underscores are allowed.',
+  newNameInfo:
+    'Only numbers, letters, and underscores are allowed.',
 };
 
 export default collectionTrans;

+ 0 - 1
client/src/i18n/en/common.ts

@@ -22,7 +22,6 @@ const commonTrans = {
     action: 'action',
     noData: 'No Data',
     rows: 'Rows',
-    results: 'results',
     of: 'of',
     nextLabel: 'next page',
     prevLabel: 'prev page',

+ 1 - 2
client/src/i18n/en/database.ts

@@ -1,7 +1,6 @@
 const databaseTrans = {
-  createTitle: 'Create Database',
+  createTitle: 'Create database',
   databases: 'Databases',
-  database: 'Database',
   deleteWarning:
     'You are trying to drop a database. This action cannot be undone.',
   databaseName: 'Database Name',

+ 1 - 1
client/src/i18n/en/index.ts

@@ -2,7 +2,7 @@ const indexTrans = {
   type: 'Index Type',
   param: 'Index Parameters',
 
-  create: 'Index',
+  create: 'Create Index',
   index: 'Index',
   desc: 'Description',
 

+ 2 - 3
client/src/i18n/en/nav.ts

@@ -1,11 +1,10 @@
 const navTrans = {
   overview: 'Overview',
-  collection: 'Collections',
+  collection: 'Collection',
   console: 'Search Console',
   search: 'Vector Search',
   system: 'System View',
-  user: 'Users',
-  database: 'Databases',
+  user: 'User',
 };
 
 export default navTrans;

+ 1 - 1
client/src/i18n/en/partition.ts

@@ -1,5 +1,5 @@
 const partitionTrans = {
-  create: 'Partition',
+  create: 'Create Partition',
   delete: 'Delete partition',
 
   partition: 'Partition',

+ 2 - 24
client/src/i18n/en/user.ts

@@ -1,9 +1,7 @@
 const userTrans = {
   createTitle: 'Create User',
-  updateTitle: 'Update Milvus User',
-  updateRoleTitle: 'Update User Roles',
+  updateTitle: 'Update User',
   user: 'User',
-  users: 'Users',
   deleteWarning: 'You are trying to drop user. This action cannot be undone.',
   oldPassword: 'Current Password',
   newPassword: 'New Password',
@@ -11,27 +9,7 @@ const userTrans = {
   update: 'Update password',
   isNotSame: 'Not same as new password',
   deleteTip:
-    'Please select at least one item to drop and the root user can not be dropped.',
-
-  // role
-  deleteEditRoleTip: 'root role is not editable.',
-  disableEditRolePrivilegeTip: 'admin and public role are not editable.',
-
-  role: 'Role',
-  editRole: 'Edit Role',
-  roles: 'Roles',
-  createRoleTitle: 'Create Role',
-  updateRolePrivilegeTitle: 'Update Role',
-  updateRoleSuccess: 'User Role',
-  type: 'Type',
-
-  // Privileges
-  privileges: 'Privileges',
-  objectCollection: 'Collection',
-  objectGlobal: 'Global',
-  objectUser: 'User',
-
-  forceDelLabel: 'Force delete, revoke all privileges.',
+    'Please select at least one item to drop and root can not be dropped.',
 };
 
 export default userTrans;