edited filter names

This commit is contained in:
Laura Dolibois
2025-06-02 23:15:51 +02:00
parent cbdf40fed1
commit 3b6a044210
3 changed files with 6 additions and 4 deletions

View File

@@ -7,7 +7,8 @@
"addToCart": "In den Warenkorb", "addToCart": "In den Warenkorb",
"addedToCart": "Produkt wurde erfolgreich dem Warenkorb hinzugefügt", "addedToCart": "Produkt wurde erfolgreich dem Warenkorb hinzugefügt",
"almostSoldOut": "Fast ausverkauft", "almostSoldOut": "Fast ausverkauft",
"all": "Alle", "allCategories": "Alle Kategorien",
"allRatings": "Alle Bewertungen",
"available": "Stück verfügbar", "available": "Stück verfügbar",
"back": "Zurück", "back": "Zurück",
"backToHome": "Zurück zur Startseite", "backToHome": "Zurück zur Startseite",

View File

@@ -7,7 +7,8 @@
"addToCart": "Add to cart", "addToCart": "Add to cart",
"addedToCart": "Product added to shopping cart successfully", "addedToCart": "Product added to shopping cart successfully",
"almostSoldOut": "Almost sold out", "almostSoldOut": "Almost sold out",
"all": "Show all", "allCategories": "All categories",
"allRatings": "All ratings",
"available": "items available", "available": "items available",
"back": "Back", "back": "Back",
"backToHome": "Go back to home", "backToHome": "Go back to home",

View File

@@ -369,7 +369,7 @@ export default function Home() {
]; ];
const categoriesFilter = [ const categoriesFilter = [
{ value: "", label: t("all") }, { value: "", label: t('allCategories') },
{ value: "Seeds", label: t("seeds") }, { value: "Seeds", label: t("seeds") },
{ value: "GardenSupplies", label: t("gardenSupplies") }, { value: "GardenSupplies", label: t("gardenSupplies") },
{ value: "TechnicalComponents", label: t("technicalComponents") }, { value: "TechnicalComponents", label: t("technicalComponents") },
@@ -377,7 +377,7 @@ export default function Home() {
]; ];
const ratingFilter = [ const ratingFilter = [
{ value: "", label: t("all") }, { value: "", label: t('allRatings') },
...[5, 4, 3, 2, 1].map(value => ({ ...[5, 4, 3, 2, 1].map(value => ({
value: value.toString(), value: value.toString(),
label: value.toString() label: value.toString()