diff --git a/mealie/lang/messages/en-US.json b/mealie/lang/messages/en-US.json index 57aa0572eda..1f811d5663c 100644 --- a/mealie/lang/messages/en-US.json +++ b/mealie/lang/messages/en-US.json @@ -4,6 +4,7 @@ }, "recipe": { "unique-name-error": "Recipe names must be unique", + "recipe-created": "Recipe created", "recipe-defaults": { "ingredient-note": "1 Cup Flour", "step-text": "Recipe steps as well as other fields in the recipe page support markdown syntax.\n\n**Add a link**\n\n[My Link](https://demo.mealie.io)\n" diff --git a/mealie/services/recipe/recipe_service.py b/mealie/services/recipe/recipe_service.py index e07f5f3666b..8bf3f1bba5f 100644 --- a/mealie/services/recipe/recipe_service.py +++ b/mealie/services/recipe/recipe_service.py @@ -190,7 +190,7 @@ def create_one(self, create_data: Recipe | CreateRecipe) -> Recipe: timeline_event_data = RecipeTimelineEventCreate( user_id=new_recipe.user_id, recipe_id=new_recipe.id, - subject="Recipe Created", + subject=self.t("recipe.recipe-created"), event_type=TimelineEventType.system, timestamp=new_recipe.created_at or datetime.now(timezone.utc), )