Files
F-r-ldraledigplannerare/frontend/src/i18n/sv/auth.ts
T
jacobh2 bd996245ba Split i18n catalogues into per-domain modules
sv.ts/en.ts were single 602-line files that every feature had to edit,
making concurrent work on unrelated screens collide constantly. Split
both into per-domain modules (common, auth, calendar, dashboard,
settings, plan, wishEditor, tips) composed by an index that preserves
the existing `import { sv } from './sv'` specifier, so no consumer
changes.

Typing still catches drift in both directions: each en module is checked
against TranslationKey, and the composed catalogue must satisfy
Record<TranslationKey, string>.

All 433 keys and their values are byte-identical to the originals,
verified by diffing the parsed catalogues against the pre-split files.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXMhc9nT6sNz1SL4j8dznL
2026-09-14 18:54:27 +02:00

13 lines
469 B
TypeScript

export const auth = {
'auth.createAccountButton': 'Skapa konto',
'auth.createAccountTitle': 'Skapa konto',
'auth.emailPlaceholder': 'E-post',
'auth.genericError': 'Något gick fel',
'auth.haveAccountButton': 'Har redan konto',
'auth.loadingEllipsis': 'Laddar…',
'auth.loginButton': 'Logga in',
'auth.loginTitle': 'Logga in',
'auth.namePlaceholder': 'Namn',
'auth.passwordPlaceholder': 'Lösenord',
'auth.registerButton': 'Registrera',
} as const