Files
lucky_shop/lang/zh-cn/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

82 lines
2.1 KiB
JavaScript

export const lang = {
//title为每个页面的标题
title: '个人资料',
headImg: '头像',
avatar: '头像',
account: '账号',
nickname: '昵称',
realName: '真实姓名',
sex: '性别',
gender: '性别',
birthday: '生日',
password: '密码',
paypassword: '支付密码',
mobilePhone: '手机',
bindMobile: '绑定手机',
cancellation: '注销账号',
lang: "语言",
logout: '退出登录',
save: "保存",
noset: '未设置',
nickPlaceholder: "请输入新昵称",
pleaseRealName:"请输入真实姓名",
nowPassword: "当前密码",
newPassword: "新密码",
confirmPassword: "确认新密码",
phoneNumber: "手机号",
confirmCode: "验证码",
confirmCodeInput: "请输入验证码",
confirmCodeInputerror: "验证码错误",
findanimateCode: "获取动态码",
animateCode: "动态码",
animateCodeInput: "请输入动态码",
modifyNickname: "修改昵称",
modifyPassword: "修改密码",
bindPhone: "绑定手机",
alikeNickname: "与原昵称一致,无需修改",
noEmityNickname: "昵称不能为空",
updateSuccess: "修改成功",
pleaseInputOldPassword: "请输入原始密码",
pleaseInputNewPassword: "请输入新密码",
passwordLength: "密码长度不能小于6位",
alikePassword: "两次密码不一致",
samePassword: "新密码不能与原密码相同",
surePhoneNumber: "请输入正确的手机号",
alikePhone: "与原手机号一致,无需修改",
modify: '修改',
sexUnknown: "未知",
sexMale: "男",
sexFemale: "女",
pleaseSelectBirthday: "请选择生日",
alikeRealName: "与原真实姓名一致,无需修改",
noEmptyRealName: "真实姓名不能为空",
passwordMinLength: "新密码长度不能小于{num}位",
passwordComplexityPrefix: "密码需包含",
passwordNumber: "数字",
passwordLowercase: "小写字母",
passwordUppercase: "大写字母",
passwordSymbol: "特殊字符",
passwordSeparator: "、",
pleaseInputMobile: "请输入手机号",
codeSent: "已发送({seconds}s)",
doNotRepeatedlyClick: "请勿重复点击",
pleaseSelectRegion: "请选择所在地区",
pleaseInputDetailAddress: "请输入详细地址"
}