Handy_Cao 5 månader sedan
förälder
incheckning
0b3aa8e0b3

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

@@ -1447,6 +1447,8 @@
             "tips1": "For the security of your account, please change your password!",
             "logining": "Logging in...",
             "logining1": "Logging in",
+             "logintype1": "Mobile-Login",
+            "logintype2": "Account-Login",
             "tips2": "Please agree to the terms of use first",
             "tips3": "Login failed:",
             "tips4": "Logout notification",
@@ -1457,6 +1459,7 @@
         "register": {
             "title": "User registration",
             "title1": "Scan to register",
+            "area": "Region option",
             "mobile": "Phone number",
             "vcode": "SMS verification code",
             "sendagain": "Resend",
@@ -1495,6 +1498,7 @@
         },
         "forget": {
             "title": "Reset login password",
+            "area": "Region option",
             "mobile": "Phone number",
             "vcode": "SMS verification code",
             "sendagain": "Resend",

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

@@ -1450,6 +1450,8 @@
             "tips1": "เพื่อความปลอดภัยของบัญชีของคุณ กรุณาเปลี่ยนรหัสผ่าน",
             "logining": "กำลังเข้าสู่ระบบ...",
             "logining1": "กำลังเข้าสู่ระบบ",
+            "logintype1": "เข้าสู่ระบบมือถือ",
+            "logintype2": "เข้าสู่ระบบบัญชีผู้ใช้",
             "tips2": "กรุณายอมรับข้อกำหนดการใช้งานก่อน",
             "tips3": "การเข้าสู่ระบบล้มเหลว:",
             "tips4": "แจ้งเตือนการออฟไลน์",
@@ -1460,6 +1462,7 @@
         "register": {
             "title": "การลงทะเบียนผู้ใช้",
             "title1": "ลงทะเบียนโดยการสแกนรหัส",
+            "area": "ตัวเลือกพื้น ที่",
             "mobile": "หมายเลขโทรศัพท์มือถือ",
             "vcode": "รหัสยืนยันทาง SMS",
             "sendagain": "ส่งใหม่อีกครั้ง",
@@ -1498,6 +1501,7 @@
         },
         "forget": {
             "title": "รีเซ็ตรหัสผ่านสำหรับเข้าสู่ระบบ",
+            "area": "ตัวเลือกพื้น ที่",
             "mobile": "หมายเลขโทรศัพท์มือถือ",
             "vcode": "รหัสยืนยันข้อความรหัสยืนยันทาง SMS",
             "sendagain": "ส่งใหม่อีกครั้ง",

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

@@ -1447,6 +1447,8 @@
             "tips1": "Vì sự an toàn tài khoản của bạn, vui lòng đổi mật khẩu!",
             "logining": "Đang đăng nhập...",
             "logining1": "Đang đăng nhập",
+            "logintype1": "Đăng nhập số điện thoại",
+            "logintype2": "Đăng nhập tài khoản",
             "tips2": "Vui lòng đồng ý điều khoản sử dụng trước",
             "tips3": "Đăng nhập thất bại:",
             "tips4": "Thông báo ngắt kết nối",
@@ -1457,6 +1459,7 @@
         "register": {
             "title": "Đăng ký người dùng",
             "title1": "Đăng ký bằng mã quét",
+            "area": "Lựa chọn khu vực",
             "mobile": "Số điện thoại",
             "vcode": "Mã xác minh SMS",
             "sendagain": "Gửi lại",
@@ -1495,6 +1498,7 @@
         },
         "forget": {
             "title": "Đặt lại mật khẩu đăng nhập",
+            "area": "Lựa chọn khu vực",
             "mobile": "Số điện thoại",
             "vcode": "Mã xác minh SMS",
             "sendagain": "Gửi lại",

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

@@ -1450,6 +1450,8 @@
             "tips1": "为了您的账户安全,请修改密码!",
             "logining": "登录中...",
             "logining1": "正在登录",
+            "logintype1": "手机号登录",
+            "logintype2": "账号登录",
             "tips2": "请先同意使用条款",
             "tips3": "登录失败:",
             "tips4": "下线通知",
@@ -1460,6 +1462,7 @@
         "register": {
             "title": "用户注册",
             "title1": "扫码注册",
+            "area": "地区选项",
             "mobile": "手机号码",
             "vcode": "短信验证码",
             "sendagain": "重新发送",
@@ -1498,6 +1501,7 @@
         },
         "forget": {
             "title": "重置登录密码",
+            "area": "地区选项",
             "mobile": "手机号码",
             "vcode": "短信验证码",
             "sendagain": "重新发送",

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

@@ -1450,6 +1450,8 @@
             "tips1": "爲了您的賬戶安全,請修改密碼!",
             "logining": "登錄中...",
             "logining1": "正在登錄",
+            "logintype1": "手機號登錄",
+            "logintype2": "賬號登錄",
             "tips2": "請先同意使用條款",
             "tips3": "登錄失敗:",
             "tips4": "下線通知",
@@ -1460,6 +1462,7 @@
         "register": {
             "title": "用戶註冊",
             "title1": "掃碼註冊",
+            "area": "地區選項",
             "mobile": "手機號碼",
             "vcode": "短信驗證碼",
             "sendagain": "重新發送",
@@ -1498,6 +1501,7 @@
         },
         "forget": {
             "title": "重置登錄密碼",
+            "area": "地區選項",
             "mobile": "手機號碼",
             "vcode": "短信驗證碼",
             "sendagain": "重新發送",

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

@@ -5,7 +5,7 @@
         </template>
         <Form ref="formRef" class="g-form__container" @submit="formSubmit">
             <CellGroup :inset="insetStyle">
-                <Field label="地区选项" right-icon="arrow" v-if="codeList.length">
+                <Field :label="t('user.register.area')" right-icon="arrow" v-if="codeList.length">
                     <template #input>
                         <app-select v-model="selectedCode" :options="codeList">
                             <span>+{{ selectedCode }}</span>

+ 1 - 1
src/packages/mobile/views/user/register/Index.vue

@@ -5,7 +5,7 @@
     </template>
     <Form ref="formRef" class="g-form__container register__form" @submit="formSubmit">
       <CellGroup :inset="insetStyle">
-        <Field label="地区选项" right-icon="arrow" v-if="codeList.length">
+        <Field :label="t('user.register.area')" right-icon="arrow" v-if="codeList.length">
           <template #input>
             <app-select v-model="selectedCode" :options="codeList">
               <span>+{{ selectedCode }}</span>

+ 3 - 3
src/packages/tss/views/user/login/Index.vue

@@ -10,8 +10,8 @@
       </slot>
     </div>
     <div class="login-type">
-      <span :class="{ active: loginType === 0 }" @click="loginType = 0">手机号登录</span>
-      <span :class="{ active: loginType === 1 }" @click="loginType = 1">账号登录</span>
+      <span :class="{ active: loginType === 0 }" @click="loginType = 0">{{ t('user.login.logintype1')}}</span>
+      <span :class="{ active: loginType === 1 }" @click="loginType = 1">{{ t('user.login.logintype2')}}</span>
     </div>
     <form class="login-form">
       <ul class="login-form__container">
@@ -24,7 +24,7 @@
                 +{{ row.value }}
               </template>
             </app-select>
-            <input type="tel" name="account" v-model="phoneNumber" placeholder="请输入手机号码" />
+            <input type="tel" name="account" v-model="phoneNumber" :placeholder="t('user.register.tips1')" />
           </div>
           <div class="login-form__item-group" v-else>
             <input type="text" name="account" v-model="formData.userName"