返回 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 heroTitle: "Install and use Codewhale",
15 heroLead:
16 "Find installation steps, model setup, tool configuration and troubleshooting. The guides include commands and examples you can run.",
17 installCta: "Install Codewhale",
18
19 releaseLabel: "Release",
20 releasePublished: "Latest release {tag} · {date}",
21 releaseDescribes: "These pages describe {tag}, the published release.",
22 sourceLead:
23 "This section describes behavior that exists in the project's source and is not in the published release. Check which version you have with `codewhale --version`.",
24 releaseChangelog: "Changelog →",
25
26 searchLabel: "Search the documentation",
27 searchPlaceholder: "Search guides and reference",
28 searchLoading: "Loading the documentation index. Your search stays in this browser.",
29 searchUnavailable: "The full index could not load. Try again to search article text and reference commands.",
30 searchRetry: "Load the index again",
31 searchClear: "Clear",
32 searchMatches: "{matched} of {total} entries match “{query}”",
33 searchNoMatches: "Nothing matches “{query}”",
34 tasksHeading: "By task",
35 tasksLead: "Start from what you are trying to do.",
36 topicsHeading: "By topic",
37 webGuideTag: "Web guide",
38 sourceDocTag: "Source doc",
39 sourceDetails: "Details",
40 emptyTitle: "No matching entry",
41 emptyBody:
42 "Try a different word — searches match English and Chinese — or browse the complete docs directory on GitHub.",
43 emptyCta: "GitHub docs directory ↗",
44 indexNote:
45 "Web guides open on codewhale.net. Source docs open the full reference in the GitHub repository.",
46
47 sidebarHeading: "Documentation",
48 sidebarAria: "Documentation index",
49 breadcrumbAria: "Breadcrumb",
50 breadcrumbHome: "Home",
51 breadcrumbDocs: "Docs",
52
53 helpTitle: "Get help",
54 helpLead:
55 "Ask a question on Discord or report a documentation problem on GitHub.",
56 helpSource: "Source: {name}",
57 helpTroubleshooting: "Fix a problem",
58 helpFaq: "FAQ",
59 helpDiscord: "Ask on Discord ↗",
60 helpIssue: "Report a docs problem ↗",
61
62 nextHeading: "Next",
63 noteLabel: "Note:",
64 onThisPage: "On this page",
65
66 mediaPendingNote:
67 "There is no recording yet. When there is, it goes here with captions, a transcript, and an optional GIF download.",
68 mediaPlanLink: "Recording plan and acceptance checklist ↗",
69 mediaGifFallback: "GIF fallback download (no-video environments)",
70 mediaTranscript: "Transcript ↗",
71 };
72
72 lines TYPESCRIPT