{
    "mcp.settings.title": "MCP 服务器设置",
    "mcp.settings.version": "v{version}",
    "mcp.server.status": "服务器状态",
    "mcp.server.running": "运行中",
    "mcp.server.stopped": "已停止",
    "mcp.server.connections": "{count} 个连接",
    "mcp.server.start": "启动服务器",
    "mcp.server.stop": "停止服务器",
    "mcp.server.restart": "重启",
    "mcp.config.port": "端口",
    "mcp.config.port.desc": "MCP 服务器端口（默认：3001）",
    "mcp.config.startOnBoot": "Tabby 启动时自动启动服务器",
    "mcp.logging.title": "日志",
    "mcp.logging.enable": "启用日志",
    "mcp.logging.level": "日志级别",
    "mcp.logging.level.debug": "调试",
    "mcp.logging.level.info": "信息",
    "mcp.logging.level.warn": "警告",
    "mcp.logging.level.error": "错误",
    "mcp.logging.viewLogs": "查看日志",
    "mcp.logging.exportJson": "导出 JSON",
    "mcp.logging.clearLogs": "清空日志",
    "mcp.pairProgramming.title": "结对编程模式",
    "mcp.pairProgramming.enable": "启用结对编程模式",
    "mcp.pairProgramming.enable.desc": "启用后，AI 命令执行前需要确认",
    "mcp.pairProgramming.showDialog": "显示确认对话框",
    "mcp.pairProgramming.autoFocus": "执行命令时自动聚焦终端",
    "mcp.sessionTracking.title": "会话跟踪",
    "mcp.sessionTracking.desc": "配置会话和标签页的识别方式",
    "mcp.sessionTracking.stableIds": "使用稳定的 UUID 识别会话",
    "mcp.sessionTracking.stableIds.desc": "会话获得持久 ID，标签页重新排序时不会改变",
    "mcp.sessionTracking.profileInfo": "在会话列表中包含配置文件信息",
    "mcp.sessionTracking.pid": "在会话信息中包含进程 ID",
    "mcp.sessionTracking.cwd": "在会话信息中包含当前工作目录",
    "mcp.backgroundExecution.title": "后台执行",
    "mcp.backgroundExecution.desc": "控制 MCP 操作是否在后台运行而不切换焦点",
    "mcp.backgroundExecution.enable": "启用后台执行模式",
    "mcp.backgroundExecution.enable.desc": "启用后，AI 命令执行时不会切换到目标终端。你可以继续在其他标签页工作，同时 AI 在后台执行命令。",
    "mcp.backgroundExecution.warning.title": "后台执行风险：",
    "mcp.backgroundExecution.warning.visibility": "可见性受限：你无法实时看到命令执行过程",
    "mcp.backgroundExecution.warning.conflicts": "输入冲突：如果你在目标终端输入时 AI 也在执行命令，输入会混乱导致错误",
    "mcp.backgroundExecution.warning.splitPanes": "分割窗格：命令发送到 sessionId 指定的窗格，而非聚焦的窗格",
    "mcp.backgroundExecution.warning.dangerous": "危险命令：AI 可能在你不注意时执行破坏性命令（rm -rf 等）",
    "mcp.backgroundExecution.safety.title": "建议的安全措施：",
    "mcp.backgroundExecution.safety.pairProgramming": "保持「结对编程模式」开启并启用确认对话框",
    "mcp.backgroundExecution.safety.sessionId": "使用 sessionId 指定目标终端，避免跨终端误操作",
    "mcp.backgroundExecution.safety.monitor": "定期通过 get_terminal_buffer 监控终端缓冲区",
    "mcp.sftp.title": "SFTP 设置",
    "mcp.sftp.desc": "SFTP 文件传输支持（需要 tabby-ssh 插件）",
    "mcp.sftp.enable": "启用 SFTP 工具",
    "mcp.sftp.enable.desc": "如果未安装 tabby-ssh，SFTP 工具将自动禁用",
    "mcp.sftp.maxReadSize": "最大读取大小",
    "mcp.sftp.maxReadSize.desc": "sftp_read_file 的最大文件大小（默认：1 MB）",
    "mcp.sftp.maxUploadSize": "最大上传大小",
    "mcp.sftp.maxUploadSize.desc": "sftp_upload 的最大文件大小（默认：10 GB）",
    "mcp.sftp.maxDownloadSize": "最大下载大小",
    "mcp.sftp.maxDownloadSize.desc": "sftp_download 的最大文件大小（默认：10 GB）",
    "mcp.sftp.timeout": "超时时间（秒）",
    "mcp.sftp.timeout.desc": "SFTP 操作超时（默认：60 秒）",
    "mcp.sftp.notes.title": "SFTP 说明：",
    "mcp.sftp.notes.binary": "文件传输为直接二进制（无 base64 编码）",
    "mcp.sftp.notes.memory": "大文件传输时可能消耗大量内存",
    "mcp.sftp.notes.overwrite": "sftp_write_file 可能在无确认的情况下覆盖文件",
    "mcp.sftp.notes.limit": "如果文件超过大小限制，MCP 将返回错误（无弹窗）",
    "mcp.environmentDetection.title": "环境探测",
    "mcp.environmentDetection.desc": "在发送命令前，基于启发式方法推断当前终端上下文（Shell、Python、数据库 REPL 等）。",
    "mcp.environmentDetection.enable": "启用环境探测",
    "mcp.environmentDetection.enable.desc": "向智能体和脚本暴露 get_session_environment。默认关闭，以保证安全和可预测性。",
    "mcp.environmentDetection.enhanced": "使用增强启发式探测",
    "mcp.environmentDetection.enhanced.desc": "扫描最近的提示符行，并规范化 ANSI/控制序列，以提高提示符识别准确率。",
    "mcp.environmentDetection.mode": "探测模式",
    "mcp.environmentDetection.mode.heuristic": "启发式（被动）",
    "mcp.environmentDetection.mode.active": "主动探测（更强）",
    "mcp.environmentDetection.mode.desc": "主动模式会在 shell 会话中增加低风险探针以提高准确率，但仍可能受到交互状态或 shell 策略影响。",
    "mcp.environmentDetection.warning.title": "环境探测限制：",
    "mcp.environmentDetection.warning.heuristic": "该功能基于启发式判断；对于自定义 prompt 或不常见的交互工具，可能不准确。",
    "mcp.environmentDetection.warning.transient": "SSH 登录提示或临时状态行可能出现在真正 prompt 之前，影响判断结果。",
    "mcp.environmentDetection.warning.customPrompt": "数据库或 REPL 的识别依赖可辨认的提示符；高度自定义的 prompt 会降低准确率。",
    "mcp.environmentDetection.warning.verify": "对于关键操作，请先结合 get_terminal_buffer 或手动命令确认，再执行可能有破坏性的动作。",
    "mcp.environmentDetection.restart.confirm": "环境探测工具的可见性已改变。是否现在重启 MCP 服务器，以刷新当前客户端看到的工具列表？现有 MCP 连接可能需要重新连接。",
    "mcp.environmentDetection.restart.done": "✓ 设置已保存，并已重启 MCP 服务器",
    "mcp.environmentDetection.restart.later": "✓ 设置已保存。现有 MCP 客户端可能需要重新连接后才能看到更新后的工具列表。",
    "mcp.experimental.title": "实验性功能",
    "mcp.experimental.streamCapture.label": "使用流式捕获 (Beta)",
    "mcp.experimental.streamCapture.desc": "通过直接捕获数据流解决长命令输出截断问题（绕过屏幕缓冲区）。默认为关闭（传统模式）。",
    "mcp.experimental.streamCapture.note": "此模式绕过终端屏幕缓冲区限制。建议用于执行产生大量输出的命令（例如 cat 大文件）。",
    "mcp.timing.title": "时间设置",
    "mcp.timing.desc": "命令执行和会话检测的高级时间配置",
    "mcp.timing.pollInterval": "轮询间隔（毫秒）",
    "mcp.timing.pollInterval.desc": "检查命令输出的频率（默认：100）",
    "mcp.timing.initialDelay": "初始延迟（毫秒）",
    "mcp.timing.initialDelay.desc": "开始轮询前的延迟（默认：0）",
    "mcp.timing.sessionStableChecks": "会话稳定检查次数",
    "mcp.timing.sessionStableChecks.desc": "会话就绪检测的稳定检查次数（默认：5）",
    "mcp.timing.sessionPollInterval": "会话轮询间隔（毫秒）",
    "mcp.timing.sessionPollInterval.desc": "会话就绪轮询的间隔（默认：200）",
    "mcp.connectionInfo.title": "连接信息",
    "mcp.connectionInfo.streamable": "Streamable HTTP（推荐）：",
    "mcp.connectionInfo.legacySse": "Legacy SSE：",
    "mcp.connectionInfo.healthCheck": "健康检查：",
    "mcp.connectionInfo.addToClient": "添加到你的 MCP 客户端（如 Cursor、VS Code）：",
    "mcp.connectionInfo.copyConfig": "复制配置",
    "mcp.common.saved": "✓ 设置已保存",
    "mcp.common.mb": "MB",
    "mcp.common.sec": "秒"
}