mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
fix: 4497 (#4562)
Co-authored-by: Dominik <dominik.ziegenhagel@gmail.com>
This commit is contained in:
parent
76eccdff8c
commit
6e4f9a234b
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -190,7 +190,7 @@ class RecipeService(RecipeServiceBase):
|
|||
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),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue