Browse Source

fix typo

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 1 year ago
parent
commit
24f8161b10

+ 2 - 2
client/src/i18n/cn/collection.ts

@@ -17,7 +17,7 @@ const collectionTrans = {
   downloadDisabledTooltip: 'Please query data before exporting',
 
   collection: 'Collection',
-  entites: 'entites',
+  entities: 'entities',
 
   // table
   id: 'ID',
@@ -81,7 +81,7 @@ const collectionTrans = {
 
   // delete dialog
   deleteWarning: `You are trying to delete a collection with data. This action cannot be undone.`,
-  deleteDataWarning: `You are trying to delete entites. This action cannot be undone.`,
+  deleteDataWarning: `You are trying to delete entities. This action cannot be undone.`,
   deleteAliasWarning: `You are trying to drop an alias. This action cannot be undone.`,
 
   // collection tabs

+ 1 - 1
client/src/i18n/cn/overview.ts

@@ -1,7 +1,7 @@
 const overviewTrans = {
   load: 'Loaded Collections',
   all: 'All Collections',
-  data: 'Entites',
+  data: 'Entities',
   rows: '{{number}}',
   loading: 'Loading Collections',
 };

+ 2 - 2
client/src/i18n/en/collection.ts

@@ -17,7 +17,7 @@ const collectionTrans = {
   downloadDisabledTooltip: 'Please query data before exporting',
 
   collection: 'Collection',
-  entites: 'entites',
+  entities: 'entities',
 
   // table
   id: 'ID',
@@ -81,7 +81,7 @@ const collectionTrans = {
 
   // delete dialog
   deleteWarning: `You are trying to delete a collection with data. This action cannot be undone.`,
-  deleteDataWarning: `You are trying to delete entites. This action cannot be undone.`,
+  deleteDataWarning: `You are trying to delete entities. This action cannot be undone.`,
   deleteAliasWarning: `You are trying to drop an alias. This action cannot be undone.`,
 
   // collection tabs

+ 2 - 2
client/src/pages/query/Query.tsx

@@ -139,7 +139,7 @@ const Query: FC<{
         .join(',')}]`,
     });
     handleCloseDialog();
-    openSnackBar(successTrans('delete', { name: collectionTrans('entites') }));
+    openSnackBar(successTrans('delete', { name: collectionTrans('entities') }));
     handleQuery(expression);
   };
 
@@ -155,7 +155,7 @@ const Query: FC<{
               <DeleteTemplate
                 label={btnTrans('drop')}
                 title={dialogTrans('deleteTitle', {
-                  type: collectionTrans('entites'),
+                  type: collectionTrans('entities'),
                 })}
                 text={collectionTrans('deleteDataWarning')}
                 handleDelete={handleDelete}