{
  "title": "邀请码管理",
  "description": "批量生成邀请码替代开放注册，支持预分配角色与班级。",
  "roles": {
    "student": "学生",
    "teacher": "教师",
    "parent": "家长",
    "admin": "管理员"
  },
  "stats": {
    "total": "邀请码总数",
    "unused": "未使用",
    "used": "已使用",
    "expired": "已过期"
  },
  "generate": {
    "title": "生成邀请码",
    "description": "批量生成邀请码，可指定角色、限定邮箱、绑定班级或设置过期时间。",
    "count": "生成数量",
    "countDescription": "1-100 张/批",
    "role": "角色",
    "email": "限定邮箱（选填）",
    "emailDescription": "留空则任意邮箱可用；填写后仅该邮箱可使用",
    "classId": "班级 ID（选填）",
    "classIdDescription": "填写后学生注册时自动加入此班级",
    "expiresAt": "过期时间（选填）",
    "expiresAtDescription": "留空则永久有效；支持 ISO 字符串（如 2026-12-31T23:59:59Z）",
    "notes": "备注（选填）",
    "notesDescription": "仅管理员可见，用于记录批次用途",
    "submit": "生成邀请码",
    "generating": "生成中...",
    "success": "成功生成 {count} 张邀请码",
    "failed": "生成失败"
  },
  "columns": {
    "code": "邀请码",
    "role": "角色",
    "email": "限定邮箱",
    "classId": "班级",
    "expiresAt": "过期时间",
    "status": "状态",
    "createdAt": "创建时间",
    "usedBy": "使用者",
    "usedAt": "使用时间",
    "actions": "操作"
  },
  "status": {
    "unused": "未使用",
    "used": "已使用",
    "expired": "已过期"
  },
  "actions": {
    "copy": "复制",
    "copied": "已复制",
    "copyFailed": "复制失败",
    "delete": "删除",
    "deleteConfirmTitle": "确认删除邀请码？",
    "deleteConfirmDescription": "已使用的邀请码不可删除（保留作为审计记录）。仅未使用或已过期的邀请码可被删除。",
    "cancel": "取消",
    "deleting": "删除中...",
    "confirmDelete": "确认删除",
    "deleted": "邀请码已删除",
    "deleteFailedUsed": "已使用的邀请码不可删除"
  },
  "empty": {
    "title": "暂无邀请码",
    "description": "点击「生成邀请码」批量创建，或在用户注册时引导填写邀请码。"
  },
  "generatedList": {
    "title": "本批次生成的邀请码",
    "description": "请妥善保存以下邀请码明文，关闭此对话框后将不再显示完整明文。",
    "copyAll": "复制全部",
    "close": "关闭",
    "batchId": "批次 ID"
  },
  "errors": {
    "loadFailed": "加载邀请码列表失败",
    "permissionDenied": "无权限访问此页面"
  }
}
