LOCALES is now built via Object.fromEntries from SUPPORTED_LANGUAGES, so adding a new language only requires one change in supportedLanguages.ts. Also types translations as Record<SupportedLanguageCode, ...> so TypeScript enforces that every supported language has a translation entry. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.js | ||
| vitest.config.ts | ||