Handy_Cao 2 日 前
コミット
2c5a9f4b8d

+ 4 - 1
public/locales/en-US.json

@@ -1550,7 +1550,10 @@
             "tips5": "Password must be a combination of at least two types of characters and at least 6 characters long",
             "tips6": "New password and confirm password do not match",
             "tips7": "Sending failed",
-            "tips8": "Password reset successfully, please log in again."
+            "tips8": "Password reset successfully, please log in again.",
+            "email": "Email",
+            "code": "Verify-Code",
+            "tips9": "Please enter the email"
         },
         "cancel": {
             "title": "Account deletion",

+ 4 - 1
public/locales/th-TH.json

@@ -1553,7 +1553,10 @@
             "tips5": "รหัสผ่านต้องประกอบด้วยอักขระ 2 ประเภทขึ้นไป และต้องมีความยาวอย่างน้อย 6 ตัวอักษร",
             "tips6": "รหัสผ่านใหม่และรหัสยืนยันไม่ตรงกัน",
             "tips7": "การส่งล้มเหลว",
-            "tips8": "รีเซ็ตรหัสผ่านสำเร็จ กรุณาเข้าสู่ระบบใหม่"
+            "tips8": "รีเซ็ตรหัสผ่านสำเร็จ กรุณาเข้าสู่ระบบใหม่",
+            "email": "郵箱地址",
+            "code": "驗證碼",
+            "tips9": "請輸入郵箱地址"
         },
         "cancel": {
             "title": "ยกเลิกการให้บริการ",

+ 4 - 1
public/locales/vi-VN.json

@@ -1550,7 +1550,10 @@
             "tips5": "Mật khẩu phải bao gồm ít nhất hai loại kí tự và có độ dài tối thiểu 6 kí tự",
             "tips6": "Mật khẩu mới và xác nhận mật khẩu không khớp",
             "tips7": "Gửi thất bại",
-            "tips8": "Đặt lại mất khẩu thành công, vui lòng đăng nhập lại"
+            "tips8": "Đặt lại mất khẩu thành công, vui lòng đăng nhập lại",
+            "email": "郵箱地址",
+            "code": "驗證碼",
+            "tips9": "請輸入郵箱地址"
         },
         "cancel": {
             "title": "Hủy dịch vụ",

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

@@ -1553,7 +1553,10 @@
             "tips5": "密码必须是任意两种字符组合,长度最少6位",
             "tips6": "新密码和确认密码不一致",
             "tips7": "发送失败",
-            "tips8": "密码重置成功,请重新登录。"
+            "tips8": "密码重置成功,请重新登录。",
+            "email": "邮箱地址",
+            "code": "验证码",
+            "tips9": "请输入邮箱地址"
         },
         "cancel": {
             "title": "注销服务",

+ 4 - 1
public/locales/zh-TW.json

@@ -1553,7 +1553,10 @@
             "tips5": "密碼必須是任意兩種字符組合,長度最少6位",
             "tips6": "新密碼和確認密碼不一致",
             "tips7": "發送失敗",
-            "tips8": "密碼重置成功,請重新登錄。"
+            "tips8": "密碼重置成功,請重新登錄。",
+            "email": "郵箱地址",
+            "code": "驗證碼",
+            "tips9": "請輸入郵箱地址"
         },
         "cancel": {
             "title": "註銷服務",

+ 1 - 1
src/packages/mobile/views/account/authresult/Index.vue

@@ -10,7 +10,7 @@
                     :value="getCertificateTypeCodeName(userInfo.cardtypeid)" />
                 <Cell :title="t('user.authentication.cardnum')" :value="userInfo.cardnum" />
                 <Cell :title="t('banksign.mobilephone')" :value="userInfo.mobile2" v-if="userInfo.mobile2" />
-                <Cell title="邮箱地址" :value="userInfo.email" v-if="userInfo.email" />
+                <Cell :title="t('user.forget.email')" :value="userInfo.email" v-if="userInfo.email" />
                 <Cell :title="t('banksign.bankname1')" :value="userInfo.bankbankname" v-if="userInfo.bankbankname" />
                 <Cell :title="t('banksign.bankno')" :value="userInfo.bankaccount" v-if="userInfo.bankaccount" />
                 <Cell v-if="userInfo.cardfrontphotourl"

+ 4 - 1
src/packages/mobile/views/rules/fxgzs/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view background="primary">
         <template #header>
-            <app-navbar title="用户开户风险告知书" />
+            <app-navbar :title="t('user.login.rulesyhkhfxgzs')" />
         </template>
         <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(document?.documentcontent)" />
     </app-view>
@@ -11,6 +11,9 @@
 import { useCommonStore } from '@/stores/modules/common'
 import HtmlContainer from '@mobile/components/base/html-container/index.vue'
 import { formatHtmlString } from '@/filters'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const commonStore = useCommonStore()
 const document = commonStore.getDocumentById(5)

+ 4 - 4
src/packages/mobile/views/user/forget/Index.vue

@@ -30,9 +30,9 @@
                 </Field>
             </CellGroup>
             <CellGroup :inset="insetStyle" v-if="selectedMethod === 2">
-                <Field name="email" label="邮箱地址" v-model="formData.mobile" :placeholder="t('common.required')"
+                <Field name="email" :label="t('user.forget.email')" v-model="formData.mobile" :placeholder="t('common.required')"
                     :rules="formRules.email" />
-                <Field v-model="formData.vcode" type="digit" name="vcode" label="验证码"
+                <Field v-model="formData.vcode" type="digit" name="vcode" :label="t('user.forget.code')"
                     :placeholder="t('common.required')" :rules="formRules.vcode">
                     <template #button>
                         <Button size="small" :disabled="loading" @click="sendVerifyCode">
@@ -152,7 +152,7 @@ const formRules: { [key: string]: FieldRule[] } = {
     }],
     email: [{
         required: true,
-        message: '请输入邮箱地址',
+        message: t('user.forget.tips9'),
         validator: (val) => {
             if (validateRules.email.validate(val)) {
                 return true
@@ -170,7 +170,7 @@ const formRules: { [key: string]: FieldRule[] } = {
                 }
                 return validateRules.password.message
             }
-            return val?.length < 6 ? '密码长度不能小于6位' : true
+            return val?.length < 6 ? t('user.register.tips13') : true
         }
     }],
     vcode: [{