feat: 添加国际化支持,更新登录和注册组件中的文本,优化用户体验

This commit is contained in:
2025-12-18 22:48:05 +07:00
parent 3b2eb67ad1
commit 8b3fec2376
9 changed files with 112 additions and 28 deletions

View File

@@ -226,5 +226,36 @@
"trade": "Trade",
"chat": "Chat",
"user": "Profile"
},
"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."
},
"login": {
"title": "Log in",
"loginButton": "Log in"
},
"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."
}
}
}