package i18n func init() { register(map[string]map[Lang]string{ KeyFieldDeviceType: { ZhCN: "设备类型", En: "Device type", ZhTW: "裝置類型", }, KeyFieldRefreshToken: { ZhCN: "刷新令牌", En: "Refresh token", ZhTW: "重新整理令牌", }, KeyFieldNickname: { ZhCN: "昵称", En: "Nickname", ZhTW: "暱稱", }, KeyFieldAvatar: { ZhCN: "头像", En: "Avatar", ZhTW: "頭像", }, KeyFieldGender: { ZhCN: "性别", En: "Gender", ZhTW: "性別", }, KeyFieldBirthday: { ZhCN: "生日", En: "Birthday", ZhTW: "生日", }, KeyUserNicknameInvalid: { ZhCN: "昵称长度为1-64", En: "Nickname must be 1-64 characters", ZhTW: "暱稱長度為1-64", }, KeyUserAvatarInvalid: { ZhCN: "头像地址过长", En: "Avatar is too long", ZhTW: "頭像地址過長", }, KeyUserGenderInvalid: { ZhCN: "性别取值无效", En: "Invalid gender", ZhTW: "性別取值無效", }, KeyUserBirthdayInvalid: { ZhCN: "生日格式为YYYY-MM-DD", En: "Birthday must be YYYY-MM-DD", ZhTW: "生日格式為YYYY-MM-DD", }, KeyLoginDeviceTypeRequired: { ZhCN: "请选择设备类型", En: "Please choose a device type", ZhTW: "請選擇裝置類型", }, KeyLoginDeviceTypeInvalid: { ZhCN: "设备类型无效", En: "Invalid device type", ZhTW: "裝置類型無效", }, KeyLoginRefreshRequired: { ZhCN: "请填写刷新令牌", En: "Please enter the refresh token", ZhTW: "請填寫重新整理令牌", }, }) }