tangning 8 meses atrás
pai
commit
52f44814a5
3 arquivos alterados com 27 adições e 5 exclusões
  1. 2 2
      .env
  2. 22 0
      src/locales/lang/en/common.ts
  3. 3 3
      src/views/case/list.vue

+ 2 - 2
.env

@@ -2,7 +2,7 @@
 VITE_PORT = 3100
 
 # spa-title
-VITE_GLOB_APP_TITLE = Multispace Platform
+VITE_GLOB_APP_TITLE = Multi Space Platform
 
 # spa shortname
-VITE_GLOB_APP_SHORT_NAME = Multispace Platform
+VITE_GLOB_APP_SHORT_NAME = Multi Space Platform

+ 22 - 0
src/locales/lang/en/common.ts

@@ -18,4 +18,26 @@ export default {
 
   light: 'Light',
   dark: 'Dark',
+  unusual: 'Exception',
+  operation: 'Operation',
+  normal: 'Normal',
+  unNormal: 'Abnormal',
+  state: 'Status',
+  type: 'Type',
+  fullName: 'Employee Name',
+  print: 'Printing',
+  all: 'All',
+  tips: 'Reminder',
+  optSuccess: 'Operation successful',
+  optFail: 'Operation failed!',
+  notConnect: 'Not yet connected',
+  delConfirm: 'Are you sure to delete',
+  mobile: 'Mobile phone',
+  phone: 'Please provide your mobile phone number',
+  phoneError: 'Please fill in your phone number correctly',
+  staffPhoneError: 'Please fill in your business account correctly',
+  uploadMessge: 'Please select Upload File',
+  userNick: 'Please enter the employee name',
+  userCorrectNameNick: 'Please enter the correct employee name',
+  warning: 'Warning',
 };

+ 3 - 3
src/views/case/list.vue

@@ -347,12 +347,12 @@
       }
       async function handleDelete(record: Recordable) {
         createConfirm({
-          title: '删除',
-          content: '确定要删除吗?',
+          title: t('common.delText'),
+          content: t('common.delConfirm'),
           onOk: async () => {
           caseDelApi({ caseId: record.caseId }).then(() => {
           message.success({
-            content: '删除成功',
+            content: t('common.optSuccess'),
           });
 
           reload();