# 简体中文

# setup
setup.title = "alcove 设置"
setup.docs_repo = "文档仓库"
setup.docs_prompt = "文档仓库路径"
setup.docs_root_set = "DOCS_ROOT → %{path}"
setup.invalid_path = "无效路径: %{path}"
setup.categories = "文档分类"
setup.diagram = "图表格式"
setup.diagram_prompt = "首选图表格式"
setup.diagram_set = "图表: %{format}"
setup.agents = "代理配置"
setup.agents_prompt = "选择要配置的代理"
setup.done = "完成"
setup.binary = "程序:   %{path}"
setup.config = "配置:   %{path}"
setup.docs = "文档:   %{path}"
setup.hint_update = "更新:   cargo install alcove"
setup.hint_uninstall = "卸载:   alcove uninstall"
setup.config_saved = "配置 → %{path}"
setup.category_status = "%{label}: %{selected}/%{total}"
setup.mcp_set = "MCP → %{path}"
setup.skill_set = "技能 → %{path}"

# uninstall
uninstall.title = "正在卸载 alcove..."
uninstall.removed_skill = "已删除技能: %{path}"
uninstall.removed_config = "已删除配置: %{path}"
uninstall.removed_legacy = "已删除旧配置: %{path}"
uninstall.binary_hint = "程序未删除 — 请运行: cargo uninstall alcove"
uninstall.mcp_hint = "编辑器 MCP 配置未删除 — 请手动清理:"

# doctor
doctor.title = "alcove 诊断"
doctor.config = "配置"
doctor.docs_root = "文档路径"
doctor.projects = "项目"
doctor.agents = "代理"
doctor.index = "搜索索引"
doctor.binary = "程序"
doctor.config_valid = "有效配置: %{path}"
doctor.config_parse_error = "解析错误: %{error}"
doctor.config_read_error = "读取错误: %{error}"
doctor.config_not_found = "未找到配置文件。请运行 `alcove setup`。"
doctor.docs_root_missing = "未配置。请运行 `alcove setup`。"
doctor.docs_root_not_exists = "路径不存在: %{path}"
doctor.projects_count = "%{count} 个项目"
doctor.agents_count = "%{registered}/%{total} 个代理已注册"
doctor.agent_registered = "已注册"
doctor.agent_config_not_found = "未找到配置文件: %{path}"
doctor.agent_cannot_read = "无法读取: %{path}"
doctor.agent_not_registered = "配置存在但 alcove 未注册: %{path}"
doctor.index_fresh = "索引已是最新。"
doctor.index_stale = "索引已过期。请运行 `alcove index`。"
doctor.index_none = "无索引。运行 `alcove index` 启用排名搜索。"
doctor.index_no_root = "无 docs_root，无法检查索引。"

# about
about = "项目文档管理与 MCP 服务器"

doctor.pdftotext = "PDF 支持"
doctor.pdftotext_available = "已找到 pdftotext — PDF 文本提取已启用。"
doctor.pdftotext_missing = "未找到 pdftotext。如需 PDF 文本提取，请安装 poppler (macOS: brew install poppler, Linux: apt/dnf install poppler-utils)"
