platos: segundo plato por comida (ensalada + salmon)

- MealSlot.secondaryDishId (opcional, aditivo CloudKit); se limpia al
  sustituir/quitar/vaciar/marcar comer fuera y viaja en swaps, copia de
  semana anterior, undo y snapshot KV de iCloud (retrocompatible)
- Picker de hueco lleno: toggle "anadir como segundo plato" + boton para
  quitarlo; HomeViewModel.assignSecondaryDish/removeSecondaryDish
- Se muestra "Plato + Segundo" en calendario, widget y export; la lista
  de la compra incluye los ingredientes del segundo; stats lo cuentan
- Evento analytics secondary_dish_added; strings en 6 idiomas

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013H6bXqGX1ygwib1Dm3n3UG
This commit is contained in:
alexandrev-tibco
2026-09-01 11:37:23 +02:00
parent 7193234024
commit a0f9fa63d3
15 changed files with 128 additions and 13 deletions
@@ -426,3 +426,5 @@
"dish_fixed_slot_desc" = "Beim Ausfüllen immer am selben Tag und zur selben Mahlzeit";
"dish_fixed_slot_day" = "Tag";
"dish_fixed_slot_meal" = "Mahlzeit";
"home_pick_second_dish" = "Als zweites Gericht hinzufügen";
"home_remove_second_dish" = "Zweites Gericht entfernen";
@@ -426,3 +426,5 @@
"dish_fixed_slot_desc" = "Always on the same day and meal when auto-filling";
"dish_fixed_slot_day" = "Day";
"dish_fixed_slot_meal" = "Meal";
"home_pick_second_dish" = "Add as second dish";
"home_remove_second_dish" = "Remove second dish";
@@ -426,3 +426,5 @@
"dish_fixed_slot_desc" = "Siempre en el mismo día y comida al autocompletar";
"dish_fixed_slot_day" = "Día";
"dish_fixed_slot_meal" = "Comida";
"home_pick_second_dish" = "Añadir como segundo plato";
"home_remove_second_dish" = "Quitar el segundo plato";
@@ -426,3 +426,5 @@
"dish_fixed_slot_desc" = "Toujours le même jour et le même repas lors du remplissage auto";
"dish_fixed_slot_day" = "Jour";
"dish_fixed_slot_meal" = "Repas";
"home_pick_second_dish" = "Ajouter comme deuxième plat";
"home_remove_second_dish" = "Retirer le deuxième plat";
@@ -426,3 +426,5 @@
"dish_fixed_slot_desc" = "Sempre nello stesso giorno e pasto con il riempimento automatico";
"dish_fixed_slot_day" = "Giorno";
"dish_fixed_slot_meal" = "Pasto";
"home_pick_second_dish" = "Aggiungi come secondo piatto";
"home_remove_second_dish" = "Rimuovi il secondo piatto";
@@ -426,3 +426,5 @@
"dish_fixed_slot_desc" = "Sempre no mesmo dia e refeição no preenchimento automático";
"dish_fixed_slot_day" = "Dia";
"dish_fixed_slot_meal" = "Refeição";
"home_pick_second_dish" = "Adicionar como segundo prato";
"home_remove_second_dish" = "Remover o segundo prato";