1. 新增多个页面的中英文多语言词条,包括会员卡协议、积分商品、收银台等 2. 新增退款商品选择、微信支付、电子名片等页面的语言包 3. 优化lang.js语言加载逻辑,支持蛇形命名转换和多路径匹配,完善$lang调用兼容处理
37 lines
1.2 KiB
JavaScript
37 lines
1.2 KiB
JavaScript
export const lang = {
|
|
title: 'Find Password',
|
|
accountPlaceholder: 'Please enter mobile number',
|
|
captchaPlaceholder: 'Please enter verification code',
|
|
next: 'Next',
|
|
// Find Password
|
|
find: {
|
|
// Step titles
|
|
step0Title: 'Please enter your phone number',
|
|
step1Title: 'Please enter the verification code',
|
|
step2Title: 'Please set a new password',
|
|
|
|
// Step tips
|
|
step0Tip: 'Please confirm your account is bound to this phone number',
|
|
step1Tip: 'Verification code sent to: {mobile}',
|
|
step2Tip: 'We recommend a simple and memorable password',
|
|
|
|
// Button text
|
|
resendCode: 'Resend',
|
|
resendCountdown: 'Resend ({seconds}s)',
|
|
|
|
// Validation error messages
|
|
mobileInvalid: 'Please enter a valid phone number',
|
|
mobileNotRegistered: 'This phone number is not registered',
|
|
passwordRequired: 'Please enter password',
|
|
passwordTooShort: 'Password must be at least {length} characters',
|
|
passwordMismatch: 'The two passwords do not match',
|
|
|
|
// Password complexity提示 (in concatenation order, including separators)
|
|
passwordComplexityPrefix: 'Password must contain',
|
|
complexityNumber: ' numbers',
|
|
complexityLowercase: ', lowercase letters',
|
|
complexityUppercase: ', uppercase letters',
|
|
complexitySymbol: ', special characters',
|
|
}
|
|
};
|