feat: mark recipe as cooked (multi-cook history + backdate) and enable auto-deduct pantry on cook (v0.75.0)

Adds a general-purpose "mark cooked" dialog for any recipe (not just batch-cook dishes), with a date picker for backdating and a pantry-deduct checkbox defaulted on. Also flips the previously dead-in-the-UI deductFromPantry flag to true for the existing batch-cook and meal-planner cook actions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-24 11:28:41 +02:00
parent 55c6fc5ab7
commit 04a911b431
14 changed files with 245 additions and 9 deletions
+14
View File
@@ -147,6 +147,20 @@
"batchCookMarkSuccess": "Marqué comme cuisiné",
"batchCookMarkFailed": "Échec du marquage",
"batchCookMarkQueuedOffline": "Enregistré hors ligne — sera synchronisé au retour de la connexion",
"markCookedButton": "Marquer comme cuisiné",
"markCookedTitle": "Marquer comme cuisiné",
"markCookedDescription": "Enregistrez cette cuisson — vous pouvez marquer la même recette comme cuisinée autant de fois que vous le souhaitez.",
"markCookedDateLabel": "Date",
"markCookedServingsLabel": "Portions réalisées",
"markCookedDeductLabel": "Déduire du garde-manger",
"markCookedDeductDescription": "Retire les ingrédients correspondants que vous avez sous la main.",
"markCookedSubmit": "Marquer comme cuisiné",
"markCookedSaving": "Enregistrement…",
"markCookedSuccess": "Marqué comme cuisiné",
"markCookedFailed": "Échec de l'enregistrement",
"markCookedCountSingular": "Cuisiné 1 fois",
"markCookedCountPlural": "Cuisiné {count} fois",
"markCookedLast": " · dernière fois le {date}",
"batchCookExpiresOn": "Cuisiné — bon jusqu'au {date}",
"servings": "{count} portions",
"prep": "{mins}m prép.",