feat: 更新登录界面,使用国际化支持的注册按钮文本
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -35,7 +35,7 @@ async function handleSignInPhoneNumber(value: PhoneNumberVerifyClient) {
|
||||
<IonToolbar class="ui-toolbar">
|
||||
<ion-back-button slot="start" />
|
||||
<ion-button slot="end" fill="clear">
|
||||
注册
|
||||
{{ t('auth.login.signupButton') }}
|
||||
</ion-button>
|
||||
</IonToolbar>
|
||||
</IonHeader>
|
||||
|
||||
Reference in New Issue
Block a user