Files
guilixu-admin/src/i18n/lang/en/login.ts
T
gxwebsoft f9bf3c6df3 feat(passport): 优化忘记密码页发送验证码体验
- 引入图形验证码弹窗,风格与注册页面保持一致
- 使用 localStorage 记录每个账号发送验证码次数,前三次免图形验证码
- 第四次及以后发送验证码需输入正确图形验证码才能发送
- 失败时自动刷新验证码,关闭弹窗时重置加载状态
- 新增相关国际化文案支持中英文
- 调整登录页邮箱登录相关占位符文案提升用户体验
2026-07-24 22:14:29 +08:00

46 lines
1.6 KiB
TypeScript

/* 登录界面 */
export default {
title: 'User Login',
username: 'please input username',
password: 'please input password',
code: 'please input code',
remember: 'remember',
forget: 'forget',
login: 'login',
loading: 'loading',
oldPassword: 'Old',
newPassword: 'New',
confirm: 'Confirm',
forgetPage: {
title: 'Forgot Password',
subTitle: 'Enter your account info to reset the password',
tabEmail: 'By Email',
tabPhone: 'By Phone',
email: 'Email',
phone: 'Phone',
emailCode: 'Email Code',
code: 'SMS Code',
getCode: 'Get Code',
sentEmail: 'Verification code sent, please check your email',
sentPhone: 'Verification code sent',
newPassword: 'New Password',
confirmPassword: 'Confirm Password',
reset: 'Reset Password',
backLogin: 'Back to Login',
success: 'Password reset successfully, please login with the new password',
emailPlaceholder: 'Please enter your registered email',
phonePlaceholder: 'Please enter your registered phone',
codePlaceholder: 'Please enter the code',
passwordPlaceholder: 'At least 8 chars, must contain letters and numbers',
confirmPlaceholder: 'Please enter the password again',
newPasswordRule: 'Password must be at least 8 chars with letters and numbers',
confirmRule: 'The two passwords do not match',
emailRule: 'Please enter a valid email address',
phoneRule: 'Please enter a valid phone number',
codeRule: 'Please enter the code',
captchaTitle: 'Send Code',
captchaPlaceholder: 'Please enter the captcha',
sendNow: 'Send Now'
}
};