From ec0b51a949a71f3c27de5f97dfae9d1d5fce000a Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Oct 2026 01:44:15 +0000 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20=E2=80=9EExplore"=20statt=20?= =?UTF-8?q?=E2=80=9EDiscover"=20im=20englischen=20Text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- web/index.html | 2 +- web/src/branding.test.ts | 2 +- web/src/i18n/en.ts | 6 +++--- web/src/pages/home-page.test.ts | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/index.html b/web/index.html index 2758153..fd9d52f 100644 --- a/web/index.html +++ b/web/index.html @@ -4,7 +4,7 @@ AirCard-IOS – Card designs for Apple Wallet - + diff --git a/web/src/branding.test.ts b/web/src/branding.test.ts index 0974726..72e3928 100644 --- a/web/src/branding.test.ts +++ b/web/src/branding.test.ts @@ -20,7 +20,7 @@ describe('Name und Kopfbereich', () => { // Statisch englisch, damit Link-Vorschauen englisch sind; der Router setzt danach den Titel in der gewählten Sprache. expect(indexHtml).toContain('AirCard-IOS – Card designs for Apple Wallet'); expect(indexHtml).toContain( - '', + '', ); expect(indexHtml).toContain(''); expect(indexHtml).toContain(''); diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.ts index 9a21c08..8d585cd 100644 --- a/web/src/i18n/en.ts +++ b/web/src/i18n/en.ts @@ -265,13 +265,13 @@ export const EN: Readonly> = { 'Ein bisschen Kunst für dein Wallet': 'A little art for your Wallet', 'Kartendesigns für Apple Wallet': 'Card designs for Apple Wallet', 'Entdecke Motive der Community, gestalte dein eigenes und lade es als PNG herunter.': - 'Discover designs from the community, create your own and download it as a PNG.', - 'Karten entdecken ↓': 'Discover cards ↓', + 'Explore designs from the community, create your own and download it as a PNG.', + 'Karten entdecken ↓': 'Explore cards ↓', 'Beispielmotiv: violetter Verlauf mit Wellen und dem AirCard-IOS-Symbol': 'Sample design: purple gradient with waves and the AirCard-IOS symbol', 'Community-Karte „{title}“': 'Community card “{title}”', 'Community-Karten': 'Community cards', - 'Entdecke Motive der Community – und veröffentliche deine eigenen.': 'Discover designs from the community – and publish your own.', + 'Entdecke Motive der Community – und veröffentliche deine eigenen.': 'Explore designs from the community – and publish your own.', 'Gestalten & veröffentlichen': 'Create & publish', 'Suche': 'Search', 'Suche zurücksetzen': 'Clear search', diff --git a/web/src/pages/home-page.test.ts b/web/src/pages/home-page.test.ts index d223680..72dc7e1 100644 --- a/web/src/pages/home-page.test.ts +++ b/web/src/pages/home-page.test.ts @@ -471,12 +471,12 @@ describe('Startseite auf Englisch', () => { expect(q('.home-hero')?.getAttribute('aria-label')).toBe('Welcome'); expect(q('.home-hero-eyebrow')?.textContent).toBe('A little art for your Wallet'); expect(q('h1')?.textContent).toBe('Card designs for Apple Wallet'); - expect(q('.home-hero-lead')?.textContent).toBe('Discover designs from the community, create your own and download it as a PNG.'); - expect(q('.home-hero a[href="#community"]')?.textContent).toBe('Discover cards ↓'); + expect(q('.home-hero-lead')?.textContent).toBe('Explore designs from the community, create your own and download it as a PNG.'); + expect(q('.home-hero a[href="#community"]')?.textContent).toBe('Explore cards ↓'); expect(q('.home-hero a[href="/gestalten"]')?.textContent).toBe('Create'); expect(q('.hero-card img')?.getAttribute('alt')).toBe('Sample design: purple gradient with waves and the AirCard-IOS symbol'); expect(q('section#community h2')?.textContent).toBe('Community cards'); - expect(q('.community-sub')?.textContent).toBe('Discover designs from the community – and publish your own.'); + expect(q('.community-sub')?.textContent).toBe('Explore designs from the community – and publish your own.'); expect(q('section#community a[href="/gestalten"]')?.textContent).toBe('Create & publish'); expect(q('.community-empty')?.textContent).toContain('No community cards yet – be the first!'); expect(q('.community-empty a[href="/gestalten"]')?.textContent).toBe('Create');