Files
mealie/tests/unit_tests/services_tests/scheduler
Hayden 8ff7f27fea fix: translate mealplan timeline event subjects by locale
Mealplan "made this" timeline events were always stored as hardcoded
English strings. This stores them instead as i18n key references in the
format `recipe.<key>|<user-name>`, and translates them at serve time
in the timeline events GET endpoints.

- Add backend i18n keys for all seven entry-type variants
  (breakfast, lunch, dinner, snack, drink, dessert, side).
- Store structured subjects in create_timeline_events.py — deduplication
  logic is unaffected since the stored string is still deterministic.
- Translate info-type events at serve time in timeline_events.py, with
  a fallback to en-US when a locale has not yet been translated.
- Old events with plain English subject strings are displayed as-is
  (backward-compatible).

Follows up on #7623 which applied the same pattern to the system-type
"Recipe Created" event.
2026-05-14 09:12:58 -05:00
..