Browse Source

feat: trans

lejianwen 9 months ago
parent
commit
24c480b2b7

+ 12 - 0
src/utils/i18n/en.json

@@ -507,5 +507,17 @@
507 507
   },
508 508
   "DeviceGroupManage": {
509 509
     "One": "Device Group Manage"
510
+  },
511
+  "Drop file here or click to upload": {
512
+    "One": "Drop file here or click to upload"
513
+  },
514
+  "Please upload csv file": {
515
+    "One": "Please upload csv file"
516
+  },
517
+  "Columns": {
518
+    "One": "Columns"
519
+  },
520
+  "You can reference export file": {
521
+    "One":  "You can reference export file"
510 522
   }
511 523
 }

+ 12 - 0
src/utils/i18n/es.json

@@ -507,5 +507,17 @@
507 507
   },
508 508
   "Result": {
509 509
     "One": "Resultado"
510
+  },
511
+  "Drop file here or click to upload": {
512
+    "One": "Suelte el archivo aquí o haga clic para cargar"
513
+  },
514
+  "Please upload csv file": {
515
+    "One": "Por favor, suba un archivo csv"
516
+  },
517
+  "Columns": {
518
+    "One": "Columnas"
519
+  },
520
+  "You can reference export file": {
521
+    "One": "Puede hacer referencia al archivo de exportación"
510 522
   }
511 523
 }

+ 12 - 0
src/utils/i18n/fr.json

@@ -510,5 +510,17 @@
510 510
   },
511 511
   "Result": {
512 512
     "One": "Résultat"
513
+  },
514
+  "Drop file here or click to upload": {
515
+    "One": "Déposez le fichier ici ou cliquez pour télécharger"
516
+  },
517
+  "Please upload csv file": {
518
+    "One": "Veuillez télécharger le fichier csv"
519
+  },
520
+  "Columns": {
521
+    "One": "Colonnes"
522
+  },
523
+  "You can reference export file": {
524
+    "One": "Vous pouvez vous référer au fichier d'exportation"
513 525
   }
514 526
 }

+ 12 - 0
src/utils/i18n/ko.json

@@ -493,5 +493,17 @@
493 493
   },
494 494
   "Result": {
495 495
     "One": "결과"
496
+  },
497
+  "Drop file here or click to upload": {
498
+    "One": "여기에 파일을 드롭하거나 클릭하여 업로드하십시오"
499
+  },
500
+  "Please upload csv file": {
501
+    "One": "csv 파일을 업로드하십시오"
502
+  },
503
+  "Columns": {
504
+    "One": "열"
505
+  },
506
+  "You can reference export file": {
507
+    "One": "내보내기 파일을 참조할 수 있습니다"
496 508
   }
497 509
 }

+ 12 - 0
src/utils/i18n/ru.json

@@ -507,6 +507,18 @@
507 507
   },
508 508
   "Result": {
509 509
     "One": "Результат"
510
+  },
511
+  "Drop file here or click to upload": {
512
+    "One": "Перетащите файл сюда или нажмите, чтобы загрузить"
513
+  },
514
+  "Please upload csv file": {
515
+    "One": "Пожалуйста, загрузите файл csv"
516
+  },
517
+  "Columns": {
518
+    "One": "Столбцы"
519
+  },
520
+  "You can reference export file": {
521
+    "One": "Вы можете ссылаться на экспортируемый файл"
510 522
   }
511 523
 }
512 524
 

+ 15 - 0
src/utils/i18n/zh_CN.json

@@ -526,5 +526,20 @@
526 526
   },
527 527
   "DeviceGroupManage": {
528 528
     "One": "设备组管理"
529
+  },
530
+  "Import": {
531
+    "One": "导入"
532
+  },
533
+  "Drop file here or click to upload": {
534
+    "One": "将文件拖到此处或单击上传"
535
+  },
536
+  "Please upload csv file": {
537
+    "One": "请上传csv文件"
538
+  },
539
+  "Columns": {
540
+    "One": "列"
541
+  },
542
+  "You can reference export file": {
543
+    "One": "您可以参考导出文件"
529 544
   }
530 545
 }

File diff suppressed because it is too large
+ 537 - 526
src/utils/i18n/zh_TW.json


+ 4 - 4
src/views/peer/index.vue

@@ -40,14 +40,14 @@
40 40
                 <upload-filled/>
41 41
               </el-icon>
42 42
               <div class="el-upload__text">
43
-                Drop file here or <em>click to upload</em>
43
+                {{ T('Drop file here or click to upload') }}
44 44
               </div>
45 45
               <template #tip>
46 46
                 <div class="el-upload__tip">
47
-                  please upload csv file <br>
48
-                  columns: <span style="font-weight: bold;font-size: 15px">id,cpu,hostname,memory,os,username,uuid,version,group_id</span>
47
+                  {{ T('Please upload csv file') }} <br>
48
+                  {{ T('Columns') }}: <span style="font-weight: bold;font-size: 15px">id,cpu,hostname,memory,os,username,uuid,version,group_id</span>
49 49
                   <br>
50
-                  <span>you can see export file</span>
50
+                  <span>{{ T('You can reference export file') }}</span>
51 51
                 </div>
52 52
 
53 53
               </template>