Handy_Cao 1 rok temu
rodzic
commit
6ce544ac18

+ 8 - 8
public/locales/en-US.json

@@ -977,20 +977,20 @@
         "Pleaseenterbankaccountname": "Please enter bank account name",
         "Pleaseenterbankaccountno": "Please enter bank account no",
         "youhavenotaddedasignedaccount": "You have not added a signed account",
-        "fundstype": "fundstype",
+        "fundstype": "FundsType",
         "pleasechoicefundstype": "Please choice funds type",
-        "time": "time",
-        "operatetype": "operatetype",
-        "amount": "amount",
+        "time": "Time",
+        "operatetype": "OperateType",
+        "amount": "Amount",
         "bankaccountno": "BankAccountNo",
-        "verificationcode": "verify code",
-        "sendagain": "send again",
-        "sendfailure": "send failure",
+        "verificationcode": "VerifyCode",
+        "sendagain": "Send Again",
+        "sendfailure": "Send Failure",
         "Pleaseenterbranchbankname": "Please enter branch bankname",
         "Pleaseenterbranchbankno": "Please enter branch bankno",
         "submitsuccess1": "Modification and submission of signing information was successful.",
         "submitsuccess2": "The signing was successfully submitted, please confirm the result later.",
-        "tips1": "'Please add the signing account information first!",
+        "tips1": "Please add the signing account information first!",
         "tips2": "Go Bank Sign",
         "tips3": "Please authenticate your real name first, and then proceed with this operation!",
         "tips4": "Go Authentication",

+ 1 - 1
public/locales/zh-CN.json

@@ -992,7 +992,7 @@
         "Pleaseenterbranchbankno": "请输入开户行支行号",
         "submitsuccess1": "签约信息修改提交成功。",
         "submitsuccess2": "签约提交成功,请稍后确认结果。",
-        "tips1": "'请先添加签约账户信息!",
+        "tips1": "请先添加签约账户信息!",
         "tips2": "去签约",
         "tips3": "请先实名认证,再进行该操作!",
         "tips4": "去实名",

+ 4 - 0
src/packages/mobile/views/mine/setting/Index.vue

@@ -32,12 +32,16 @@
 import { Cell, CellGroup } from 'vant'
 import AppIconfont from '@/components/base/iconfont/index.vue'
 import { i18n } from '@/stores'
+import { Locale } from 'vant'
+import enUS from 'vant/es/locale/lang/en-US'
 
 const changeLuanguage = () => {
     if ( i18n.global.locale === 'zh-CN' ) {
         i18n.global.locale = 'en-US'
+        Locale.use('en-US', enUS)
     } else {
         i18n.global.locale = 'zh-CN'
+        Locale.use('zh-CN', enUS)
     }
 }