{
  "title": "系统管理",
  "description": "管理用户、角色和公共模型",
  "tabs": {
    "users": "用户管理",
    "public_models": "公共模型",
    "public_retrievers": "公共检索引擎",
    "public_skills": "公共技能",
    "public_teams": "公共智能体",
    "public_bots": "公共机器人",
    "public_ghosts": "公共 Ghost",
    "public_shells": "公共 Shell",
    "templates": "模板管理",
    "api_keys": "密钥管理",
    "system_config": "系统配置",
    "im_channels": "IM 渠道",
    "monitor": "订阅监控",
    "device_monitor": "设备监控"
  },
  "stats": {
    "total_users": "总用户数",
    "active_users": "活跃用户",
    "admin_count": "管理员数量",
    "total_tasks": "总任务数",
    "total_public_models": "公共模型数"
  },
  "common": {
    "cancel": "取消",
    "create": "创建",
    "save": "保存",
    "delete": "删除",
    "reset": "重置",
    "loading": "加载中...",
    "done": "完成"
  },
  "users": {
    "title": "用户管理",
    "description": "创建、编辑和管理用户账号",
    "loading": "加载用户中...",
    "no_users": "暂无用户",
    "no_email": "无邮箱",
    "show_inactive": "显示已禁用",
    "search_placeholder": "搜索用户名...",
    "create_user": "创建用户",
    "edit_user": "编辑用户",
    "delete_user": "删除用户",
    "reset_password": "重置密码",
    "toggle_status": "切换状态",
    "change_role": "更改角色",
    "columns": {
      "id": "ID",
      "username": "用户名",
      "email": "邮箱",
      "role": "角色",
      "auth_source": "认证方式",
      "status": "状态",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "roles": {
      "admin": "管理员",
      "user": "普通用户"
    },
    "auth_sources": {
      "password": "密码认证",
      "oidc": "OIDC 认证",
      "unknown": "未知"
    },
    "status": {
      "active": "启用",
      "inactive": "禁用"
    },
    "form": {
      "username": "用户名",
      "username_placeholder": "请输入用户名",
      "password": "密码",
      "password_placeholder": "请输入密码（至少6位）",
      "new_password": "新密码",
      "new_password_placeholder": "请输入新密码（至少6位）",
      "email": "邮箱",
      "email_placeholder": "请输入邮箱（可选）",
      "role": "角色",
      "role_select": "请选择角色",
      "auth_source": "认证方式",
      "auth_source_select": "请选择认证方式"
    },
    "confirm": {
      "delete_title": "删除用户",
      "delete_message": "确定要删除用户 \"{{name}}\" 吗？此操作将永久删除该账号。",
      "reset_password_title": "重置密码",
      "reset_password_message": "请为用户 \"{{name}}\" 输入新密码",
      "toggle_status_title": "切换状态",
      "toggle_enable_message": "确定要启用用户 \"{{name}}\" 吗？",
      "toggle_disable_message": "确定要禁用用户 \"{{name}}\" 吗？",
      "change_role_title": "更改角色",
      "change_role_message": "确定要将用户 \"{{name}}\" 的角色更改为 {{role}} 吗？"
    },
    "success": {
      "created": "用户创建成功",
      "updated": "用户更新成功",
      "deleted": "用户删除成功",
      "password_reset": "密码重置成功",
      "status_toggled": "用户状态已更新",
      "role_changed": "用户角色已更新"
    },
    "errors": {
      "load_failed": "加载用户列表失败",
      "create_failed": "创建用户失败",
      "update_failed": "更新用户失败",
      "delete_failed": "删除用户失败",
      "reset_password_failed": "重置密码失败",
      "toggle_status_failed": "切换用户状态失败",
      "change_role_failed": "更改用户角色失败",
      "username_required": "用户名不能为空",
      "password_required": "密码认证用户必须设置密码",
      "password_min_length": "密码长度至少为6位",
      "cannot_delete_self": "不能删除自己的账号",
      "cannot_disable_self": "不能禁用自己的账号",
      "cannot_demote_self": "当只有一个管理员时，不能降级自己的角色"
    }
  },
  "public_models": {
    "title": "公共模型管理",
    "description": "管理所有用户可用的公共 AI 模型",
    "loading": "加载模型中...",
    "no_models": "暂无公共模型",
    "create_model": "创建模型",
    "edit_model": "编辑模型",
    "delete_model": "删除模型",
    "model_id": "模型 ID",
    "namespace_label": "命名空间",
    "status": {
      "active": "启用",
      "inactive": "禁用",
      "advanced": "高级",
      "standard": "普通"
    },
    "columns": {
      "id": "ID",
      "name": "名称",
      "namespace": "命名空间",
      "status": "状态",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "模型名称",
      "name_placeholder": "请输入模型名称",
      "namespace": "命名空间",
      "namespace_placeholder": "default",
      "config": "模型配置",
      "config_placeholder": "请输入 JSON 格式的模型配置",
      "is_advanced": "高级模型"
    },
    "confirm": {
      "delete_title": "删除模型",
      "delete_message": "确定要删除公共模型 \"{{name}}\" 吗？此操作无法撤销。"
    },
    "success": {
      "created": "公共模型创建成功",
      "updated": "公共模型更新成功",
      "deleted": "公共模型删除成功"
    },
    "errors": {
      "load_failed": "加载公共模型失败",
      "create_failed": "创建公共模型失败",
      "update_failed": "更新公共模型失败",
      "delete_failed": "删除公共模型失败",
      "name_required": "模型名称不能为空",
      "config_required": "模型配置不能为空",
      "config_invalid_json": "模型配置必须是有效的 JSON 格式"
    }
  },
  "public_skills": {
    "title": "公共技能管理",
    "description": "管理系统级公共技能，所有用户可见",
    "loading": "加载技能中...",
    "no_skills": "暂无公共技能",
    "upload_skill": "上传技能",
    "update_skill": "更新技能",
    "download_skill": "下载技能",
    "delete_skill": "删除技能",
    "view_content": "查看内容",
    "skill_content": "技能内容",
    "view_content_description": "SKILL.md 文件的完整内容",
    "no_content": "无法加载内容",
    "columns": {
      "name": "名称",
      "description": "描述",
      "version": "版本",
      "author": "作者",
      "tags": "标签",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "confirm": {
      "delete_title": "删除技能",
      "delete_message": "确定要删除公共技能 \"{{name}}\" 吗？此操作无法撤销。"
    },
    "success": {
      "uploaded": "公共技能上传成功",
      "updated": "公共技能更新成功",
      "deleted": "公共技能删除成功",
      "metadata_updated": "元数据更新成功"
    },
    "errors": {
      "load_failed": "加载公共技能失败",
      "upload_failed": "上传公共技能失败",
      "update_failed": "更新公共技能失败",
      "delete_failed": "删除公共技能失败",
      "download_failed": "下载公共技能失败",
      "view_content_failed": "获取技能内容失败",
      "metadata_update_failed": "元数据更新失败"
    },
    "hidden": "隐藏",
    "edit_metadata": "编辑元数据",
    "edit_metadata_title": "编辑技能元数据",
    "edit_metadata_description": "编辑 \"{{name}}\" 的元数据信息",
    "fields": {
      "description": "描述",
      "version": "版本",
      "author": "作者",
      "tags": "标签",
      "visible": "可见性"
    },
    "placeholders": {
      "description": "请输入技能描述",
      "version": "请输入版本号",
      "author": "请输入作者",
      "tags": "标签1, 标签2, 标签3"
    },
    "hints": {
      "tags": "多个标签用逗号分隔",
      "visible": "关闭后该技能不会出现在用户的技能列表中，但已绑定的智能体仍可正常使用"
    }
  },
  "public_retrievers": {
    "title": "公共检索引擎管理",
    "description": "管理系统级公共检索引擎，所有用户可用",
    "loading": "加载检索引擎中...",
    "no_retrievers": "暂无公共检索引擎",
    "create_retriever": "创建检索引擎",
    "edit_retriever": "编辑检索引擎",
    "delete_retriever": "删除检索引擎",
    "form": {
      "name": "名称",
      "name_placeholder": "请输入检索引擎名称",
      "display_name": "显示名称",
      "display_name_placeholder": "请输入显示名称（可选）",
      "storage_type": "存储类型",
      "storage_type_placeholder": "请选择存储类型",
      "url": "连接地址",
      "url_placeholder": "例如: http://localhost:9200",
      "username": "用户名",
      "username_placeholder": "请输入用户名（可选）",
      "api_key": "API 密钥",
      "api_key_placeholder": "请输入 API 密钥（可选）",
      "index_strategy": "索引策略",
      "index_strategy_placeholder": "请选择索引策略",
      "per_user": "按用户分索引",
      "fixed": "固定索引",
      "fixed_name": "固定索引名",
      "fixed_name_placeholder": "请输入固定索引名",
      "prefix": "索引前缀",
      "prefix_placeholder": "默认: kb_",
      "description": "描述",
      "description_placeholder": "请输入描述（可选）"
    },
    "confirm": {
      "delete_title": "删除检索引擎",
      "delete_message": "确定要删除公共检索引擎 \"{{name}}\" 吗？此操作无法撤销。"
    },
    "success": {
      "created": "公共检索引擎创建成功",
      "updated": "公共检索引擎更新成功",
      "deleted": "公共检索引擎删除成功"
    },
    "errors": {
      "load_failed": "加载公共检索引擎失败",
      "create_failed": "创建公共检索引擎失败",
      "update_failed": "更新公共检索引擎失败",
      "delete_failed": "删除公共检索引擎失败",
      "name_required": "检索引擎名称不能为空",
      "url_required": "连接地址不能为空"
    }
  },
  "access_denied": {
    "title": "访问被拒绝",
    "message": "您没有权限访问此页面，只有管理员可以查看此内容。",
    "go_home": "返回首页"
  },
  "system_config": {
    "title": "Slogan 与提示管理",
    "description": "配置聊天页面的欢迎语和提示信息",
    "loading": "加载配置中...",
    "dialog_description": "请输入中英文内容，并选择适用的模式",
    "mode": "适用模式",
    "mode_chat": "聊天模式",
    "mode_code": "编码模式",
    "mode_both": "通用",
    "slogan_title": "Slogan 配置",
    "add_slogan": "添加 Slogan",
    "edit_slogan": "编辑 Slogan",
    "no_slogans": "暂无配置的 Slogan",
    "slogan_zh": "中文 Slogan",
    "slogan_en": "英文 Slogan",
    "slogan_zh_placeholder": "请输入中文 Slogan",
    "slogan_en_placeholder": "请输入英文 Slogan",
    "delete_slogan_title": "删除 Slogan",
    "delete_slogan_message": "确定要删除此 Slogan 吗？此操作无法撤销。",
    "tips_title": "提示配置",
    "add_tip": "添加提示",
    "edit_tip": "编辑提示",
    "no_tips": "暂无配置的提示",
    "tip_zh": "中文提示",
    "tip_en": "英文提示",
    "tip_zh_placeholder": "请输入中文提示内容",
    "tip_en_placeholder": "请输入英文提示内容",
    "delete_tip_title": "删除提示",
    "delete_tip_message": "确定要删除此提示吗？此操作无法撤销。",
    "quick_access_title": "首页推荐智能体",
    "quick_access_description": "选择首页 QuickCard 展示的系统内置智能体，右侧顺序即展示顺序。",
    "quick_access_available": "可选智能体",
    "quick_access_selected": "首页智能体",
    "quick_access_name": "名称",
    "quick_access_version": "首页智能体版本",
    "version": "版本",
    "success": {
      "updated": "配置更新成功"
    },
    "errors": {
      "load_failed": "加载配置失败",
      "save_failed": "保存配置失败",
      "slogan_required": "中英文 Slogan 均为必填项",
      "tip_required": "中英文提示内容均为必填项"
    }
  },
  "api_keys": {
    "title": "密钥管理",
    "description": "管理服务密钥、个人 API 密钥和对外签发配置",
    "service_keys": "服务密钥",
    "personal_keys": "个人密钥",
    "outbound_tokens": "对外签发"
  },
  "service_keys": {
    "title": "服务密钥管理",
    "description": "管理用于服务间调用的信任密钥",
    "no_keys": "暂无服务密钥",
    "create": "创建服务密钥",
    "name": "密钥名称",
    "name_placeholder": "请输入密钥名称",
    "description_label": "描述",
    "description_placeholder": "请输入密钥描述（可选）",
    "key": "密钥",
    "created_by": "创建者",
    "created_at": "创建时间",
    "last_used": "最后使用",
    "expires_at": "过期时间",
    "never_expires": "永不过期",
    "create_success": "服务密钥创建成功",
    "delete_success": "服务密钥删除成功",
    "enabled_success": "服务密钥已启用",
    "disabled_success": "服务密钥已禁用",
    "warning_save_key": "请妥善保存此密钥，它只会显示一次！",
    "delete_confirm_title": "确认删除",
    "delete_confirm_message": "确定要删除服务密钥 \"{{name}}\" 吗？相关服务将无法再使用此密钥进行调用。",
    "status_disabled": "已禁用",
    "enable": "启用",
    "disable": "禁用",
    "errors": {
      "load_failed": "加载服务密钥失败",
      "create_failed": "创建服务密钥失败",
      "delete_failed": "删除服务密钥失败",
      "toggle_failed": "切换服务密钥状态失败",
      "name_required": "密钥名称不能为空"
    }
  },
  "personal_keys": {
    "title": "个人密钥管理",
    "description": "查看和管理所有用户的个人 API 密钥",
    "no_keys": "暂无个人密钥",
    "search_placeholder": "搜索用户名或密钥名称...",
    "name": "密钥名称",
    "owner": "所属用户",
    "created_at": "创建时间",
    "last_used": "最后使用",
    "expires_at": "过期时间",
    "never_expires": "永不过期",
    "delete_success": "个人密钥删除成功",
    "enabled_success": "个人密钥已启用",
    "disabled_success": "个人密钥已禁用",
    "delete_confirm_title": "确认删除",
    "delete_confirm_message": "确定要删除用户 \"{{owner}}\" 的密钥 \"{{name}}\" 吗？该用户将无法再使用此密钥进行 API 调用。",
    "status_disabled": "已禁用",
    "enable": "启用",
    "disable": "禁用",
    "errors": {
      "load_failed": "加载个人密钥失败",
      "delete_failed": "删除个人密钥失败",
      "toggle_failed": "切换个人密钥状态失败"
    }
  },
  "outbound_tokens": {
    "title": "对外签发管理",
    "description": "管理技能访问外部服务时使用的签发器（TokenIssuer）和签名密钥（SigningKey）。",
    "summary": "调用方使用 `issuer_id` 请求签发；对外 token 的受众（aud）由签发器内部配置决定。",
    "empty_hint": "先创建一个签发器（TokenIssuer）；如果还没有签名密钥（SigningKey），可以在创建流程里直接生成。",
    "common": {
      "name": "名称",
      "description": "描述",
      "description_placeholder": "请输入描述（可选）",
      "enabled": "状态",
      "status_active": "已启用",
      "status_disabled": "已禁用",
      "created_at": "创建时间",
      "delete_confirm_title": "确认删除"
    },
    "actions": {
      "view_pem": "查看 PEM",
      "copy_pem": "复制 PEM",
      "edit": "编辑",
      "enable": "启用",
      "disable": "禁用"
    },
    "issuers": {
      "create": "创建签发器（TokenIssuer）",
      "create_dialog_title": "创建签发器（TokenIssuer）",
      "edit_dialog_title": "编辑签发器（TokenIssuer）",
      "dialog_description": "对外接入以签发器（TokenIssuer）为主配置。`issuer_id` 来自资源 id，签发时自动带出受众（aud）和签名密钥。",
      "no_issuers": "暂无签发器（TokenIssuer）",
      "name_placeholder": "例如 vip-sql-platform",
      "audience": "受众（aud）",
      "audience_placeholder": "例如 vip_sql_platform",
      "jwt_issuer": "签发方（iss）",
      "signing_key": "签名密钥（SigningKey）",
      "current_signing_key": "当前签名密钥（SigningKey）",
      "signing_key_hint": "此 issuer 的签发固定绑定到这把 key",
      "signing_key_placeholder": "选择一个可用的签名密钥（SigningKey）",
      "no_signing_keys_title": "暂无可用签名密钥",
      "no_signing_keys_description": "请先生成一个签名密钥（SigningKey），再继续创建或编辑签发器。",
      "default_ttl": "默认 TTL",
      "max_ttl": "最大 TTL",
      "create_success": "签发器（TokenIssuer）创建成功",
      "update_success": "签发器（TokenIssuer）更新成功",
      "delete_success": "签发器（TokenIssuer）删除成功",
      "enabled_success": "签发器（TokenIssuer）已启用",
      "disabled_success": "签发器（TokenIssuer）已禁用",
      "delete_confirm_message": "确定要删除签发器（TokenIssuer）\"{{name}}\" 吗？删除后该 `issuer_id` 将无法继续签发 token。",
      "errors": {
        "create_failed": "创建签发器（TokenIssuer）失败",
        "update_failed": "更新签发器（TokenIssuer）失败",
        "delete_failed": "删除签发器（TokenIssuer）失败",
        "toggle_failed": "切换签发器（TokenIssuer）状态失败",
        "requires_active_signing_key": "签发器只能绑定已启用的签名密钥，请先启用对应的 SigningKey。"
      }
    },
    "signing_keys": {
      "section_title": "底层签名密钥（SigningKey）管理",
      "section_description": "这里用于维护底层签名密钥。日常配置时优先从签发器（TokenIssuer）入口完成绑定和生成。",
      "create": "创建签名密钥（SigningKey）",
      "inline_create": "生成新签名密钥",
      "cancel_inline_create": "收起",
      "inline_create_title": "内联创建签名密钥（SigningKey）",
      "name_placeholder": "例如 vip-signing-key",
      "description_placeholder": "请输入密钥用途描述（可选）",
      "loading": "正在加载签名密钥（SigningKey）...",
      "kid": "KID",
      "algorithm": "算法",
      "usage_count": "关联签发器数",
      "no_keys": "暂无签名密钥（SigningKey）",
      "create_success": "签名密钥（SigningKey）创建成功",
      "delete_success": "签名密钥（SigningKey）删除成功",
      "enabled_success": "签名密钥（SigningKey）已启用",
      "disabled_success": "签名密钥（SigningKey）已禁用",
      "delete_confirm_message": "确定要删除签名密钥（SigningKey）\"{{name}}\" 吗？如果仍被任何签发器引用，删除会失败。",
      "errors": {
        "load_failed": "加载签名密钥（SigningKey）失败",
        "create_failed": "创建签名密钥（SigningKey）失败",
        "delete_failed": "删除签名密钥（SigningKey）失败",
        "toggle_failed": "切换签名密钥（SigningKey）状态失败",
        "disable_blocked_by_active_issuers": "该签名密钥仍被 {{count}} 个已启用签发器引用：{{names}}。请先停用这些签发器后再禁用此密钥。",
        "delete_blocked_by_issuers": "该签名密钥仍被 {{count}} 个签发器引用：{{names}}。请先解除这些引用后再删除。",
        "disable_blocked_by_issuer": "该签名密钥仍被已启用的签发器引用，请先停用相关签发器再禁用此密钥。",
        "delete_blocked_by_issuer": "该签名密钥仍被签发器引用，请先解除相关引用后再删除。"
      }
    },
    "pem_dialog": {
      "issuer_title": "签发器（TokenIssuer）公钥",
      "key_title": "签名密钥（SigningKey）公钥",
      "description": "当前显示的是 {{name}} 的 PEM 公钥，kid 为 {{kid}}。请把这把公钥提供给外部服务用于本地验签。"
    },
    "errors": {
      "load_failed": "加载对外签发配置失败",
      "copy_failed": "复制 PEM 失败",
      "issuer_name_required": "签发器（TokenIssuer）名称不能为空",
      "signing_key_required": "请选择签名密钥（SigningKey）",
      "signing_key_name_required": "签名密钥（SigningKey）名称不能为空",
      "audience_required": "受众（aud）不能为空",
      "invalid_ttl": "TTL 配置不合法"
    }
  },
  "monitor": {
    "title": "订阅执行监控",
    "description": "查看所有用户的订阅执行统计和错误信息",
    "time_range": {
      "1h": "最近 1 小时",
      "6h": "最近 6 小时",
      "24h": "最近 24 小时",
      "3d": "最近 3 天",
      "7d": "最近 7 天"
    },
    "stats": {
      "total_executions": "总执行数",
      "completed": "已完成",
      "failed": "失败",
      "retrying": "重试中",
      "cancelled": "已取消",
      "running": "运行中",
      "pending": "等待中",
      "active_subscriptions": "活跃订阅",
      "total_subscriptions": "总订阅数",
      "enabled_subscriptions": "已启用的订阅",
      "all_subscriptions": "所有订阅"
    },
    "error_list": {
      "title": "异常执行记录",
      "all_status": "全部状态",
      "failed": "失败",
      "cancelled": "已取消",
      "running": "运行中",
      "no_errors": "暂无异常执行记录",
      "columns": {
        "execution_id": "执行 ID",
        "subscription_id": "订阅 ID",
        "user_id": "用户 ID",
        "status": "状态",
        "trigger_type": "触发类型",
        "error_message": "错误信息",
        "created_at": "创建时间"
      },
      "pagination": "显示 {{start}}-{{end}} / 共 {{total}} 条"
    },
    "errors": {
      "load_stats_failed": "加载统计数据失败",
      "load_errors_failed": "加载异常记录失败"
    }
  },
  "public_teams": {
    "title": "公共智能体管理",
    "description": "管理系统级公共智能体，所有用户可用",
    "create_description": "创建新的公共智能体。所有引用的机器人必须是公共机器人。",
    "edit_description": "编辑公共智能体的基础信息和资源配置。",
    "loading": "加载智能体中...",
    "no_teams": "暂无公共智能体",
    "create_team": "创建智能体",
    "edit_team": "编辑智能体",
    "delete_team": "删除智能体",
    "member_count": "{{count}} 个机器人",
    "tabs": {
      "basic": "基础",
      "advanced": "高级"
    },
    "status": {
      "active": "启用",
      "inactive": "禁用"
    },
    "columns": {
      "id": "ID",
      "name": "名称",
      "namespace": "命名空间",
      "status": "状态",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "智能体名称",
      "name_placeholder": "请输入智能体名称",
      "namespace": "命名空间",
      "namespace_placeholder": "default",
      "config": "智能体配置",
      "config_placeholder": "请输入 JSON 格式的智能体配置",
      "config_hint": "配置必须包含 spec.members 并引用公共机器人"
    },
    "confirm": {
      "delete_title": "删除智能体",
      "delete_message": "确定要删除公共智能体 \"{{name}}\" 吗？此操作无法撤销。"
    },
    "success": {
      "created": "公共智能体创建成功",
      "updated": "公共智能体更新成功",
      "deleted": "公共智能体删除成功"
    },
    "errors": {
      "load_failed": "加载公共智能体失败",
      "create_failed": "创建公共智能体失败",
      "update_failed": "更新公共智能体失败",
      "delete_failed": "删除公共智能体失败",
      "name_required": "智能体名称不能为空",
      "config_required": "智能体配置不能为空",
      "config_invalid_json": "智能体配置必须是有效的 JSON 格式"
    }
  },
  "public_bots": {
    "title": "公共机器人管理",
    "description": "管理系统级公共机器人，所有用户可用",
    "create_description": "创建新的公共机器人。所有引用的资源（Ghost、Shell、Model）必须是公共资源。",
    "edit_description": "编辑公共机器人的基础信息和资源配置。",
    "loading": "加载机器人中...",
    "no_bots": "暂无公共机器人",
    "create_bot": "创建机器人",
    "edit_bot": "编辑机器人",
    "delete_bot": "删除机器人",
    "status": {
      "active": "启用",
      "inactive": "禁用"
    },
    "columns": {
      "id": "ID",
      "name": "名称",
      "namespace": "命名空间",
      "status": "状态",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "机器人名称",
      "name_placeholder": "请输入机器人名称",
      "namespace": "命名空间",
      "namespace_placeholder": "default",
      "ghost": "Ghost",
      "ghost_placeholder": "选择 Ghost（可选）",
      "ghost_none": "无",
      "shell": "Shell",
      "shell_placeholder": "选择 Shell（可选）",
      "shell_none": "无",
      "model": "Model",
      "model_placeholder": "选择 Model（可选）",
      "model_none": "无",
      "config": "机器人配置",
      "config_placeholder": "请输入 JSON 格式的机器人配置",
      "config_hint": "配置必须引用公共的 Ghost、Shell 和 Model 资源"
    },
    "confirm": {
      "delete_title": "删除机器人",
      "delete_message": "确定要删除公共机器人 \"{{name}}\" 吗？此操作无法撤销。"
    },
    "success": {
      "created": "公共机器人创建成功",
      "updated": "公共机器人更新成功",
      "deleted": "公共机器人删除成功"
    },
    "errors": {
      "load_failed": "加载公共机器人失败",
      "create_failed": "创建公共机器人失败",
      "update_failed": "更新公共机器人失败",
      "delete_failed": "删除公共机器人失败",
      "name_required": "机器人名称不能为空",
      "config_required": "机器人配置不能为空",
      "config_invalid_json": "机器人配置必须是有效的 JSON 格式"
    }
  },
  "public_ghosts": {
    "title": "公共 Ghost 管理",
    "description": "管理系统级公共 Ghost（系统提示词），所有用户可用",
    "create_description": "创建新的公共 Ghost。Ghost 定义机器人的系统提示词和工具配置。",
    "loading": "加载 Ghost 中...",
    "no_ghosts": "暂无公共 Ghost",
    "create_ghost": "创建 Ghost",
    "edit_ghost": "编辑 Ghost",
    "delete_ghost": "删除 Ghost",
    "status": {
      "active": "启用",
      "inactive": "禁用"
    },
    "columns": {
      "id": "ID",
      "name": "名称",
      "namespace": "命名空间",
      "status": "状态",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "Ghost 名称",
      "name_placeholder": "请输入 Ghost 名称",
      "namespace": "命名空间",
      "namespace_placeholder": "default",
      "config": "Ghost 配置",
      "config_placeholder": "请输入 JSON 格式的 Ghost 配置",
      "config_hint": "配置应包含 spec.systemPrompt，可选 spec.mcpServers、spec.skills"
    },
    "confirm": {
      "delete_title": "删除 Ghost",
      "delete_message": "确定要删除公共 Ghost \"{{name}}\" 吗？此操作无法撤销。",
      "delete_in_use_message": "此 Ghost 被公共机器人引用，无法删除。"
    },
    "success": {
      "created": "公共 Ghost 创建成功",
      "updated": "公共 Ghost 更新成功",
      "deleted": "公共 Ghost 删除成功"
    },
    "errors": {
      "load_failed": "加载公共 Ghost 失败",
      "create_failed": "创建公共 Ghost 失败",
      "update_failed": "更新公共 Ghost 失败",
      "delete_failed": "删除公共 Ghost 失败",
      "name_required": "Ghost 名称不能为空",
      "config_required": "Ghost 配置不能为空",
      "config_invalid_json": "Ghost 配置必须是有效的 JSON 格式"
    }
  },
  "public_shells": {
    "title": "公共 Shell 管理",
    "description": "管理系统级公共 Shell（执行环境），所有用户可用",
    "create_description": "创建新的公共 Shell。Shell 定义机器人的执行环境。",
    "loading": "加载 Shell 中...",
    "no_shells": "暂无公共 Shell",
    "create_shell": "创建 Shell",
    "edit_shell": "编辑 Shell",
    "delete_shell": "删除 Shell",
    "status": {
      "active": "启用",
      "inactive": "禁用"
    },
    "columns": {
      "id": "ID",
      "name": "名称",
      "namespace": "命名空间",
      "shell_type": "Shell 类型",
      "status": "状态",
      "created_at": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "Shell 名称",
      "name_placeholder": "请输入 Shell 名称",
      "namespace": "命名空间",
      "namespace_placeholder": "default",
      "config": "Shell 配置",
      "config_placeholder": "请输入 JSON 格式的 Shell 配置",
      "config_hint": "配置应包含 spec.shellType（ClaudeCode、Agno、Dify、Chat）"
    },
    "confirm": {
      "delete_title": "删除 Shell",
      "delete_message": "确定要删除公共 Shell \"{{name}}\" 吗？此操作无法撤销。",
      "delete_in_use_message": "此 Shell 被公共机器人引用，无法删除。"
    },
    "success": {
      "created": "公共 Shell 创建成功",
      "updated": "公共 Shell 更新成功",
      "deleted": "公共 Shell 删除成功"
    },
    "errors": {
      "load_failed": "加载公共 Shell 失败",
      "create_failed": "创建公共 Shell 失败",
      "update_failed": "更新公共 Shell 失败",
      "delete_failed": "删除公共 Shell 失败",
      "name_required": "Shell 名称不能为空",
      "config_required": "Shell 配置不能为空",
      "config_invalid_json": "Shell 配置必须是有效的 JSON 格式"
    }
  },
  "setup_wizard": {
    "title": "欢迎使用 Wegent",
    "subtitle": "让我们为您的系统配置一些必要的资源",
    "step_indicator": "第 {{current}} 步，共 {{total}} 步",
    "step_models": "配置公共模型",
    "step_skills": "配置公共技能",
    "next": "下一步",
    "previous": "上一步",
    "skip": "跳过",
    "finish": "完成",
    "skip_confirm_title": "跳过设置？",
    "skip_confirm_message": "您可以稍后在管理面板中配置公共模型和技能。确定要跳过设置向导吗？",
    "skip_confirm_yes": "是的，跳过",
    "skip_confirm_no": "继续设置",
    "model_step": {
      "title": "配置公共模型",
      "description": "设置所有用户可用的 AI 模型。您可以添加多个模型。",
      "no_models": "尚未配置公共模型",
      "add_model": "添加模型",
      "model_added": "模型添加成功",
      "model_updated": "模型更新成功",
      "model_deleted": "模型删除成功",
      "add_first_model": "添加您的第一个公共模型"
    },
    "skill_step": {
      "title": "配置公共技能",
      "description": "上传所有用户可用的技能包（.zip）。技能为 AI 代理提供按需能力。",
      "no_skills": "尚未配置公共技能",
      "add_skill": "添加技能",
      "add_skill_description": "上传 ZIP 包或从 Git 仓库导入技能",
      "upload_tab": "上传",
      "git_import_tab": "Git 导入",
      "upload_skill": "上传技能",
      "skill_uploaded": "技能上传成功",
      "skill_deleted": "技能删除成功",
      "drag_drop_hint": "将 .zip 文件拖放到此处，或点击浏览",
      "file_requirements": "技能包必须是包含 SKILL.md 的 .zip 文件",
      "skill_name": "技能名称",
      "skill_name_placeholder": "请输入技能名称",
      "skill_name_hint": "技能的唯一标识符（例如：mermaid-diagram）",
      "zip_package": "ZIP 包",
      "max_file_size": "最大文件大小：10MB",
      "uploading": "上传中...",
      "requirements": "要求",
      "requirement_zip": "文件必须是 ZIP 压缩包",
      "requirement_folder": "必须包含以技能名称命名的文件夹",
      "requirement_skill_md": "必须包含 SKILL.md 元数据文件",
      "requirement_size": "最大文件大小：10MB",
      "git_url_label": "Git 仓库地址",
      "git_url_placeholder": "https://github.com/owner/repo",
      "git_url_hint": "支持 GitHub、GitLab、Gitee 和 Gitea 仓库",
      "git_scan_button": "扫描",
      "git_scanning": "扫描中...",
      "git_invalid_url": "请输入有效的 Git 仓库地址",
      "git_no_skills_found": "未在仓库中找到技能",
      "git_no_skills_hint": "确保仓库中包含带有 SKILL.md 文件的技能目录",
      "git_repo_not_found": "仓库不存在或无法访问",
      "git_download_failed": "下载仓库失败",
      "git_skills_found": "找到 {{count}} 个技能",
      "git_select_all": "全选",
      "git_deselect_all": "取消全选",
      "git_import_selected": "导入选中的技能",
      "git_conflict_title": "技能名称冲突",
      "git_conflict_description": "以下技能已存在。选择要覆盖的技能：",
      "git_import_confirm": "确认导入",
      "git_import_result_title": "导入完成",
      "git_import_success": "成功导入 {{count}} 个技能",
      "git_import_skipped": "跳过 {{count}} 个技能（已存在）",
      "git_import_failed": "{{count}} 个技能导入失败",
      "git_import_failed_details": "失败详情"
    },
    "success": {
      "completed": "设置完成！您现在可以开始使用 Wegent。",
      "skipped": "设置已跳过。您可以随时在管理面板中配置资源。"
    },
    "errors": {
      "load_status_failed": "检查设置状态失败",
      "complete_failed": "完成设置失败"
    }
  },
  "im_channels": {
    "title": "IM 渠道管理",
    "description": "管理 IM 平台集成（钉钉、飞书）",
    "create_description": "创建新的 IM 渠道集成。配置平台凭据和默认智能体。",
    "loading": "加载渠道中...",
    "no_channels": "暂无 IM 渠道配置",
    "no_default_team": "无默认智能体",
    "default_team": "默认智能体",
    "create_channel": "创建渠道",
    "edit_channel": "编辑渠道",
    "delete_channel": "删除渠道",
    "restart_channel": "重启连接",
    "types": {
      "dingtalk": "钉钉",
      "feishu": "飞书",
      "telegram": "Telegram",
      "not_supported": "暂不支持"
    },
    "status": {
      "enabled": "已启用",
      "disabled": "已禁用"
    },
    "connection": {
      "connected": "已连接",
      "disconnected": "未连接"
    },
    "form": {
      "name": "渠道名称",
      "name_placeholder": "请输入渠道名称",
      "channel_type": "渠道类型",
      "client_id": "Client ID",
      "client_id_placeholder": "请输入平台 Client ID",
      "client_secret": "Client Secret",
      "client_secret_placeholder": "请输入平台 Client Secret",
      "client_secret_edit_placeholder": "请输入新的 Client Secret（留空保持不变）",
      "card_template_id": "AI 卡片模板 ID",
      "card_template_id_placeholder": "请输入钉钉 AI 卡片模板 ID（可选）",
      "card_template_id_help": "配置后，订阅通知将使用 AI 卡片格式发送",
      "bot_token": "Bot Token",
      "bot_token_placeholder": "请输入 Telegram Bot Token",
      "bot_token_edit_placeholder": "请输入新的 Bot Token（留空保持不变）",
      "leave_empty_to_keep": "留空保持不变",
      "default_team": "默认智能体",
      "default_team_placeholder": "选择默认智能体",
      "no_default_team": "无默认智能体",
      "default_model": "默认模型",
      "default_model_placeholder": "选择默认模型",
      "no_default_model": "使用智能体默认模型",
      "team_no_model_warning": "该智能体没有配置模型，必须选择一个默认模型",
      "is_enabled": "启用渠道",
      "user_mapping_mode": "用户映射方式",
      "user_mapping_mode_description": "选择如何将 IM 用户映射到系统用户",
      "user_mapping_modes": {
        "select_user": "指定用户",
        "staff_id": "按工号匹配",
        "email": "按邮箱匹配"
      },
      "target_user": "目标用户",
      "target_user_description": "所有 IM 消息将以此用户身份处理",
      "select_user_placeholder": "选择用户"
    },
    "confirm": {
      "delete_title": "删除渠道",
      "delete_message": "确定要删除 IM 渠道 \"{{name}}\" 吗？此操作无法撤销。"
    },
    "success": {
      "created": "IM 渠道创建成功",
      "updated": "IM 渠道更新成功",
      "deleted": "IM 渠道删除成功",
      "enabled": "IM 渠道已启用",
      "disabled": "IM 渠道已禁用",
      "restarted": "IM 渠道已重启"
    },
    "errors": {
      "load_failed": "加载 IM 渠道失败",
      "create_failed": "创建 IM 渠道失败",
      "update_failed": "更新 IM 渠道失败",
      "delete_failed": "删除 IM 渠道失败",
      "toggle_failed": "切换 IM 渠道状态失败",
      "restart_failed": "重启 IM 渠道失败",
      "name_required": "渠道名称不能为空",
      "config_required": "Client ID 和 Client Secret 不能为空",
      "bot_token_required": "Bot Token 不能为空",
      "team_required": "必须选择一个默认智能体",
      "model_required_for_team": "所选智能体没有配置模型，必须选择一个默认模型",
      "target_user_required": "使用指定用户模式时必须选择一个目标用户"
    }
  },
  "device_monitor": {
    "title": "设备监控",
    "description": "查看所有用户注册的设备在线状态和运行情况",
    "loading": "加载设备中...",
    "no_devices": "暂无设备",
    "search_placeholder": "搜索设备名称、ID 或用户名...",
    "filters": {
      "all_status": "全部状态",
      "all_device_type": "全部类型",
      "all_bind_shell": "全部 Shell"
    },
    "version_filter": {
      "placeholder": "按版本筛选，如 1.6.5",
      "operators": {
        "gt": ">",
        "gte": ">=",
        "eq": "=",
        "lt": "<",
        "lte": "<="
      }
    },
    "status": {
      "online": "在线",
      "offline": "离线",
      "busy": "忙碌"
    },
    "device_type": {
      "local": "本地设备",
      "cloud": "云设备"
    },
    "bind_shell": {
      "claudecode": "Claude Code",
      "openclaw": "OpenClaw"
    },
    "stats": {
      "total": "总设备数",
      "user_count": "用户数量",
      "online": "在线",
      "offline": "离线云设备",
      "busy": "忙碌",
      "local": "本地设备",
      "cloud": "云设备"
    },
    "columns": {
      "name": "设备名称",
      "device_id": "设备 ID",
      "device_type": "设备类型",
      "bind_shell": "Shell",
      "status": "状态",
      "user": "所属用户",
      "version": "版本",
      "ip": "IP 地址",
      "created_at": "创建时间"
    },
    "errors": {
      "load_failed": "加载设备列表失败",
      "load_stats_failed": "加载统计数据失败",
      "upgrade_failed": "发送升级命令失败",
      "restart_failed": "发送重启命令失败",
      "migrate_failed": "发送迁移命令失败"
    },
    "actions": {
      "upgrade": "升级",
      "upgrade_unsupported": "版本低于 {{version}}，不支持在线升级",
      "restart": "重启",
      "migrate": "迁移",
      "upgrade_sent": "升级命令已发送",
      "restart_sent": "重启命令已发送",
      "migrate_sent": "迁移命令已发送"
    }
  },
  "templates": {
    "title": "模板管理",
    "description": "管理系统级模板，用户可通过模板快速创建 Inbox 自动化工作流",
    "loading": "加载模板中...",
    "no_templates": "暂无模板",
    "create_template": "创建模板",
    "edit_template": "编辑模板",
    "delete_template": "删除模板",
    "create_description": "创建新的系统模板，用户可通过模板一键创建完整的 Inbox 自动化工作流。",
    "edit_description": "编辑模板的基础信息和资源配置。",
    "tabs": {
      "basic": "基础信息",
      "resources": "资源配置"
    },
    "categories": {
      "inbox": "Inbox 自动化"
    },
    "form": {
      "name": "模板名称",
      "name_placeholder": "请输入模板唯一标识名称（如：daily-standup）",
      "name_hint": "模板的唯一标识符，创建后不可修改，只允许小写字母、数字和连字符",
      "display_name": "显示名称",
      "display_name_placeholder": "请输入模板显示名称",
      "description": "描述",
      "description_placeholder": "请输入模板描述（可选）",
      "category": "分类",
      "icon": "图标",
      "icon_placeholder": "请输入 Emoji 图标（如：📋）",
      "icon_hint": "使用 Emoji 作为模板图标",
      "tags": "标签",
      "tags_placeholder": "请输入标签，多个标签用逗号分隔（如：standup, summary）",
      "tags_hint": "多个标签用英文逗号分隔",
      "resources": "资源配置（JSON）",
      "resources_placeholder": "请输入资源配置 JSON",
      "resources_hint": "定义模板实例化时创建的资源，支持 ghost、bot、team、subscription、queue 字段"
    },
    "confirm": {
      "delete_title": "删除模板",
      "delete_message": "确定要删除模板 \"{{name}}\" 吗？此操作无法撤销，已使用此模板创建的资源不受影响。"
    },
    "success": {
      "created": "模板创建成功",
      "updated": "模板更新成功",
      "deleted": "模板删除成功"
    },
    "errors": {
      "load_failed": "加载模板列表失败",
      "create_failed": "创建模板失败",
      "update_failed": "更新模板失败",
      "delete_failed": "删除模板失败",
      "name_required": "模板名称不能为空",
      "display_name_required": "显示名称不能为空",
      "resources_invalid_json": "资源配置必须是有效的 JSON 格式"
    }
  }
}
