返回 CodeWhale
docs-shell.ts
根目录 / web / lib / i18n / dictionaries / en / docs-shell.ts
1 import type { DocsShellDict } from "../types";
2
3 /**
4 * English reference dictionary for the docs shell: the portal hero in
5 * `app/[locale]/docs/layout.tsx`, the hub metadata, the task/topic search,
6 * the sidebar and breadcrumb chrome, the release-truth band, and the
7 * contextual help band that closes every docs page.
8 */
9 export const docsShell: DocsShellDict = {
10 metaTitle: "Docs · Codewhale",
11 metaDescription:
12 "Codewhale documentation: install, user guide, configuration, providers, account and keys, cloud computers, security and trust, core concepts, tools, MCP, skills, sandbox, runtime API, troubleshooting.",
13 portalMark: "Codewhale documentation",
14 heroTitle: "Find the guidance you need.",
15 heroLead:
16 "Start from a task or a topic. Every page states which repository document it is drawn from and which release it describes.",
17 installCta: "Install Codewhale",
18 sourceDocsCta: "Browse source docs ↗",
19
20 releaseLabel: "Release truth",
21 releasePublished: "Latest release {tag} · {date}",
22 releaseCandidate:
23 "These pages describe the {version} source candidate, which is not published yet.",
24 releaseMatches: "These pages describe {tag}, the published release.",
25 releaseChangelog: "Changelog →",
26
27 searchLabel: "Search the documentation",
28 searchPlaceholder: "Search by task or topic… (press / to focus)",
29 searchClear: "Clear",
30 searchMatches: "{matched} of {total} entries match “{query}”",
31 searchNoMatches: "Nothing matches “{query}”",
32 tasksHeading: "By task",
33 tasksLead: "Start from what you are trying to do.",
34 topicsHeading: "By topic",
35 webGuideTag: "Web guide",
36 sourceDocTag: "Source doc",
37 emptyTitle: "No matching entry",
38 emptyBody:
39 "Try a different word — searches match English and Chinese — or browse the complete docs directory on GitHub.",
40 emptyCta: "GitHub docs directory ↗",
41 indexNote:
42 "Web guides stay on codewhale.net. Source docs open the complete reference in the GitHub repository. Tasks come from docs-tasks.ts and topics from docs-map.ts; both registries live in the repository.",
43
44 sidebarHeading: "Documentation",
45 sidebarAria: "Documentation index",
46 breadcrumbAria: "Breadcrumb",
47 breadcrumbHome: "Home",
48 breadcrumbDocs: "Docs",
49
50 helpTitle: "Need more than this page?",
51 helpLead:
52 "Every guide is drawn from a repository document. If it is wrong or missing something, the fastest fix is to say so where the maintainer will see it.",
53 helpSource: "Source: {name}",
54 helpTroubleshooting: "Troubleshooting",
55 helpFaq: "FAQ",
56 helpDiscord: "Ask on Discord ↗",
57 helpIssue: "Report a docs problem ↗",
58 };
59
59 lines TYPESCRIPT