返回 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, the contextual
7 * help band that closes every docs page, the shared page-body chrome, and the
8 * session recording panel.
9 */
10 export const docsShell: DocsShellDict = {
11 metaTitle: "Docs · Codewhale",
12 metaDescription:
13 "Install Codewhale, connect a provider, and get work done: modes and approvals, reviewing changes, workflows, sub-agents, MCP tools, hooks, the Runtime API, and troubleshooting.",
14 portalMark: "Codewhale documentation",
15 heroTitle: "Get something done with Codewhale.",
16 heroLead:
17 "Start from what you want to do. Each page says what you need, shows commands you can run today, and points to the next step.",
18 installCta: "Install Codewhale",
19
20 releaseLabel: "Release",
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 sourceDetails: "Details",
38 emptyTitle: "No matching entry",
39 emptyBody:
40 "Try a different word — searches match English and Chinese — or browse the complete docs directory on GitHub.",
41 emptyCta: "GitHub docs directory ↗",
42 indexNote:
43 "Web guides open on codewhale.net. Source docs open the full reference in the GitHub repository.",
44
45 sidebarHeading: "Documentation",
46 sidebarAria: "Documentation index",
47 breadcrumbAria: "Breadcrumb",
48 breadcrumbHome: "Home",
49 breadcrumbDocs: "Docs",
50
51 helpTitle: "Need more than this page?",
52 helpLead:
53 "Every guide is checked against a document in the repository. If something is wrong or missing, say so where the maintainer will see it.",
54 helpSource: "Source: {name}",
55 helpTroubleshooting: "Fix a problem",
56 helpFaq: "FAQ",
57 helpDiscord: "Ask on Discord ↗",
58 helpIssue: "Report a docs problem ↗",
59
60 nextHeading: "Next",
61 noteLabel: "Note:",
62 onThisPage: "On this page",
63
64 mediaPendingNote:
65 "There is no recording yet. When there is, it goes here with captions, a transcript, and an optional GIF download.",
66 mediaPlanLink: "Recording plan and acceptance checklist ↗",
67 mediaGifFallback: "GIF fallback download (no-video environments)",
68 mediaTranscript: "Transcript ↗",
69 };
70
70 lines TYPESCRIPT