// Base catalog — the source of truth for this app's UI strings. Every key here // MUST be mirrored in `de.ts` (and any other locale); `defineLocale()` // enforces that parity at build time, so a missing translation fails typecheck // rather than silently falling back. // // Messages use ICU syntax: `{name}` placeholders, `{n, plural, …}`, and rich // tags like `` (rendered by passing a matching function to // ` {c} }} />`). import { defineCatalog } from '@voltro/i18n' export default defineCatalog({ // Browser tab title — locale-aware via the page's `meta({ locale })`. 'meta.home.title': 'Home', // ---- Layout shell (pages/layout.tsx) ---- 'lang.label': 'Language', // ---- Index page (pages/index.tsx) ---- 'home.intro': 'Edit src/pages/index.tsx to start building. Drop more *.tsx files in src/pages/ to add routes — no router config required.', } as const)