1. 新增多语言资源文件,覆盖文章、预约日期、会员信息、优惠券、表单、购物车、积分商城、分销、AI聊天等多个模块 2. 优化底部导航组件,使用多语言配置替代硬编码文案 3. 重构工具函数,新增从后端数据提取多语言文案的工具方法 4. 修复邀请好友页面的保存提示文案,替换为多语言版本 5. 修复商品SKU组件的提示文案,使用多语言配置 6. 重构AI聊天页面的帮助文档和回复模板,使用多语言配置 7. 优化空状态组件,支持多语言默认文案 8. 修复跳转逻辑,补全参数传递 9. 新增本地开发环境配置
95 lines
3.0 KiB
JavaScript
95 lines
3.0 KiB
JavaScript
export const lang = {
|
|
//title为每个页面的标题
|
|
title: 'Edit Profile',
|
|
headImg: 'Avatar',
|
|
account: 'Account',
|
|
username: 'Username',
|
|
nickname: 'Nickname',
|
|
realName: 'Real Name',
|
|
sex: 'Gender',
|
|
birthday: 'Birthday',
|
|
password: 'Password',
|
|
paypassword: 'Payment Password',
|
|
mobilePhone: 'Mobile Phone',
|
|
bindMobile: 'Bind Mobile',
|
|
cancellation: 'Cancel Account',
|
|
lang: "Language",
|
|
logout: 'Logout',
|
|
save: "Save",
|
|
noset: 'Not Set',
|
|
|
|
usernamePlaceholder: "Please enter a new username",
|
|
nickPlaceholder: "Please enter a new nickname",
|
|
pleaseRealName:"Please enter your real name",
|
|
|
|
nowPassword: "Current Password",
|
|
newPassword: "New Password",
|
|
confirmPassword: "Confirm New Password",
|
|
|
|
phoneNumber: "Phone Number",
|
|
|
|
confirmCode: "Verification Code",
|
|
confirmCodeInput: "Please enter verification code",
|
|
confirmCodeInputerror: "Invalid verification code",
|
|
findanimateCode: "Get Dynamic Code",
|
|
animateCode: "Dynamic Code",
|
|
animateCodeInput: "Please enter dynamic code",
|
|
|
|
modifyNickname: "Modify Nickname",
|
|
modifyPassword: "Modify Password",
|
|
bindPhone: "Bind Phone",
|
|
|
|
alikeusername: "Same as original username, no need to modify",
|
|
noEmityUsername: "Username cannot be empty",
|
|
|
|
alikeNickname: "Same as original nickname, no need to modify",
|
|
noEmityNickname: "Nickname cannot be empty",
|
|
|
|
updateSuccess: "Update Successful",
|
|
|
|
pleaseInputOldPassword: "Please enter original password",
|
|
pleaseInputNewPassword: "Please enter new password",
|
|
passwordLength: "Password must be at least 6 characters long",
|
|
alikePassword: "Passwords do not match",
|
|
|
|
samePassword: "New password cannot be the same as current password",
|
|
|
|
surePhoneNumber: "Please enter a valid phone number",
|
|
|
|
alikePhone: "Same as original phone number, no need to modify",
|
|
modify: 'Modify',
|
|
|
|
pleaseInput: "Please enter",
|
|
usernameModifyTip: "Username can only be modified once, please set carefully",
|
|
pleaseSelectBirthday: "Please select birthday",
|
|
bindMobileFirstTip: "Please bind your mobile phone first",
|
|
bindNow: "Bind Now",
|
|
smsCode: "SMS Verification Code",
|
|
sendCodeTip: 'Click "Get Dynamic Code" and a verification code will be sent to your bound mobile number {mobile}',
|
|
oneClickAuthBind: "One-Click Authorization Binding",
|
|
manualBind: "Manual Binding",
|
|
region: "Region",
|
|
pleaseSelectRegion: "Please select province/city/district",
|
|
detailAddress: "Detailed Address",
|
|
|
|
sexUnknown: "Unknown",
|
|
sexMale: "Male",
|
|
sexFemale: "Female",
|
|
|
|
alikeRealName: "Same as original real name, no need to modify",
|
|
noEmptyRealName: "Real name cannot be empty",
|
|
|
|
passwordMinLength: "New password must be at least {num} characters",
|
|
passwordComplexityPrefix: "Password must contain",
|
|
passwordNumber: "numbers",
|
|
passwordLowercase: "lowercase letters",
|
|
passwordUppercase: "uppercase letters",
|
|
passwordSymbol: "special characters",
|
|
passwordSeparator: ", ",
|
|
|
|
pleaseInputMobile: "Please enter phone number",
|
|
codeSent: "Sent ({seconds}s)",
|
|
doNotRepeatedlyClick: "Do not click repeatedly",
|
|
|
|
pleaseInputDetailAddress: "Please enter detailed address"
|
|
} |