0081f60b06
The sign-in page becomes a plain centred column with the brand mark and a segmented login/register switch, modals lose their last inner boxes, the red-days list collapses every year but the current one, and the retired components' CSS, an unused list component and 23 unreferenced translation keys are removed. ARCHITECTURE.md documents the Almanacka styling conventions and the per-year balance rule. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XBRLomdLK9jF7wU7a8AA6H
33 lines
1.6 KiB
TypeScript
33 lines
1.6 KiB
TypeScript
/**
|
|
* The unified balance flow (`BalanceFlow.tsx`) — shared by Settings' "Saldon"
|
|
* panel and Onboarding's balances step. These keys used to live scattered
|
|
* across `dashboard.ts` (`fetchFromFk`/`enterManually`/`balancePickerPrompt`)
|
|
* before Dashboard stopped owning any balance UI of its own (Phase 5 removes
|
|
* the now-unused originals from `dashboard.ts`) and `onboarding.ts` (per-card
|
|
* status text), plus the QR modal's status enum, previously rendered raw and
|
|
* untranslated.
|
|
*/
|
|
export const balance = {
|
|
'balance.addDeducedPartnerButton': 'Lägg till {name}',
|
|
'balance.deducedBadge': 'Härlett från din FK-hämtning',
|
|
'balance.deducedPartnerPrompt': 'Försäkringskassan visar att den andra föräldern har {days} dagar kvar.',
|
|
'balance.dismissDeducedPartner': 'Nej, jag är ensam förälder',
|
|
'balance.enterManually': 'Ange själv',
|
|
'balance.fetchFromFk': 'Hämta från Försäkringskassan',
|
|
'balance.loading': 'Laddar saldo…',
|
|
'balance.sourceDeduced': 'Härlett {date}',
|
|
'balance.sourceManual': 'Angivet manuellt {date}',
|
|
'balance.sourceScraped': 'Från Försäkringskassan {date}',
|
|
'balance.status.authenticating': 'Autentiserar…',
|
|
'balance.status.awaiting_scan': 'Väntar på skanning',
|
|
'balance.status.cancelled': 'Avbruten',
|
|
'balance.status.done': 'Klar',
|
|
'balance.status.error': 'Fel',
|
|
'balance.status.fetching': 'Hämtar…',
|
|
'balance.status.idle': 'Väntar',
|
|
'balance.status.launching': 'Startar…',
|
|
'balance.statusLine': '{left} av {total} dagar kvar',
|
|
'balance.statusNone': 'Inga uppgifter ännu',
|
|
'balance.youBadge': '(du)',
|
|
} as const
|