Browse Source

update nls

shanghaikid 2 years ago
parent
commit
aac67f0973

+ 1 - 0
client/src/i18n/cn/button.ts

@@ -23,6 +23,7 @@ const btnTrans = {
   loading: 'Loading...',
   importing: 'Importing...',
   example: 'Example',
+  rename: 'Rename',
 };
 
 export default btnTrans;

+ 12 - 1
client/src/i18n/cn/collection.ts

@@ -7,6 +7,9 @@ const collectionTrans = {
   create: 'Create Collection',
   delete: 'delete',
   deleteTooltip: 'Please select at least one item to delete.',
+  rename: 'rename',
+  renameTooltip: 'Please select one item to rename.',
+  newColName: 'New Collection Name',
   alias: 'Alias',
   aliasTooltip: 'Please select one collection to create alias',
   download: 'Download',
@@ -58,8 +61,11 @@ const collectionTrans = {
   // load dialog
   loadTitle: 'Load Collection',
   loadContent:
-    'You are trying to load a collection with data. Only loaded collection can be searched.',
+    'All search and query operations within Milvus are executed in memory, only loaded collection can be searched.',
   loadConfirmLabel: 'Load',
+  replicaNum: 'Replica number',
+  replicaDes: `With in-memory replicas, Milvus can load the same segment on multiple query nodes. The replica number can not exceed query node count.`,
+  enableRepica: `Enable in-memory replica`,
 
   // release dialog
   releaseTitle: 'Release Collection',
@@ -82,6 +88,11 @@ const collectionTrans = {
 
   // alias dialog
   aliasCreatePlaceholder: 'Alias name',
+
+  // rename dialog
+  newColNamePlaceholder: 'New Collection Name',
+  newNameInfo:
+    'Only numbers, letters, and underscores are allowed.',
 };
 
 export default collectionTrans;

+ 1 - 0
client/src/i18n/cn/dialog.ts

@@ -2,6 +2,7 @@ const dialogTrans = {
   deleteTipAction: 'Type',
   deleteTipPurpose: 'to confirm.',
   deleteTitle: `Drop {{type}}`,
+  renameTitle: `Rename {{type}}`,
   releaseTitle: `Release {{type}}`,
   createAlias: `Create alias for {{type}}`,
   loadTitle: `Load {{type}}`,

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

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

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

@@ -1,7 +1,7 @@
 const prometheusTrans = {
   ready: 'Prometheus is ready.',
   invalid: 'Prometheus configuration is invalid.',
-  
+
   totalCount: 'Total Count',
   searchCount: 'Search Count',
   searchLatency: 'Search Latency',

+ 1 - 0
client/src/i18n/cn/success.ts

@@ -5,6 +5,7 @@ const successTrans = {
   delete: `{{name}} successfully dropped.`,
   release: `{{name}} has been released.`,
   update: `{{name}} has been updated.`,
+  rename: `{{name}} has been renamed.`,
 };
 
 export default successTrans;

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

@@ -5,7 +5,7 @@ const successTrans = {
   delete: `{{name}} successfully dropped.`,
   release: `{{name}} has been released.`,
   update: `{{name}} has been updated.`,
-  rename: `{{name}} has been updated.`,
+  rename: `{{name}} has been renamed.`,
 };
 
 export default successTrans;