本次提交完成了大量多语言相关的新增与优化工作: 1. 新增充值、案例、会员资产、订单等页面的中文/英文翻译文案 2. 新增企业微信客服、时间选择、支付弹窗等组件的多语言包 3. 优化工具函数与自定义页面的多语言适配,替换硬编码提示文案 4. 新增会员等级规则、积分商品、退款管理等页面的国际化支持 5. 修复企业微信JS-SDK的错误提示文案硬编码问题
33 lines
1.1 KiB
JavaScript
33 lines
1.1 KiB
JavaScript
export const lang = {
|
|
// 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',
|
|
}
|
|
};
|