refactor: 重构登陆模块

This commit is contained in:
2025-12-20 21:38:49 +07:00
parent 3d9785fdf2
commit 57bbebe961
28 changed files with 715 additions and 494 deletions

View File

@@ -286,7 +286,33 @@
},
"login": {
"title": "تسجيل الدخول",
"loginButton": "تسجيل الدخول"
"loginButton": "تسجيل الدخول",
"username": "اسم المستخدم",
"phone": "الهاتف",
"selectCountryCode": "اختر الدولة/المنطقة",
"enterPhoneNumber": "أدخل رقم الهاتف",
"enterUsername": "أدخل اسم المستخدم",
"enterPassword": "أدخل كلمة المرور",
"enterEmail": "أدخل البريد الإلكتروني",
"enterCode": "أدخل رمز التحقق",
"enterOtp": "أدخل رمز التحقق",
"getCode": "احصل على الرمز",
"resendCode": "إعادة إرسال",
"sending": "جاري الإرسال...",
"sendCodeSuccess": "تم إرسال رمز التحقق",
"forgotPassword": "هل نسيت كلمة المرور؟",
"validation": {
"usernameRequired": "الرجاء إدخال اسم المستخدم",
"passwordRequired": "الرجاء إدخال كلمة المرور",
"phoneNumberRequired": "الرجاء إدخال رقم الهاتف",
"phoneNumberInvalid": "الرجاء إدخال رقم هاتف صحيح",
"codeRequired": "الرجاء إدخال رمز التحقق",
"codeInvalid": "الرجاء إدخال رمز تحقق من 6 أرقام",
"emailRequired": "الرجاء إدخال البريد الإلكتروني",
"emailInvalid": "الرجاء إدخال عنوان بريد إلكتروني صحيح",
"otpRequired": "الرجاء إدخال رمز التحقق",
"otpInvalid": "الرجاء إدخال رمز تحقق من 6 أرقام"
}
},
"signup": {
"title": "ما هو بريدك الإلكتروني؟",

View File

@@ -286,7 +286,33 @@
},
"login": {
"title": "Log in",
"loginButton": "Log in"
"loginButton": "Log in",
"username": "Username",
"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",
"codeInvalid": "Please enter a 6-digit verification code",
"emailRequired": "Please enter email",
"emailInvalid": "Please enter a valid email address",
"otpRequired": "Please enter verification code",
"otpInvalid": "Please enter a 6-digit verification code"
}
},
"signup": {
"title": "What's your email?",

View File

@@ -286,7 +286,33 @@
},
"login": {
"title": "登录",
"loginButton": "登录"
"loginButton": "登录",
"username": "用户名",
"phone": "手机号",
"selectCountryCode": "选择国家/地区",
"enterPhoneNumber": "请输入手机号",
"enterUsername": "请输入用户名",
"enterPassword": "请输入密码",
"enterEmail": "请输入邮箱",
"enterCode": "请输入验证码",
"enterOtp": "请输入验证码",
"getCode": "获取验证码",
"resendCode": "重新发送",
"sending": "发送中...",
"sendCodeSuccess": "验证码已发送",
"forgotPassword": "忘记密码?",
"validation": {
"usernameRequired": "请输入用户名",
"passwordRequired": "请输入密码",
"phoneNumberRequired": "请输入手机号",
"phoneNumberInvalid": "请输入有效的手机号",
"codeRequired": "请输入验证码",
"codeInvalid": "请输入6位数字验证码",
"emailRequired": "请输入邮箱",
"emailInvalid": "请输入有效的邮箱地址",
"otpRequired": "请输入验证码",
"otpInvalid": "请输入6位数字验证码"
}
},
"signup": {
"title": "您的邮箱是什么?",

View File

@@ -286,7 +286,33 @@
},
"login": {
"title": "登錄",
"loginButton": "登錄"
"loginButton": "登錄",
"username": "用戶名",
"phone": "手機號碼",
"selectCountryCode": "選擇國家/地區",
"enterPhoneNumber": "請輸入手機號碼",
"enterUsername": "請輸入用戶名",
"enterPassword": "請輸入密碼",
"enterEmail": "請輸入郵箱",
"enterCode": "請輸入驗證碼",
"enterOtp": "請輸入驗證碼",
"getCode": "獲取驗證碼",
"resendCode": "重新發送",
"sending": "發送中...",
"sendCodeSuccess": "驗證碼已發送",
"forgotPassword": "忘記密碼?",
"validation": {
"usernameRequired": "請輸入用戶名",
"passwordRequired": "請輸入密碼",
"phoneNumberRequired": "請輸入手機號碼",
"phoneNumberInvalid": "請輸入有效的手機號碼",
"codeRequired": "請輸入驗證碼",
"codeInvalid": "請輸入6位數字驗證碼",
"emailRequired": "請輸入郵箱",
"emailInvalid": "請輸入有效的郵箱地址",
"otpRequired": "請輸入驗證碼",
"otpInvalid": "請輸入6位數字驗證碼"
}
},
"signup": {
"title": "您的郵箱是什麼?",