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."
}
}
}

View File

@@ -226,5 +226,36 @@
"trade": "交易",
"chat": "聊天",
"user": "我的"
},
"auth": {
"common": {
"close": "关闭",
"next": "下一步",
"submit": "提交",
"email": "邮箱",
"enterEmail": "请输入您的邮箱",
"validEmailError": "请输入有效的邮箱地址。",
"orContinueWith": "或使用以下方式继续",
"google": "Google",
"phoneNumber": "手机号码",
"validVerificationCodeError": "请输入有效的6位验证码。",
"failedSendCode": "发送验证码失败。",
"failedVerifyCode": "验证码验证失败。"
},
"login": {
"title": "登录",
"loginButton": "登录"
},
"signup": {
"title": "您的邮箱是什么?",
"description": "您将使用此邮箱登录并访问我们提供的所有内容。",
"signupButton": "注册",
"emailPlaceholder": "email@example.com",
"emailVerified": "邮箱验证成功!"
},
"verification": {
"title": "验证您的邮箱",
"description": "我们已向 {email} 发送了一个验证码。请在下方输入代码以验证您的邮箱地址。"
}
}
}