返回 CodeWhale
home.ts
根目录 / web / lib / i18n / dictionaries / en / home.ts
1 import type { HomeDict } from "../types";
2
3 /**
4 * English reference home dictionary — the copy contract for the
5 * newspaper-ocean landing page. Public-copy and public-surface tests assert
6 * against these values, not against raw JSX strings.
7 *
8 * The `seal*` values are the paper's section seals. They are glyphs (marks,
9 * not prose), so locales share them by default; the keys exist so a locale
10 * that needs a different mark can set one without touching the page.
11 */
12 export const home: HomeDict = {
13 metaTitle: "Codewhale — Dive into the deep so you don't have to.",
14 metaDescription:
15 "Codewhale dives into the deep so you don't have to — a terminal agent that puts LLM leverage within reach. Runs on your machine. Rust, MIT.",
16
17 kicker: "Open source · Any model · Runs in your terminal",
18 heroTitleA: "Dive into the deep",
19 heroTitleB: "so you don't have to.",
20 heroIntro:
21 "{brand} gives ordinary people LLM leverage to build things. In your terminal it reads the repo, edits files, runs checks, and leaves a receipt — no coding fluency assumed. Runs on your machine; the model is a component you pick, not the product.",
22 install: "Install",
23 docs: "Docs",
24 copy: "Copy",
25 copied: "Copied ✓",
26
27 installEyebrow: "one-line install",
28 installRequirement: "needs Node 18+ — no Rust toolchain",
29 installOtherWays: "other ways →",
30
31 latestRelease: "Latest release {tag}",
32 releaseUnavailable: "Release status unavailable",
33 currentSource: "Current source",
34 sourceCandidate: "Source candidate",
35 providerRoutes: "{count} provider routes",
36 publishedRelease: "published release",
37 figcaptionSourceCandidate: "source candidate",
38
39 shotSession: "Current session",
40 screenshotAlt:
41 "Current Codewhale terminal session showing Operate mode, the whale, composer, and footer",
42 figcaption: "Current Codewhale session · Operate mode · Ask permission posture",
43
44 proofHeading: "An underwater terminal shell. Model-neutral. Local-first.",
45 proofBody:
46 "Bring the model you already use — hosted, gateway, or local. Plan / Act / Operate and explicit permission postures keep the dive under your control.",
47
48 sealDecides: "法",
49 decidesEyebrow: "See how it decides",
50 decidesHeading: "Law you can watch in the trace",
51 decidesLede:
52 "Real session excerpts — ranked project law visible in the model's reasoning, not just a landing-page claim.",
53
54 sealWorkflow: "行",
55 workflowHeading: "From task to verified change.",
56 workflow: [
57 ["Inspect", "Read the repository, its instructions, and the task."],
58 ["Act", "Edit files through explicit approval boundaries."],
59 ["Verify", "Run checks and inspect the result."],
60 ["Report", "Leave a concise, durable receipt."],
61 ],
62 receiptAria: "Example work receipt",
63 receiptInspect: "repository and instructions",
64 receiptAct: "edit through the selected permission posture",
65 receiptReport: "checks passed · receipt saved",
66
67 sealStart: "起",
68 startHeading: "New to Codewhale? Four steps end to end.",
69 startLede:
70 "Install → keyless first session → connect a provider → first Fleet workflow. Nouns defined on the vocabulary page.",
71 startGuideLink: "Read the getting-started guide →",
72 startVocabularyLink: "See the product vocabulary →",
73
74 sealBoundaries: "界",
75 boundariesHeadingA: "Your model.",
76 boundariesHeadingB: "Your boundaries.",
77 boundariesBody:
78 "Choose the model, working mode, and permission posture explicitly. Unknown cost stays unknown, and preview surfaces stay labeled as such.",
79 hostedGatewayLocal: "Hosted, gateway, and local models",
80 planActOperateDesc: "Read-only planning through autonomous operation",
81 askAutoReviewDesc: "Choose the permission posture for the work",
82 tuiExecWebDesc: "Interactive and headless runtime surfaces",
83
84 sealSurfaces: "面",
85 surfacesHeading: "Use the runtime where the work happens.",
86 surfaces: [
87 ["TUI", "Interactive terminal work"],
88 ["codewhale exec", "Scripts and CI"],
89 ["Web client", "Loopback-only browser client"],
90 ["Runtime API + MCP", "Local integrations"],
91 ["Fleet", "Durable multi-agent work"],
92 ],
93 runtimeLink: "See runtime surfaces and stability notes →",
94
95 installBandHeading: "Start with one command.",
96 binaries: "Binaries",
97 chinaMirrors: "China mirrors",
98 installGuideLink: "Read the install guide →",
99
100 sealCommunity: "众",
101 communityHeading: "Built in public",
102 communityBody:
103 "MIT-licensed and shaped by contributors across runtimes, providers, platforms, documentation, and tests.",
104 communityLinksAria: "Community links",
105 contribute: "Contribute",
106 };
107
107 lines TYPESCRIPT