tangning 1 yıl önce
ebeveyn
işleme
de3a50de42

+ 3 - 2
src/locales/lang/en/common.ts

@@ -11,6 +11,7 @@ export default {
 
   inputText: 'Please enter',
   chooseText: 'Please choose',
+  edit: 'Edit',
 
   redo: 'Refresh',
   back: 'Back',
@@ -18,6 +19,6 @@ export default {
   no: 'no',
   light: 'Light',
   dark: 'Dark',
-  reminder:'reminder',
-  operating:'Operation',
+  reminder: 'reminder',
+  operating: 'Operation',
 };

+ 29 - 24
src/locales/lang/en/routes/retailer.ts

@@ -1,28 +1,33 @@
 export default {
-  name: '分销商名称',
-  add: '新增分销商',
-  setName: '权益设置',
-  nickName: '联系人',
-  userName: '请输入四维看看账号',
-  userId: '账号',
-  tips: '该账号不存在',
-  jxs: '经销商',
-  fxs: '分销商',
-  majorAddNum: '专业会员(年):剩余可售 {value} 年,本次新增 (年数)',
-  highAddNum: '高级会员(月):剩余可售 {value} 年,本次新增 (月数)',
-  downAddNum: '场景下载(次):剩余可售 {value} 年,本次新增 (次数)',
-  ff: '分发',
-  allff: '设备批量分发',
-  majorTotalNum: '剩余专业会员年数',
-  highTotalNum: '剩余高级会员月数',
-  downTotalNum: '剩余场景下载次数',
-  createName: '创建人',
-  createTime: '创建时间',
+  name: 'Distributor Name',
+  add: 'Add New Distributor',
+  setName: 'Membership Settings',
+  nickName: 'Contact',
+  userName: 'Please enter your 4DKanKan account',
+  userId: 'Account',
+  tips: 'This account does not exist',
+  jxs: 'Distributor',
+  fxs: 'Reseller',
+  majorAddNum:
+    'Premium Membership (Annual):  {value} years available for sale,  (years) years added at this time',
+  highAddNum:
+    'Senior Membership (Monthly):  {value} months available for sale,  (months) months added at this time',
+  downAddNum:
+    'Project Downloads (Times):  {value} times available for sale, (times) times added at this time',
+  ff: 'Distribute',
+  allff: 'Device Bulk Distribution',
+  majorTotalNum: 'Remaining Years of Premium Membership',
+  highTotalNum: 'Remaining Months of Senior Membership',
+  downTotalNum: 'Remaining Project Downloads',
+  createName: 'Creator',
+  createTime: 'Create Time',
   form: {
-    name: '分销商名称',
-    nickName: '联系人',
-    userName: '请输入四维看看账号',
-    userId: '账号',
-    tips: '该账号不存在',
+    name: 'Distributor Name',
+    nickName: 'Contact',
+    userName: 'Please enter your 4DKanKan account',
+    userId: 'Account',
+    tips: 'This account does not exist',
+    enable: 'Enable',
+    stopUsing: 'Deactivate',
   },
 };

+ 2 - 0
src/locales/lang/zh-CN/routes/retailer.ts

@@ -24,5 +24,7 @@ export default {
     userName: '请输入四维看看账号',
     userId: '账号',
     tips: '该账号不存在',
+    enable: '启用',
+    stopUsing: '停用',
   },
 };

+ 2 - 2
src/views/retailer/index.vue

@@ -143,8 +143,8 @@
             }
             return h(Switch, {
               checked: record.status == '1',
-              checkedChildren: t('routes.system.enable'),
-              unCheckedChildren: t('routes.system.stopUsing'),
+              checkedChildren: t('routes.retailer.form.enable'),
+              unCheckedChildren: t('routes.retailer.form.stopUsing'),
               loading: false,
               onChange: async (checked: boolean) => {
                 record.pendingStatus = true;