Files
lucky_shop/lang/en-us/member/info.js
ZF sun 783c10fc62 refactor: 统一项目内国际化key的命名空间格式
本次提交对全项目的国际化调用进行了规范化重构:
1. 为中文/英文语言包新增了avatar和gender的别名映射,兼容旧有headImg/sex写法
2. 修正了lang.js中的注释路径错误
3. 将所有页面和组件内的$lang调用从短路径改为带业务模块前缀的完整命名空间路径,例如将$lang('title')改为$lang('article.list.title')
4. 优化了i18n-lazy.js的注释说明,补充了正确的key命名格式示例
5. 统一了分销、订单、会员等模块的国际化key层级,确保所有语言调用路径一致
2026-07-04 09:24:35 +08:00

81 lines
2.3 KiB
JavaScript

export const lang = {
//title为每个页面的标题
title: 'Profile',
headImg: 'Avatar',
avatar: 'Avatar',
account: 'Account',
nickname: 'Nickname',
realName: 'Real Name',
sex: 'Gender',
gender: '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',
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",
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',
sexUnknown: "Unknown",
sexMale: "Male",
sexFemale: "Female",
pleaseSelectBirthday: "Please select birthday",
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",
pleaseSelectRegion: "Please select region",
pleaseInputDetailAddress: "Please enter detailed address"
}