mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-06-09 10:30:12 -04:00
The recipe-created timeline event was always stored as the translated English string "Recipe Created", regardless of the request locale. Now the i18n key "recipe.recipe-created" is stored in the database. The GET endpoints for timeline events translate system event subjects using the locale from the request's Accept-Language header, so the correct translation is returned for any supported locale. Old events that already contain English strings are returned as-is (backward- compatible). Closes #4497