mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 17:41:09 +02:00
i18n(gifts/redeem): translate /[code] +page.svelte via $_() — info card, redeem flow, success state
Adds gifts.redeem sub-namespace covering page back-title + page-header,
err_not_found + err_redeem_failed fallbacks, toast_received with
{credits}, success state (heading/credits-label/balance-html/2 link
buttons), gift-not-found "Anderen Code eingeben", info card (Von {name},
Du erhältst, Credits, Art/Status/Gültig bis labels, Nachricht prefix),
section_redeem heading, 3 inactive warnings (depleted/expired/other),
personalized info, action_redeeming + action_redeem, getStatusLabel and
getTypeLabel switch cases routed through $_(). Date formatter switched
to get(locale) ?? 'de'.
Baselines: hardcoded 1009 → 1001 (8 cleared from gifts) + 1 added by
parallel community-eule commit = net 1002; missing-keys baseline unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ee5bb2871c
commit
de2134fb02
7 changed files with 225 additions and 37 deletions
|
|
@ -230,7 +230,6 @@
|
|||
"apps/mana/apps/web/src/routes/(app)/food/+page.svelte": 7,
|
||||
"apps/mana/apps/web/src/routes/(app)/food/add/+page.svelte": 2,
|
||||
"apps/mana/apps/web/src/routes/(app)/food/goals/+page.svelte": 1,
|
||||
"apps/mana/apps/web/src/routes/(app)/gifts/redeem/[code]/+page.svelte": 8,
|
||||
"apps/mana/apps/web/src/routes/(app)/gifts/redeem/+page.svelte": 1,
|
||||
"apps/mana/apps/web/src/routes/(app)/guides/+page.svelte": 2,
|
||||
"apps/mana/apps/web/src/routes/(app)/habits/[id]/+page.svelte": 3,
|
||||
|
|
@ -317,6 +316,7 @@
|
|||
"apps/mana/apps/web/src/routes/community/+layout.svelte": 5,
|
||||
"apps/mana/apps/web/src/routes/community/+page.svelte": 1,
|
||||
"apps/mana/apps/web/src/routes/community/admin/+page.svelte": 6,
|
||||
"apps/mana/apps/web/src/routes/community/eule/[hash]/+page.svelte": 1,
|
||||
"apps/mana/apps/web/src/routes/community/roadmap/+page.svelte": 1,
|
||||
"apps/mana/apps/web/src/routes/g/[code]/+page.svelte": 6,
|
||||
"apps/mana/apps/web/src/routes/rsvp/[token]/+page.svelte": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue