{
  "generalSettings": {
    "title": "一般设置",
    "settings": {
      "heading": "Web UI 设置",
      "speechRecognitionLang": {
        "label": "语音识别语言",
        "placeholder": "选择一种语言"
      },
      "language": {
        "label": "语言",
        "placeholder": "选择一种语言"
      },
      "darkMode": {
        "label": "更改主题",
        "options": {
          "light": "亮色",
          "dark": "暗色"
        }
      },
      "searchMode": {
        "label": "使用简化的互联网搜索"
      },
      "copilotResumeLastChat": {
        "label": "打开侧边栏时恢复上次聊天（Copilot）"
      },
      "turnOnChatWithWebsite": {
        "label": "默认启用与网站对话（Copilot）"
      },
      "webUIResumeLastChat": {
        "label": "打开Web UI时恢复上次聊天"
      },
      "hideCurrentChatModelSettings": {
        "label": "隐藏当前聊天模型设置"
      },
      "restoreLastChatModel": {
        "label": "恢复上次用于之前聊天的模型"
      },
      "sendNotificationAfterIndexing": {
        "label": "完成知识库处理后发送通知"
      },
      "generateTitle": {
        "label": "使用人工智能生成标题"
      },
      "ollamaStatus": {
        "label": "启用或禁用Ollama连接状态检查"
      },
      "wideMode": {
        "label": "启用宽屏模式"
      },
      "openReasoning": {
        "label": "默认展开推理过程"
      },
      "userChatBubble": {
        "label": "使用聊天气泡显示用户消息"
      },
      "autoCopyResponseToClipboard": {
        "label": "自动复制回复到剪贴板"
      },
      "useMarkdownForUserMessage": {
        "label": "为用户消息启用Markdown格式"
      },
      "copyAsFormattedText": {
        "label": "复制为格式化文本"
      },
      "tabMentionsEnabled": {
        "label": "启用标签提及功能 (@tab)"
      },
      "pasteLargeTextAsFile": {
        "label": "将大文本粘贴为文件"
      },
      "sidepanelTemporaryChat": {
        "label": "默认启用侧边栏临时聊天"
      },
      "defaultCopilotPrompt": {
        "label": "侧边栏 (Copilot) 的默认提示词",
        "placeholder": "选择一个提示词"
      },
      "defaultWebUIPrompt": {
        "label": "Web UI 的默认提示词",
        "placeholder": "选择一个提示词"
      },
      "defaultThinkingMode": {
        "label": "在表单中显示思考模式状态"
      },
      "ocrLanguage": {
        "label": "默认 OCR 语言",
        "placeholder": "选择一种 OCR 语言"
      },
      "webuiTemporaryChat": {
        "label": "默认启用 Web UI 临时聊天"
      },
      "removeReasoningTagFromCopy": {
        "label": "从复制的文本中删除推理标签"
      },
      "youtubeAutoSummarize": {
        "label": "在 YouTube 视频上显示「总结」按钮。"
      },
      "hideReasoningWidget": {
        "label": "在 AI 消息中隐藏推理小部件"
      },
      "persistChatInput": {
        "label": "保留聊天输入（保存未发送的消息）"
      },
      "enableMessageQueue": {
        "label": "在流式传输时启用消息队列"
      },
      "optimizeQueueForSmallScreen": {
        "label": "为小屏幕优化聊天界面"
      },
      "tableTextWrap": {
        "label": "在 Markdown 表格中启用文本换行"
      },
      "showMoreForLargeMessage": {
        "label": "为长用户消息显示「显示更多」"
      },
      "sidebarPosition": {
        "label": "侧边栏位置",
        "options": {
          "left": "左",
          "right": "右"
        }
      },
      "showMcpServersInChat": {
        "label": "在聊天中显示 MCP 服务器开关"
      },
      "enableAgentWebSearch": {
        "label": "使用代理网络搜索（由模型决定何时搜索和获取）"
      },
      "mcpHumanInLoop": {
        "label": "在运行 MCP 工具之前需要批准"
      },
      "showProviderNameInModelList": {
        "label": "在模型列表中显示提供商名称"
      }
    },
    "sidepanelRag": {
      "heading": "检索设置",
      "ragEnabled": {
        "label": "启用嵌入和检索"
      },
      "maxWebsiteContext": {
        "label": "完整上下文模式的最大内容大小",
        "placeholder": "内容大小（默认4028）"
      }
    },
    "webSearch": {
      "heading": "管理网络搜索",
      "searchMode": {
        "label": "执行简单的网际网路搜索"
      },
      "provider": {
        "label": "搜索引擎",
        "placeholder": "选择一个搜索引擎"
      },
      "totalSearchResults": {
        "label": "总搜索结果",
        "placeholder": "输入总搜索结果"
      },
      "visitSpecificWebsite": {
        "label": "访问消息中提到的网站。"
      },
      "searxng": {
        "url": {
          "label": "SearXNG 网址"
        }
      },
      "braveApi": {
        "label": "Brave API 密钥",
        "placeholder": "输入您的 Brave API 密钥"
      },
      "searchOnByDefault": {
        "label": "默认开启网络搜索"
      },
      "tavilyApi": {
        "label": "Tavily API 密钥",
        "placeholder": "输入您的 Tavily API 密钥"
      },
      "exa": {
        "label": "Exa API 密钥",
        "placeholder": "输入您的 Exa API 密钥"
      },
      "googleDomain": {
        "label": "Google 域名"
      },
      "firecrawlAPIKey": {
        "label": "Firecrawl API 密钥",
        "placeholder": "输入您的 Firecrawl API 密钥"
      },
      "domainFilter": {
        "label": "域名过滤列表",
        "description": "仅显示来自这些域名的结果",
        "placeholder": "例如：example.com"
      },
      "blockedDomains": {
        "label": "屏蔽的域名",
        "description": "排除来自这些域名的结果",
        "placeholder": "例如：spam.com"
      }
    },
    "system": {
      "heading": "系统设置",
      "storageSyncEnabled": {
        "label": "启用浏览器存储同步（跨设备同步设置）"
      },
      "deleteChatHistory": {
        "label": "系统重置",
        "button": "全部重置",
        "confirm": "您确定要执行系统重置吗？这将清除所有数据且无法撤消。"
      },
      "export": {
        "label": "导出所有数据（聊天记录、知识库、提示和设置）",
        "button": "导出数据",
        "success": "导出成功"
      },
      "import": {
        "label": "导入所有数据（聊天记录、知识库、提示和设置）",
        "button": "导入数据",
        "success": "导入成功",
        "error": "导入错误"
      },
      "actionIcon": {
        "label": "设置扩展图标点击的默认操作"
      },
      "contextMenu": {
        "label": "设置上下文菜单的默认操作"
      },
      "fontSize": {
        "label": "字体大小"
      },
      "webuiBtnSidePanel": {
        "label": "在侧边栏中显示 Web UI 按钮"
      },
      "chatBackgroundImage": {
        "label": "聊天背景图片"
      }
    },
    "tts": {
      "heading": "文本转语音设置",
      "ttsEnabled": {
        "label": "启用文本转语音"
      },
      "ttsAutoPlay": {
        "label": "完成后自动播放语音回复"
      },
      "ttsProvider": {
        "label": "文本转语音提供商",
        "placeholder": "选择一个提供商"
      },
      "ttsVoice": {
        "label": "文本转语音语音",
        "placeholder": "选择一种语音"
      },
      "ssmlEnabled": {
        "label": "启用SSML(语音合成标记语言)"
      },
      "removeReasoningTagTTS": {
        "label": "从语音合成中移除推理标签"
      },
      "responseSplitting": {
        "label": "回复分割"
      }
    },
    "stt": {
      "heading": "语音转文本设置",
      "autoStopTimeout": {
        "label": "自动停止超时（毫秒）",
        "placeholder": "输入自动停止超时时间（毫秒）"
      },
      "autoSubmitVoiceMessage": {
        "label": "自动提交语音消息"
      }
    }
  },
  "manageModels": {
    "title": "管理模型",
    "addBtn": "添加新模型",
    "columns": {
      "name": "名称",
      "digest": "摘要",
      "nickname": "昵称",
      "modifiedAt": "修改时间",
      "size": "大小",
      "actions": "操作"
    },
    "expandedColumns": {
      "parentModel": "父模型",
      "format": "格式",
      "family": "家族",
      "parameterSize": "参数大小",
      "quantizationLevel": "量化级别"
    },
    "tooltip": {
      "delete": "删除模型",
      "repull": "重新拉取模型",
      "editNickname": "编辑昵称"
    },
    "confirm": {
      "delete": "您确定要删除此模型吗？",
      "repull": "您确定要重新拉取此模型吗？"
    },
    "modal": {
      "title": "添加新模型",
      "placeholder": "输入模型名称",
      "pull": "拉取模型"
    },
    "notification": {
      "pullModel": "正在拉取模型",
      "pullModelDescription": "正在拉取 {{modelName}} ，请查看扩展图标。",
      "cancellingDownload": "正在取消下载",
      "cancellingDownloadDescription": "正在取消模型下载...",
      "success": "成功",
      "error": "错误",
      "successDescription": "成功拉取了模型",
      "successDeleteDescription": "成功删除了模型",
      "someError": "出现了问题。请稍后再试。"
    }
  },
  "managePrompts": {
    "title": "管理提示词",
    "addBtn": "添加新提示词",
    "option1": "普通",
    "option2": "RAG",
    "questionPrompt": "问题提示词",
    "columns": {
      "title": "标题",
      "prompt": "提示词",
      "type": "提示词类型",
      "actions": "操作"
    },
    "systemPrompt": "系统提示词",
    "quickPrompt": "快速提示词",
    "tooltip": {
      "delete": "删除提示词",
      "edit": "编辑提示词"
    },
    "confirm": {
      "delete": "您确定要删除此提示词吗？这个操作不能撤销。"
    },
    "modal": {
      "addTitle": "添加新提示词",
      "editTitle": "编辑提示词"
    },
    "segmented": {
      "custom": "自定义提示",
      "copilot": "Copilot 提示"
    },
    "form": {
      "title": {
        "label": "标题",
        "placeholder": "我厉害的提示词",
        "required": "请输入标题",
        "help": "您可以在提示词中使用 {key} 作为变量。"
      },
      "prompt": {
        "label": "提示词",
        "placeholder": "输入提示词",
        "required": "请输入提示词",
        "help": "您可以在提示词中使用 {key} 作为变量。",
        "missingTextPlaceholder": "提示中缺少{text}变量。请添加它。"
      },
      "isSystem": {
        "label": "是否为系统提示词"
      },
      "btnSave": {
        "saving": "添加提示词中...",
        "save": "添加提示词"
      },
      "btnEdit": {
        "saving": "更新提示词中...",
        "save": "更新提示词"
      }
    },
    "notification": {
      "addSuccess": "提示词已添加",
      "addSuccessDesc": "提示词已成功添加",
      "error": "错误",
      "someError": "出现了问题。请稍后再试。",
      "updatedSuccess": "提示词已更新",
      "updatedSuccessDesc": "提示词已成功更新",
      "deletedSuccess": "提示词已删除",
      "deletedSuccessDesc": "提示词已成功删除"
    }
  },
  "manageShare": {
    "title": "管理共享",
    "heading": "配置对话共享服务 URL",
    "form": {
      "url": {
        "label": "对话共享服务 URL",
        "placeholder": "输入对话共享服务 URL",
        "required": "请输入您的对话共享服务 URL！",
        "help": "出于隐私原因，您可以自行托管对话共享服务并在此处提供 URL，<anchor>了解更多</anchor>。"
      }
    },
    "webshare": {
      "heading": "对话共享",
      "columns": {
        "title": "标题",
        "url": "URL",
        "actions": "操作"
      },
      "tooltip": {
        "delete": "删除对话共享"
      },
      "confirm": {
        "delete": "您确定要删除此对话共享吗？这个操作不能撤销。"
      },
      "label": "管理页面分享",
      "description": "启用或禁用页面分享功能 "
    },
    "notification": {
      "pageShareSuccess": "对话共享服务 URL 已成功更新",
      "someError": "出现了问题。请稍后再试。",
      "webShareDeleteSuccess": "对话共享已成功删除"
    }
  },
  "ollamaSettings": {
    "title": "Ollama 设置",
    "heading": "配置 Ollama",
    "settings": {
      "ollamaUrl": {
        "label": "Ollama URL",
        "placeholder": "输入 Ollama URL"
      },
      "globalEnable": {
        "label": "启用或禁用全局 Ollama 集成",
        "warning": "通过全局禁用 Ollama 集成，Page Assist 将不会从 Ollama 获取模型。您仍然可以从<anchor>OpenAI 兼容 API</anchor>部分添加 Ollama 实例，这将正常工作。"
      },
      "advanced": {
        "label": "Ollama URL 高级配置",
        "urlRewriteEnabled": {
          "label": "启用或禁用自定义来源 URL"
        },
        "rewriteUrl": {
          "label": "自定义来源 URL",
          "placeholder": "输入自定义来源 URL"
        },
        "autoCORSFix": {
          "label": "启用或禁用自动 Ollama CORS 修复"
        },
        "headers": {
          "label": "自定义头部",
          "add": "添加头部",
          "key": {
            "label": "头部键",
            "placeholder": "授权"
          },
          "value": {
            "label": "头部值",
            "placeholder": "承载令牌"
          }
        },
        "help": "如果您在 Page Assist 上与 Ollama 有连接问题,您可以配置自定义来源 URL。要了解更多关于配置的信息,<anchor>点击此处</anchor>。"
      }
    }
  },
  "manageSearch": {
    "heading": "配置网络搜索",
    "title": "管理网络搜索"
  },
  "mcpSettings": {
    "title": "MCP 服务器",
    "heading": "管理 MCP 服务器",
    "subheading": "为常规聊天添加 HTTP MCP 服务器，包括 Bearer 认证和自定义标头。",
    "addBtn": "添加 MCP 服务器",
    "humanInLoop": {
      "label": "在运行 MCP 工具之前需要批准",
      "description": "推荐用于具有写入权限或其他副作用的 MCP 服务器。您仍然可以在下方允许或禁用单独的工具。",
      "enabledHint": "已启用人工干预。MCP 工具在运行之前会请求批准。",
      "disabledHint": "默认情况下 MCP 工具运行无需批准。当 MCP 服务器可以写入文件、修改数据、发送消息或进行其他更改时，请打开此选项。"
    },
    "table": {
      "name": "名称",
      "url": "URL",
      "tools": "已缓存的工具",
      "status": "验证",
      "notValidated": "尚未验证",
      "toolsUnavailable": "无已缓存的工具",
      "auth": "认证",
      "enabled": "已启用",
      "actions": "操作",
      "toolName": "工具名称",
      "toolDescription": "描述"
    },
    "actions": {
      "refreshTools": "刷新工具",
      "enable": "启用",
      "disable": "禁用"
    },
    "status": {
      "ready": "{{count}} 个工具可用",
      "failed": "验证失败",
      "notValidated": "未验证",
      "lastChecked": "上次检查：{{value}}"
    },
    "auth": {
      "none": "无认证",
      "bearer": "Bearer 令牌"
    },
    "modal": {
      "titleAdd": "添加 MCP 服务器",
      "titleEdit": "编辑 MCP 服务器",
      "deleteConfirm": "删除 {{name}}？",
      "name": {
        "label": "服务器名称",
        "placeholder": "我的 MCP 服务器",
        "required": "请输入服务器名称"
      },
      "url": {
        "label": "服务器 URL",
        "placeholder": "https://example.com/mcp",
        "help": "目前仅支持通过 HTTP 或 HTTPS 的 Streamable HTTP MCP 端点。",
        "required": "请输入服务器 URL",
        "invalid": "请输入有效的 HTTP 或 HTTPS URL"
      },
      "transportNotice": {
        "title": "传输支持",
        "description": "Page Assist 仅支持 Streamable HTTP MCP 服务器。不支持 /sse 或 /messages?sessionId=... 等旧版 SSE 端点。"
      },
      "auth": {
        "label": "认证"
      },
      "bearerToken": {
        "label": "Bearer 令牌",
        "placeholder": "输入 Bearer 令牌",
        "required": "请输入 Bearer 令牌"
      },
      "enabled": {
        "label": "全局启用"
      },
      "headers": {
        "label": "自定义标头",
        "add": "添加标头",
        "key": {
          "label": "标头键",
          "placeholder": "X-Request-ID"
        },
        "value": {
          "label": "标头值",
          "placeholder": "value"
        }
      },
      "validation": {
        "title": "验证工具",
        "help": "连接到 MCP 服务器，获取可用工具，并在保存前缓存它们。验证需要 Streamable HTTP MCP 端点。",
        "button": "验证并加载工具",
        "availableTools": "可用工具",
        "idle": "验证此服务器以确认连接并加载其可用工具。",
        "stale": "连接详情已更改。请重新验证以刷新缓存的工具。",
        "failed": "无法验证此 MCP 服务器。",
        "success": "验证成功。{{count}} 个工具可用。",
        "syncedAt": "上次同步：{{value}}",
        "saveHint": "如果缓存的工具列表已过期或缺失，保存时将验证当前配置。"
      },
      "submit": "保存 MCP 服务器",
      "update": "更新 MCP 服务器"
    },
    "notification": {
      "added": "已添加 MCP 服务器",
      "updated": "已更新 MCP 服务器",
      "deleted": "已删除 MCP 服务器",
      "validated": "已加载 {{count}} 个 MCP 工具",
      "toolsRefreshed": "已刷新 {{name}} 的工具",
      "validationFailedTitle": "MCP 验证失败",
      "storageBlockedTitle": "Page Assist 无法保存数据",
      "storageBlockedDescription": "Firefox 隐私模式不支持将数据保存到 IndexedDB。请从普通窗口管理 MCP 服务器。"
    }
  },
  "about": {
    "title": "关于",
    "heading": "关于",
    "chromeVersion": "Page Assist版本",
    "ollamaVersion": "Ollama版本",
    "support": "您可以通过以下平台捐赠或赞助Page Assist项目:",
    "koFi": "在Ko-fi上支持",
    "githubSponsor": "在GitHub上赞助",
    "githubRepo": "GitHub仓库"
  },
  "manageKnowledge": {
    "title": "管理知识",
    "heading": "配置知识库"
  },
  "rag": {
    "title": "Pipeline 设置",
    "ragSettings": {
      "label": "RAG 设置",
      "model": {
        "label": "文本嵌入模型",
        "required": "请选择一个模型",
        "help": "建议使用文本嵌入模型，如 `nomic-embed-text`。",
        "placeholder": "选择一个模型"
      },
      "chunkSize": {
        "label": "嵌入大小",
        "placeholder": "1024-∞",
        "required": "请输入块大小"
      },
      "chunkOverlap": {
        "label": "嵌入重叠",
        "placeholder": "256-∞",
        "required": "请输入嵌入重叠"
      },
      "totalFilePerKB": {
        "label": "知识库默认文件上传限制",
        "placeholder": "输入默认文件上传限制（例如：10）",
        "required": "请输入默认文件上传限制"
      },
      "noOfRetrievedDocs": {
        "label": "检索文档数量",
        "placeholder": "输入检索文档数量",
        "required": "请输入检索文档数量"
      },
      "splittingSeparator": {
        "label": "分隔符",
        "placeholder": "输入分隔符（例如：\\n\\n）",
        "required": "请输入分隔符"
      },
      "splittingStrategy": {
        "label": "文本分割器"
      }
    },
    "prompt": {
      "label": "配置 RAG 提示词",
      "option1": "普通",
      "option2": "搜索",
      "alert": "在此配置系统提示词已过时。请使用管理提示词部分添加或编辑提示词。此部分将在未来版本中删除",
      "systemPrompt": "系统提示词",
      "systemPromptPlaceholder": "输入系统提示词",
      "webSearchPrompt": "网页搜索提示词",
      "webSearchPromptHelp": "请勿从提示词中删除 `{search_results}`。",
      "webSearchPromptError": "请输入一个网页搜索提示词",
      "webSearchPromptPlaceholder": "输入网页搜索提示词",
      "webSearchFollowUpPrompt": "网页搜索追问提示词",
      "webSearchFollowUpPromptHelp": "请勿从提示词中删除 `{chat_history}` 和 `{question}`。",
      "webSearchFollowUpPromptError": "请输入您的网页搜索追问提示词！",
      "webSearchFollowUpPromptPlaceholder": "您的网页搜索追问提示词"
    }
  },
  "chromeAiSettings": {
    "title": "Chrome AI 设置"
  },
  "memory": {
    "enableMemoryTool": {
      "label": "启用内存工具"
    }
  },
  "mermaid": "Mermaid"
}
