From e8278fa95787cd21ef112ca89b7c6c0023a40a3e Mon Sep 17 00:00:00 2001 From: Seven Date: Sat, 20 Dec 2025 21:44:28 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=EF=BC=8C=E4=BD=BF=E7=94=A8=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96=E6=94=AF=E6=8C=81=E7=9A=84=E6=B3=A8=E5=86=8C=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/ar.json | 34 +++------------------------------- src/locales/en-US.json | 34 +++------------------------------- src/locales/zh-CN.json | 34 +++------------------------------- src/locales/zh-HK.json | 34 +++------------------------------- src/views/auth/login/index.vue | 2 +- 5 files changed, 13 insertions(+), 125 deletions(-) diff --git a/src/locales/ar.json b/src/locales/ar.json index ca4a809..e5d64e6 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -271,39 +271,22 @@ }, "auth": { "common": { - "close": "إغلاق", - "next": "التالي", - "submit": "إرسال", - "email": "البريد الإلكتروني", - "enterEmail": "الرجاء إدخال بريدك الإلكتروني", - "validEmailError": "الرجاء إدخال عنوان بريد إلكتروني صحيح.", - "orContinueWith": "أو المتابعة باستخدام", - "google": "Google", - "phoneNumber": "رقم الهاتف", - "validVerificationCodeError": "الرجاء إدخال رمز التحقق المكون من 6 أرقام صحيح.", - "failedSendCode": "فشل إرسال رمز التحقق.", - "failedVerifyCode": "فشل التحقق من رمز التحقق." + "failedSendCode": "فشل إرسال رمز التحقق." }, "login": { "title": "تسجيل الدخول", "loginButton": "تسجيل الدخول", - "username": "اسم المستخدم", + "signupButton": "التسجيل", + "username": "البريد الإلكتروني", "phone": "الهاتف", "selectCountryCode": "اختر الدولة/المنطقة", - "enterPhoneNumber": "أدخل رقم الهاتف", - "enterUsername": "أدخل اسم المستخدم", - "enterPassword": "أدخل كلمة المرور", "enterEmail": "أدخل البريد الإلكتروني", "enterCode": "أدخل رمز التحقق", "enterOtp": "أدخل رمز التحقق", "getCode": "احصل على الرمز", - "resendCode": "إعادة إرسال", "sending": "جاري الإرسال...", "sendCodeSuccess": "تم إرسال رمز التحقق", - "forgotPassword": "هل نسيت كلمة المرور؟", "validation": { - "usernameRequired": "الرجاء إدخال اسم المستخدم", - "passwordRequired": "الرجاء إدخال كلمة المرور", "phoneNumberRequired": "الرجاء إدخال رقم الهاتف", "phoneNumberInvalid": "الرجاء إدخال رقم هاتف صحيح", "codeRequired": "الرجاء إدخال رمز التحقق", @@ -313,17 +296,6 @@ "otpRequired": "الرجاء إدخال رمز التحقق", "otpInvalid": "الرجاء إدخال رمز تحقق من 6 أرقام" } - }, - "signup": { - "title": "ما هو بريدك الإلكتروني؟", - "description": "ستستخدم هذا البريد الإلكتروني لتسجيل الدخول والوصول إلى جميع المحتويات التي نقدمها.", - "signupButton": "التسجيل", - "emailPlaceholder": "email@example.com", - "emailVerified": "تم التحقق من البريد الإلكتروني بنجاح!" - }, - "verification": { - "title": "تحقق من بريدك الإلكتروني", - "description": "أرسلنا رمز تحقق إلى {email}. الرجاء إدخال الرمز أدناه للتحقق من عنوان بريدك الإلكتروني." } }, "settings": { diff --git a/src/locales/en-US.json b/src/locales/en-US.json index c47be15..b04b2ef 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -271,39 +271,22 @@ }, "auth": { "common": { - "close": "Close", - "next": "Next", - "submit": "Submit", - "email": "Email", - "enterEmail": "Enter your email", - "validEmailError": "Please enter a valid email address.", - "orContinueWith": "Or continue with", - "google": "Google", - "phoneNumber": "Phone Number", - "validVerificationCodeError": "Please enter a valid 6-digit verification code.", - "failedSendCode": "Failed to send verification code.", - "failedVerifyCode": "Failed to verify the code." + "failedSendCode": "Failed to send verification code" }, "login": { "title": "Log in", "loginButton": "Log in", - "username": "Username", + "signupButton": "Sign up", + "username": "Email", "phone": "Phone", "selectCountryCode": "Select Country/Region", - "enterPhoneNumber": "Enter phone number", - "enterUsername": "Enter username", - "enterPassword": "Enter password", "enterEmail": "Enter email", "enterCode": "Enter verification code", "enterOtp": "Enter verification code", "getCode": "Get Code", - "resendCode": "Resend", "sending": "Sending...", "sendCodeSuccess": "Verification code sent", - "forgotPassword": "Forgot password?", "validation": { - "usernameRequired": "Please enter username", - "passwordRequired": "Please enter password", "phoneNumberRequired": "Please enter phone number", "phoneNumberInvalid": "Please enter a valid phone number", "codeRequired": "Please enter verification code", @@ -313,17 +296,6 @@ "otpRequired": "Please enter verification code", "otpInvalid": "Please enter a 6-digit verification code" } - }, - "signup": { - "title": "What's your email?", - "description": "You'll use this email to login and access everything we have to offer.", - "signupButton": "Sign up", - "emailPlaceholder": "email@example.com", - "emailVerified": "Email verified successfully!" - }, - "verification": { - "title": "Verify your email", - "description": "We have sent a verification code to {email}. Please enter the code below to verify your email address." } }, "settings": { diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json index 55d9b6b..7c79891 100644 --- a/src/locales/zh-CN.json +++ b/src/locales/zh-CN.json @@ -271,39 +271,22 @@ }, "auth": { "common": { - "close": "关闭", - "next": "下一步", - "submit": "提交", - "email": "邮箱", - "enterEmail": "请输入您的邮箱", - "validEmailError": "请输入有效的邮箱地址。", - "orContinueWith": "或使用以下方式继续", - "google": "Google", - "phoneNumber": "手机号码", - "validVerificationCodeError": "请输入有效的6位验证码。", - "failedSendCode": "发送验证码失败。", - "failedVerifyCode": "验证码验证失败。" + "failedSendCode": "发送验证码失败" }, "login": { "title": "登录", "loginButton": "登录", - "username": "用户名", + "signupButton": "注册", + "username": "邮箱", "phone": "手机号", "selectCountryCode": "选择国家/地区", - "enterPhoneNumber": "请输入手机号", - "enterUsername": "请输入用户名", - "enterPassword": "请输入密码", "enterEmail": "请输入邮箱", "enterCode": "请输入验证码", "enterOtp": "请输入验证码", "getCode": "获取验证码", - "resendCode": "重新发送", "sending": "发送中...", "sendCodeSuccess": "验证码已发送", - "forgotPassword": "忘记密码?", "validation": { - "usernameRequired": "请输入用户名", - "passwordRequired": "请输入密码", "phoneNumberRequired": "请输入手机号", "phoneNumberInvalid": "请输入有效的手机号", "codeRequired": "请输入验证码", @@ -313,17 +296,6 @@ "otpRequired": "请输入验证码", "otpInvalid": "请输入6位数字验证码" } - }, - "signup": { - "title": "您的邮箱是什么?", - "description": "您将使用此邮箱登录并访问我们提供的所有内容。", - "signupButton": "注册", - "emailPlaceholder": "email@example.com", - "emailVerified": "邮箱验证成功!" - }, - "verification": { - "title": "验证您的邮箱", - "description": "我们已向 {email} 发送了一个验证码。请在下方输入代码以验证您的邮箱地址。" } }, "settings": { diff --git a/src/locales/zh-HK.json b/src/locales/zh-HK.json index 52950af..3212444 100644 --- a/src/locales/zh-HK.json +++ b/src/locales/zh-HK.json @@ -271,39 +271,22 @@ }, "auth": { "common": { - "close": "關閉", - "next": "下一步", - "submit": "提交", - "email": "郵箱", - "enterEmail": "請輸入您的郵箱", - "validEmailError": "請輸入有效的郵箱地址。", - "orContinueWith": "或使用以下方式繼續", - "google": "Google", - "phoneNumber": "手機號碼", - "validVerificationCodeError": "請輸入有效的6位驗證碼。", - "failedSendCode": "發送驗證碼失敗。", - "failedVerifyCode": "驗證碼驗證失敗。" + "failedSendCode": "發送驗證碼失敗" }, "login": { "title": "登錄", "loginButton": "登錄", - "username": "用戶名", + "signupButton": "註冊", + "username": "郵箱", "phone": "手機號碼", "selectCountryCode": "選擇國家/地區", - "enterPhoneNumber": "請輸入手機號碼", - "enterUsername": "請輸入用戶名", - "enterPassword": "請輸入密碼", "enterEmail": "請輸入郵箱", "enterCode": "請輸入驗證碼", "enterOtp": "請輸入驗證碼", "getCode": "獲取驗證碼", - "resendCode": "重新發送", "sending": "發送中...", "sendCodeSuccess": "驗證碼已發送", - "forgotPassword": "忘記密碼?", "validation": { - "usernameRequired": "請輸入用戶名", - "passwordRequired": "請輸入密碼", "phoneNumberRequired": "請輸入手機號碼", "phoneNumberInvalid": "請輸入有效的手機號碼", "codeRequired": "請輸入驗證碼", @@ -313,17 +296,6 @@ "otpRequired": "請輸入驗證碼", "otpInvalid": "請輸入6位數字驗證碼" } - }, - "signup": { - "title": "您的郵箱是什麼?", - "description": "您將使用此郵箱登錄並訪問我們提供的所有內容。", - "signupButton": "註冊", - "emailPlaceholder": "email@example.com", - "emailVerified": "郵箱驗證成功!" - }, - "verification": { - "title": "驗證您的郵箱", - "description": "我們已向 {email} 發送了一個驗證碼。請在下方輸入代碼以驗證您的郵箱地址。" } }, "settings": { diff --git a/src/views/auth/login/index.vue b/src/views/auth/login/index.vue index 196d36e..a71ca65 100644 --- a/src/views/auth/login/index.vue +++ b/src/views/auth/login/index.vue @@ -35,7 +35,7 @@ async function handleSignInPhoneNumber(value: PhoneNumberVerifyClient) { - 注册 + {{ t('auth.login.signupButton') }}