fix(i18n): „Explore" statt „Discover" im englischen Text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d85cce0bf3
commit
ec0b51a949
4 files changed
+8
-8
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>AirCard-IOS – Card designs for Apple Wallet</title>
|
||||
<meta name="description" content="Discover community card designs for AirCard-iOS, create your own and download it as PNG." />
|
||||
<meta name="description" content="Explore community card designs for AirCard-iOS, create your own and download it as PNG." />
|
||||
<meta name="theme-color" content="#0F1828" />
|
||||
<meta name="apple-mobile-web-app-title" content="AirCard-IOS" />
|
||||
<link rel="icon" href="/favicon.svg?v=2" type="image/svg+xml" />
|
||||
|
||||
@@ -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('<title>AirCard-IOS – Card designs for Apple Wallet</title>');
|
||||
expect(indexHtml).toContain(
|
||||
'<meta name="description" content="Discover community card designs for AirCard-iOS, create your own and download it as PNG." />',
|
||||
'<meta name="description" content="Explore community card designs for AirCard-iOS, create your own and download it as PNG." />',
|
||||
);
|
||||
expect(indexHtml).toContain('<meta name="theme-color" content="#0F1828" />');
|
||||
expect(indexHtml).toContain('<meta name="apple-mobile-web-app-title" content="AirCard-IOS" />');
|
||||
|
||||
+3
-3
@@ -265,13 +265,13 @@ export const EN: Readonly<Record<string, string>> = {
|
||||
'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',
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user