From a61336b9ee38c4cd3ffe37542c2149f7490e6e8f Mon Sep 17 00:00:00 2001 From: qcigano Date: Sun, 2 Aug 2026 20:52:46 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20=C3=9Cberschrift=20=C3=BCber=20der=20Pro?= =?UTF-8?q?duktreihe=20zeigt=20jetzt=20wirklich=20"Hauptkategorie"=20statt?= =?UTF-8?q?=20den=20Kategorienamen=20zu=20wiederholen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missverständnis aus einer früheren Anfrage korrigiert: die Überschrift zwischen den Unterkategorie-Chips und der Produktreihe sollte das Wort "Hauptkategorie" zeigen (spiegelbildlich zur "Unterkategorien"- Beschriftung darüber), nicht den Kategorienamen ("DIY Plushies") wiederholen. Jetzt im exakt gleichen dezenten Stil wie "Unterkategorien" — beide Beschriftungen sind jetzt visuell symmetrisch. Verifiziert per Puppeteer: Seite zeigt "UNTERKATEGORIEN" und "HAUPTKATEGORIE" als passendes Beschriftungs-Paar. --- src/i18n/ui.ts | 8 ++++---- src/pages/ch/shop/[kategorie].astro | 2 +- src/pages/en/shop/[kategorie].astro | 2 +- src/pages/fr/shop/[kategorie].astro | 2 +- src/pages/shop/[kategorie].astro | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/i18n/ui.ts b/src/i18n/ui.ts index 16bb58c..c0bce4c 100644 --- a/src/i18n/ui.ts +++ b/src/i18n/ui.ts @@ -42,7 +42,7 @@ export const ui = { sortNew: "Neu", sortBestseller: "Bestseller", sortPriceAsc: "Preis aufsteigend", sortPriceDesc: "Preis absteigend", resultCount: (n: number) => `${n} Produkt${n === 1 ? "" : "e"}`, noResults: "Keine Produkte gefunden – bitte Filter anpassen.", breadcrumbShop: "Shop", categoryEmpty: "In dieser Kategorie sind aktuell noch keine Produkte hinterlegt – schau bald wieder vorbei.", - categoryLabel: "Kategorie", productSingular: "Produkt", productPlural: "Produkte", sortLabel: "Sortierung", subcategoriesLabel: "Unterkategorien", subcategoryEmpty: "Für diesen Bereich stellt VanVan bald die ersten Produkte ein – schau bald wieder vorbei.", moreAbout: "Mehr über", moreVariants: "Weitere Modelle", + categoryLabel: "Kategorie", productSingular: "Produkt", productPlural: "Produkte", sortLabel: "Sortierung", subcategoriesLabel: "Unterkategorien", mainCategoryLabel: "Hauptkategorie", subcategoryEmpty: "Für diesen Bereich stellt VanVan bald die ersten Produkte ein – schau bald wieder vorbei.", moreAbout: "Mehr über", moreVariants: "Weitere Modelle", }, sale: { eyebrow: "% Sale", title: "Aktuelle Angebote", lead: "Zeitlich begrenzte Rabatte auf ausgewählte handgemachte Stücke.", @@ -225,7 +225,7 @@ export const ui = { sortNew: "New", sortBestseller: "Bestseller", sortPriceAsc: "Price: low to high", sortPriceDesc: "Price: high to low", resultCount: (n: number) => `${n} product${n === 1 ? "" : "s"}`, noResults: "No products found – please adjust your filters.", breadcrumbShop: "Shop", categoryEmpty: "No products in this category yet – check back soon.", - categoryLabel: "Category", productSingular: "product", productPlural: "products", sortLabel: "Sort by", subcategoriesLabel: "Subcategories", subcategoryEmpty: "VanVan will be adding the first products here soon – check back shortly.", moreAbout: "More about", moreVariants: "More designs", + categoryLabel: "Category", productSingular: "product", productPlural: "products", sortLabel: "Sort by", subcategoriesLabel: "Subcategories", mainCategoryLabel: "Main category", subcategoryEmpty: "VanVan will be adding the first products here soon – check back shortly.", moreAbout: "More about", moreVariants: "More designs", }, sale: { eyebrow: "% Sale", title: "Current offers", lead: "Time-limited discounts on selected handmade pieces.", @@ -408,7 +408,7 @@ export const ui = { sortNew: "Neu", sortBestseller: "Bestseller", sortPriceAsc: "Pris ufsteigend", sortPriceDesc: "Pris absteigend", resultCount: (n: number) => `${n} Produkt`, noResults: "Kei Produkt gfunde – bitte Filter apasse.", breadcrumbShop: "Shop", categoryEmpty: "In däre Kategorie sind grad no kei Produkt hinterlegt – lueg spöter nomal verbi.", - categoryLabel: "Kategorie", productSingular: "Produkt", productPlural: "Produkt", sortLabel: "Sortiere", subcategoriesLabel: "Unterkategorie", subcategoryEmpty: "Für das da stellt VanVan bald die erschte Produkt i – lueg bald wieder verbi.", moreAbout: "Meh über", moreVariants: "Witeri Modell", + categoryLabel: "Kategorie", productSingular: "Produkt", productPlural: "Produkt", sortLabel: "Sortiere", subcategoriesLabel: "Unterkategorie", mainCategoryLabel: "Hauptkategorie", subcategoryEmpty: "Für das da stellt VanVan bald die erschte Produkt i – lueg bald wieder verbi.", moreAbout: "Meh über", moreVariants: "Witeri Modell", }, sale: { eyebrow: "% Aktion", title: "Aktuelli Aktion", lead: "Zytlich begrenzti Rabatt uf uswählti, vo Hang gmachti Sächeli.", @@ -591,7 +591,7 @@ export const ui = { sortNew: "Nouveautés", sortBestseller: "Best-sellers", sortPriceAsc: "Prix croissant", sortPriceDesc: "Prix décroissant", resultCount: (n: number) => `${n} produit${n === 1 ? "" : "s"}`, noResults: "Aucun produit trouvé – veuillez ajuster les filtres.", breadcrumbShop: "Boutique", categoryEmpty: "Aucun produit dans cette catégorie pour le moment – repassez bientôt.", - categoryLabel: "Catégorie", productSingular: "produit", productPlural: "produits", sortLabel: "Trier par", subcategoriesLabel: "Sous-catégories", subcategoryEmpty: "VanVan ajoutera bientôt les premiers produits ici – repassez bientôt.", moreAbout: "En savoir plus sur", moreVariants: "Autres modèles", + categoryLabel: "Catégorie", productSingular: "produit", productPlural: "produits", sortLabel: "Trier par", subcategoriesLabel: "Sous-catégories", mainCategoryLabel: "Catégorie principale", subcategoryEmpty: "VanVan ajoutera bientôt les premiers produits ici – repassez bientôt.", moreAbout: "En savoir plus sur", moreVariants: "Autres modèles", }, sale: { eyebrow: "% Soldes", title: "Offres actuelles", lead: "Réductions limitées dans le temps sur une sélection de pièces faites main.", diff --git a/src/pages/ch/shop/[kategorie].astro b/src/pages/ch/shop/[kategorie].astro index 5071def..0fc836b 100644 --- a/src/pages/ch/shop/[kategorie].astro +++ b/src/pages/ch/shop/[kategorie].astro @@ -41,7 +41,7 @@ const items = productsByCategory(category.slug); )} {items.length > 0 && ( -

{category.icon} {category.name[lang]}

+

{t.shop.mainCategoryLabel}

)} {items.length > 0 ? (
{items.map((p) => )}
diff --git a/src/pages/en/shop/[kategorie].astro b/src/pages/en/shop/[kategorie].astro index dd3e6d0..cf27b0e 100644 --- a/src/pages/en/shop/[kategorie].astro +++ b/src/pages/en/shop/[kategorie].astro @@ -41,7 +41,7 @@ const items = productsByCategory(category.slug); )} {items.length > 0 && ( -

{category.icon} {category.name[lang]}

+

{t.shop.mainCategoryLabel}

)} {items.length > 0 ? (
{items.map((p) => )}
diff --git a/src/pages/fr/shop/[kategorie].astro b/src/pages/fr/shop/[kategorie].astro index e5113e1..88b0a9e 100644 --- a/src/pages/fr/shop/[kategorie].astro +++ b/src/pages/fr/shop/[kategorie].astro @@ -41,7 +41,7 @@ const items = productsByCategory(category.slug); )} {items.length > 0 && ( -

{category.icon} {category.name[lang]}

+

{t.shop.mainCategoryLabel}

)} {items.length > 0 ? (
{items.map((p) => )}
diff --git a/src/pages/shop/[kategorie].astro b/src/pages/shop/[kategorie].astro index 9285236..e7a44cb 100644 --- a/src/pages/shop/[kategorie].astro +++ b/src/pages/shop/[kategorie].astro @@ -41,7 +41,7 @@ const items = productsByCategory(category.slug); )} {items.length > 0 && ( -

{category.icon} {category.name[lang]}

+

{t.shop.mainCategoryLabel}

)} {items.length > 0 ? (
{items.map((p) => )}