fix(i18n): replace hardcoded "oder" with conv_hero_divider message key

Adds conv_hero_divider to de/en/es messages and uses it in the
CorrespondenzHero divider. Fixes i18n blocker from review.

Refs: #179

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-06 20:29:31 +02:00
parent 822a2fac3a
commit e2af9f924b
4 changed files with 12 additions and 7 deletions

View File

@@ -32,18 +32,18 @@ function handlePersonChange(id: string) {
<div
data-testid="conv-hero"
class="mx-auto flex max-w-lg flex-col items-center gap-6 py-20 text-center"
class="mx-auto flex max-w-lg flex-col items-center gap-6 py-12 text-center sm:py-20"
>
<!-- Cross-link to document search -->
<a href="/" class="text-sm text-ink-3 transition-colors hover:text-primary">
{m.conv_hero_crosslink()}
</a>
<!-- Discovery headline -->
<h1 class="font-serif text-2xl font-black text-ink">
{m.conv_empty_heading()}
</h1>
<!-- Cross-link to document search -->
<a href="/" class="text-sm text-ink-3 transition-colors hover:text-primary">
{m.conv_hero_crosslink()}
</a>
<!-- Person typeahead (large, hero-sized) -->
<div class="w-full max-w-sm" bind:this={typeaheadEl}>
<PersonTypeahead
@@ -59,7 +59,9 @@ function handlePersonChange(id: string) {
{#if recentPersons.length > 0}
<div class="flex w-full max-w-sm items-center gap-2">
<div class="flex-1 border-t border-line"></div>
<span class="text-xs font-bold tracking-wider text-ink-3 uppercase">oder</span>
<span class="text-xs font-bold tracking-wider text-ink-3 uppercase"
>{m.conv_hero_divider()}</span
>
<div class="flex-1 border-t border-line"></div>
</div>