{
  "roles": {
    "title": "角色管理",
    "description": "创建自定义角色并管理权限分配。",
    "detail": "角色详情",
    "create": "创建角色",
    "edit": "编辑角色",
    "delete": "删除角色",
    "name": "角色名称",
    "description": "描述",
    "type": "类型",
    "status": "状态",
    "system": "系统",
    "custom": "自定义",
    "enabled": "已启用",
    "disabled": "已禁用",
    "permissions": "权限",
    "users": "用户",
    "updated": "更新时间",
    "locked": "已锁定",
    "adminLocked": "admin 角色已完全锁定，无法修改。",
    "listTitle": "角色 ({count})",
    "emptyTitle": "暂无角色",
    "emptyDescription": "创建你的第一个自定义角色以开始。",
    "editButton": "编辑角色",
    "createTitle": "创建新角色",
    "editRoleTitle": "编辑角色：{name}",
    "createDescription": "创建自定义角色。创建后可为其分配权限。角色名称只能包含小写字母、数字和下划线。",
    "editDescription": "更新角色名称或描述。权限分配在角色详情页管理。",
    "namePlaceholder": "例如 teaching_assistant",
    "namePatternTitle": "仅允许小写字母、数字和下划线",
    "adminNameLocked": "admin 角色名称无法修改。",
    "descriptionLabel": "描述（可选）",
    "descriptionPlaceholder": "这个角色的用途是什么？",
    "deleteConfirmTitle": "删除角色 \"{name}\"？",
    "deleteConfirmDescription": "将移除该角色并从 {count} 个用户身上撤销。仅分配了该角色的用户将失去所有访问权限。此操作无法撤销。",
    "assignTitle": "分配角色",
    "assignDescription": "为 <strong>{name}</strong> 选择角色。用户可能需要重新登录才能生效。",
    "noEnabledRoles": "没有可用的已启用角色。请先创建或启用一个角色。",
    "disabledAssignedLabel": "当前已分配但已禁用（保存时将被移除）：",
    "disabledLabel": "已禁用",
    "saveRoles": "保存角色",
    "openMenu": "打开菜单",
    "tableAriaLabel": "角色列表",
    "tableCaption": "共 {count} 个角色",
    "assignListAriaLabel": "为 {name} 分配角色"
  },
  "permissions": {
    "title": "权限目录",
    "description": "系统中定义的所有权限点，按模块分组。",
    "countLabel": "{count} 个权限",
    "roleCount": "{count} 个角色",
    "matrixTitle": "权限 — {roleName}",
    "selectedCount": "已选 {count} 个",
    "impactNotice": "此角色的权限变更将影响 {count} 个用户。",
    "searchPlaceholder": "搜索权限名称或标识...",
    "searchAriaLabel": "搜索权限",
    "searchNoResults": "没有匹配的权限",
    "expandGroup": "展开 {name} 分组",
    "collapseGroup": "折叠 {name} 分组",
    "catalogAriaLabel": "权限目录",
    "group": {
      "exam": "考试",
      "homework": "作业",
      "question": "题目",
      "textbook": "教材",
      "class": "班级",
      "school": "学校",
      "user": "用户",
      "ai": "AI",
      "settings": "设置",
      "audit": "审计",
      "announcement": "公告",
      "grade_record": "成绩",
      "file": "文件",
      "course_plan": "课程计划",
      "attendance": "考勤",
      "message": "消息",
      "scheduling": "排课",
      "elective": "选课",
      "diagnostic": "诊断",
      "lesson_plan": "教案",
      "dashboard": "仪表盘",
      "error_book": "错题本",
      "adaptive_practice": "专项练习",
      "rbac": "角色与权限管理"
    },
    "exam": {
      "create": "创建考试",
      "create.desc": "允许创建新考试",
      "read": "查看考试",
      "read.desc": "允许查看考试列表和详情",
      "update": "更新考试",
      "update.desc": "允许修改考试信息",
      "delete": "删除考试",
      "delete.desc": "允许删除考试",
      "duplicate": "复制考试",
      "duplicate.desc": "允许复制现有考试",
      "publish": "发布考试",
      "publish.desc": "允许发布考试供学生作答",
      "ai_generate": "AI 生成考试",
      "ai_generate.desc": "允许使用 AI 生成考试内容",
      "submit": "提交考试",
      "submit.desc": "允许提交考试答卷",
      "proctor": "监考",
      "proctor.desc": "允许执行监考操作",
      "proctor_read": "查看监考",
      "proctor_read.desc": "允许查看监考信息"
    },
    "homework": {
      "create": "创建作业",
      "create.desc": "允许创建新作业",
      "grade": "批改作业",
      "grade.desc": "允许批改学生作业",
      "submit": "提交作业",
      "submit.desc": "允许提交作业"
    },
    "question": {
      "create": "创建题目",
      "create.desc": "允许创建新题目",
      "read": "查看题目",
      "read.desc": "允许查看题目列表和详情",
      "update": "更新题目",
      "update.desc": "允许修改题目信息",
      "delete": "删除题目",
      "delete.desc": "允许删除题目"
    },
    "textbook": {
      "create": "创建教材",
      "create.desc": "允许创建新教材",
      "read": "查看教材",
      "read.desc": "允许查看教材列表和详情",
      "update": "更新教材",
      "update.desc": "允许修改教材信息",
      "delete": "删除教材",
      "delete.desc": "允许删除教材"
    },
    "class": {
      "create": "创建班级",
      "create.desc": "允许创建新班级",
      "read": "查看班级",
      "read.desc": "允许查看班级列表和详情",
      "update": "更新班级",
      "update.desc": "允许修改班级信息",
      "delete": "删除班级",
      "delete.desc": "允许删除班级",
      "enroll": "学生入班",
      "enroll.desc": "允许管理班级学生入班",
      "schedule": "班级排课",
      "schedule.desc": "允许管理班级课程表"
    },
    "school": {
      "manage": "学校管理",
      "manage.desc": "允许管理学校信息",
      "grade_manage": "年级管理",
      "grade_manage.desc": "允许管理年级信息",
      "user_manage": "用户管理",
      "user_manage.desc": "允许管理系统用户"
    },
    "user": {
      "profile_update": "更新个人资料",
      "profile_update.desc": "允许更新用户个人资料"
    },
    "ai": {
      "chat": "AI 对话",
      "chat.desc": "允许使用 AI 对话功能",
      "configure": "AI 配置",
      "configure.desc": "允许配置 AI 参数"
    },
    "settings": {
      "admin": "系统设置",
      "admin.desc": "允许管理系统设置"
    },
    "audit": {
      "read": "查看审计日志",
      "read.desc": "允许查看系统审计日志"
    },
    "announcement": {
      "manage": "管理公告",
      "manage.desc": "允许创建、修改和删除公告",
      "read": "查看公告",
      "read.desc": "允许查看公告内容"
    },
    "grade_record": {
      "manage": "管理成绩",
      "manage.desc": "允许录入和修改成绩",
      "read": "查看成绩",
      "read.desc": "允许查看成绩记录"
    },
    "file": {
      "upload": "上传文件",
      "upload.desc": "允许上传文件",
      "read": "查看文件",
      "read.desc": "允许查看文件",
      "delete": "删除文件",
      "delete.desc": "允许删除文件"
    },
    "course_plan": {
      "manage": "管理课程计划",
      "manage.desc": "允许创建、修改和删除课程计划",
      "read": "查看课程计划",
      "read.desc": "允许查看课程计划"
    },
    "attendance": {
      "manage": "管理考勤",
      "manage.desc": "允许录入和修改考勤记录",
      "read": "查看考勤",
      "read.desc": "允许查看考勤记录"
    },
    "leave_request": {
      "create": "提交请假申请",
      "create.desc": "允许家长/学生提交在线请假申请",
      "read": "查看请假申请",
      "read.desc": "允许查看本人/子女/所辖班级的请假申请",
      "review": "审批请假申请",
      "review.desc": "允许班主任/管理员审批请假申请并自动同步考勤"
    },
    "message": {
      "send": "发送消息",
      "send.desc": "允许发送消息",
      "read": "查看消息",
      "read.desc": "允许查看消息",
      "delete": "删除消息",
      "delete.desc": "允许删除消息"
    },
    "scheduling": {
      "auto": "自动排课",
      "auto.desc": "允许执行自动排课",
      "adjust": "调整排课",
      "adjust.desc": "允许手动调整课程表"
    },
    "elective": {
      "manage": "管理选课",
      "manage.desc": "允许管理选课设置",
      "read": "查看选课",
      "read.desc": "允许查看选课信息",
      "select": "选课",
      "select.desc": "允许学生进行选课"
    },
    "diagnostic": {
      "manage": "管理诊断",
      "manage.desc": "允许管理诊断测试",
      "read": "查看诊断",
      "read.desc": "允许查看诊断结果"
    },
    "lesson_plan": {
      "create": "创建教案",
      "create.desc": "允许创建新教案",
      "read": "查看教案",
      "read.desc": "允许查看教案列表和详情",
      "update": "更新教案",
      "update.desc": "允许修改教案信息",
      "delete": "删除教案",
      "delete.desc": "允许删除教案",
      "publish": "发布教案",
      "publish.desc": "允许发布教案"
    },
    "dashboard": {
      "admin_read": "查看管理员仪表盘",
      "admin_read.desc": "允许查看管理员仪表盘",
      "teacher_read": "查看教师仪表盘",
      "teacher_read.desc": "允许查看教师仪表盘",
      "student_read": "查看学生仪表盘",
      "student_read.desc": "允许查看学生仪表盘",
      "parent_read": "查看家长仪表盘",
      "parent_read.desc": "允许查看家长仪表盘"
    },
    "error_book": {
      "read": "查看错题本",
      "read.desc": "允许查看错题本",
      "manage": "管理错题本",
      "manage.desc": "允许管理错题记录",
      "analytics_read": "查看错题分析",
      "analytics_read.desc": "允许查看错题本分析数据"
    },
    "adaptive_practice": {
      "read": "查看专项练习",
      "read.desc": "允许查看专项练习",
      "manage": "管理专项练习",
      "manage.desc": "允许管理专项练习"
    },
    "rbac": {
      "role_create": "创建角色",
      "role_create.desc": "允许创建新角色",
      "role_read": "查看角色",
      "role_read.desc": "允许查看角色列表和详情",
      "role_update": "更新角色",
      "role_update.desc": "允许修改角色信息",
      "role_delete": "删除角色",
      "role_delete.desc": "允许删除角色",
      "role_assign": "分配角色",
      "role_assign.desc": "允许为用户分配角色",
      "permission_read": "查看权限",
      "permission_read.desc": "允许查看权限目录"
    }
  },
  "actions": {
    "save": "保存更改",
    "cancel": "取消",
    "delete": "删除",
    "enable": "启用",
    "disable": "禁用",
    "edit": "编辑",
    "assignRoles": "分配角色",
    "saving": "保存中...",
    "deleting": "删除中..."
  },
  "messages": {
    "created": "角色已创建",
    "updated": "角色已更新",
    "deleted": "角色已删除",
    "permissionsUpdated": "权限已更新",
    "rolesAssigned": "角色已分配。用户可能需要重新登录才能生效。",
    "roleEnabled": "角色已启用",
    "roleDisabled": "角色已禁用",
    "roleStatusUpdated": "角色状态已更新"
  }
}
