73 lines
2.7 KiB
JSON
73 lines
2.7 KiB
JSON
{
|
|
"info": {
|
|
"get_success": "用户信息获取成功",
|
|
"get_failed": "用户信息获取失败",
|
|
"update_success": "用户信息更新成功",
|
|
"update_failed": "用户信息更新失败"
|
|
},
|
|
"create": {
|
|
"success": "用户创建成功",
|
|
"failed": "用户创建失败",
|
|
"superuser_success": "超级管理员创建成功",
|
|
"superuser_failed": "超级管理员创建失败"
|
|
},
|
|
"delete": {
|
|
"success": "用户删除成功",
|
|
"failed": "用户删除失败",
|
|
"deactivate_success": "用户停用成功",
|
|
"deactivate_failed": "用户停用失败"
|
|
},
|
|
"activate": {
|
|
"success": "用户激活成功",
|
|
"failed": "用户激活失败"
|
|
},
|
|
"language": {
|
|
"get_success": "语言偏好获取成功",
|
|
"get_failed": "语言偏好获取失败",
|
|
"update_success": "语言偏好更新成功",
|
|
"update_failed": "语言偏好更新失败",
|
|
"invalid_language": "不支持的语言代码",
|
|
"current": "当前语言偏好"
|
|
},
|
|
"email": {
|
|
"change_success": "邮箱修改成功",
|
|
"change_failed": "邮箱修改失败",
|
|
"code_sent": "验证码已发送到您的邮箱,请查收",
|
|
"code_send_failed": "验证码发送失败",
|
|
"code_invalid": "验证码无效或已过期",
|
|
"already_exists": "该邮箱已被使用"
|
|
},
|
|
"list": {
|
|
"get_success": "用户列表获取成功",
|
|
"get_failed": "用户列表获取失败",
|
|
"superusers_success": "租户超管列表获取成功",
|
|
"superusers_failed": "租户超管列表获取失败"
|
|
},
|
|
"validation": {
|
|
"username_required": "用户名不能为空",
|
|
"username_invalid": "用户名格式不正确",
|
|
"username_too_long": "用户名长度不能超过{max}个字符",
|
|
"email_required": "邮箱不能为空",
|
|
"email_invalid": "邮箱格式不正确",
|
|
"password_required": "密码不能为空",
|
|
"password_too_short": "密码长度不能少于{min}个字符",
|
|
"password_too_long": "密码长度不能超过{max}个字符",
|
|
"old_password_required": "旧密码不能为空",
|
|
"new_password_required": "新密码不能为空",
|
|
"verification_code_required": "验证码不能为空",
|
|
"verification_code_invalid": "验证码格式不正确"
|
|
},
|
|
"errors": {
|
|
"not_found": "用户不存在",
|
|
"already_exists": "用户已存在",
|
|
"permission_denied": "没有权限访问此用户",
|
|
"cannot_delete_self": "不能删除自己",
|
|
"cannot_deactivate_self": "不能停用自己",
|
|
"already_deactivated": "用户已被停用",
|
|
"already_activated": "用户已处于激活状态",
|
|
"password_verification_failed": "密码验证失败",
|
|
"old_password_incorrect": "旧密码不正确",
|
|
"same_as_old_password": "新密码不能与旧密码相同"
|
|
}
|
|
}
|