Translation files, step 0: typed text helper, checks and the baseline of the pages

Adds src/i18n (t, tList, tPlural over typed Dutch JSON, key and parameter
checks), the first text (back to top) as proof, a baseline tool for the
prerendered pages (pnpm baseline:save and baseline:check), a lint warning for
text typed straight into JSX, and docs/translations.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 17:34:18 +01:00
co-authored by Claude Sonnet 5.5
parent 107647f7a5
commit 246ebe5fd6
15 changed files with 834 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ export default defineConfig(({ mode }) => ({
exclude: ['src/routeTree.gen.ts', 'src/test/**', '**/*.test.*'],
thresholds: {
'src/lib/**': fullCoverage,
'src/i18n/**': fullCoverage,
'src/seo.ts': fullCoverage,
'src/sitemap.ts': fullCoverage,
},