返回 CodeWhale
docs-shell.ts
根目录 / web / lib / i18n / dictionaries / zh / docs-shell.ts
1 import type { DocsShellDict } from "../types";
2
3 /**
4 * Simplified-Chinese dictionary for the docs shell: portal hero, hub
5 * metadata, task/topic search, sidebar and breadcrumb chrome, the
6 * release-truth band, and the contextual help band on every docs page.
7 */
8 export const docsShell: DocsShellDict = {
9 metaTitle: "文档 · Codewhale",
10 metaDescription:
11 "Codewhale 文档:安装、使用指南、配置、提供商、账户与密钥、云端计算机、安全与信任、核心概念、工具、MCP、技能、沙箱、运行时 API、排障。",
12 portalMark: "Codewhale 文档",
13 heroTitle: "查找准确的使用说明。",
14 heroLead:
15 "从一个任务或一个主题开始。每一页都说明它取自仓库中的哪份文档、描述的是哪个版本。",
16 installCta: "安装 Codewhale",
17 sourceDocsCta: "浏览源文档 ↗",
18
19 releaseLabel: "版本事实",
20 releasePublished: "最新发布 {tag} · {date}",
21 releaseCandidate: "本站文档描述的是尚未发布的 {version} 源码候选版。",
22 releaseMatches: "本站文档描述的是已发布的 {tag}。",
23 releaseChangelog: "更新日志 →",
24
25 searchLabel: "搜索文档",
26 searchPlaceholder: "按任务或主题搜索…(按 / 快速聚焦)",
27 searchClear: "清除",
28 searchMatches: "{matched} / {total} 条匹配 “{query}”",
29 searchNoMatches: "没有条目匹配 “{query}”",
30 tasksHeading: "按任务",
31 tasksLead: "从你想完成的事情开始。",
32 topicsHeading: "按主题",
33 webGuideTag: "网页",
34 sourceDocTag: "源文档",
35 emptyTitle: "没有匹配的条目",
36 emptyBody: "换一个关键词试试——中英文都可以搜索——或浏览 GitHub 上的完整文档目录。",
37 emptyCta: "GitHub 文档目录 ↗",
38 indexNote:
39 "“网页”条目提供站内指南;“源文档”条目直接打开 GitHub 仓库中的完整参考资料。任务来自 docs-tasks.ts,主题来自 docs-map.ts,两份注册表都在仓库中维护。",
40
41 sidebarHeading: "文档目录",
42 sidebarAria: "文档目录",
43 breadcrumbAria: "面包屑导航",
44 breadcrumbHome: "首页",
45 breadcrumbDocs: "文档",
46
47 helpTitle: "这一页还不够?",
48 helpLead:
49 "每份指南都取自仓库中的一份文档。如果它写错了或缺了什么,最快的办法是在维护者能看到的地方说出来。",
50 helpSource: "来源:{name}",
51 helpTroubleshooting: "排障",
52 helpFaq: "常见问题",
53 helpDiscord: "到 Discord 提问 ↗",
54 helpIssue: "报告文档问题 ↗",
55 };
56
56 lines TYPESCRIPT