fix category names to match database values
All checks were successful
CI / update (push) Successful in 1m9s

Change English category names to match exact database values:
- 'Main Course' -> 'Main course'
- 'Pasta' -> 'Noodle'
- 'Side Dish' -> 'Side dish'

This fixes empty category sections on the main recipes page.
This commit is contained in:
2025-12-26 23:08:04 +01:00
parent e6839f56f9
commit 409180e94f

View File

@@ -9,7 +9,7 @@
const isEnglish = $derived(data.lang === 'en');
const categories = $derived(isEnglish
? ["Main Course", "Pasta", "Bread", "Dessert", "Soup", "Side Dish", "Salad", "Cake", "Breakfast", "Sauce", "Ingredient", "Drink", "Spread", "Cookie", "Snack"]
? ["Main course", "Noodle", "Bread", "Dessert", "Soup", "Side dish", "Salad", "Cake", "Breakfast", "Sauce", "Ingredient", "Drink", "Spread", "Cookie", "Snack"]
: ["Hauptspeise", "Nudel", "Brot", "Dessert", "Suppe", "Beilage", "Salat", "Kuchen", "Frühstück", "Sauce", "Zutat", "Getränk", "Aufstrich", "Guetzli", "Snack"]);
const labels = $derived({