Files
Rosea/packages/ui/src/copy/en.ts
T
mnovak a200832cfb [ui] LetterSlot: Add the page for A Letter from the Gardener, shown once the author writes it
docs/LETTER.md holds slots as comments only, so the player sees no change
until the author writes. The app bundles the letter at build time, a small
Markdown subset renders without {@html}, only https: and tel: become links,
and lint:copy now reads the letter. Review found turbo replaying a stale
build after the letter changed; docs/LETTER.md is now in its cache key.
2026-11-01 15:39:17 +01:00

21 lines
673 B
TypeScript

/**
* Every string a player reads lives under copy/ (CLAUDE.md §7) and passes
* `pnpm lint:copy`. Plain English; Czech arrives as `cs.ts` with the same shape.
*
* The product name is not repeated here: it comes from @rosea/schema, one of the
* three places it may live.
*/
export const en = {
shell: {
/** The one line on the Phase 0 page. True, calm, and asks nothing. */
preparing: 'The garden is being prepared.'
},
letter: {
/** The help section's name (ROADMAP §1). The letter itself is the author's, in docs/LETTER.md. */
title: 'A Letter from the Gardener',
back: 'Back to the garden'
}
} as const;
export type Copy = typeof en;