-
-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 4497 use Translation for Recipe created #4562
fix: 4497 use Translation for Recipe created #4562
Conversation
Hey, thanks for your PR. |
Also you only need to add base translations to the en_US file. The rest is handled through crowdin. You can add the german translation over there as soon as the PR including the translation is merged. |
b7d11a8
to
02d0c82
Compare
02d0c82
to
642a1e0
Compare
642a1e0
to
0f3d052
Compare
Thank you! I hope it's correct now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! One small thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Please provide a meaningful title to the pull request. |
What type of PR is this?
What this PR does / why we need it:
This PR fixes untranslated timeline events in the recipe creation process. Currently, when creating a new recipe, the timeline event shows a hardcoded English message "Recipe Created" regardless of the user's selected language.
Changes made:
recipe_service.py
to use translation keyThis is the first step in fully localizing timeline events, starting with the two main languages. Additional language support will be added in follow-up PRs.
Which issue(s) this PR fixes:
Partial fix for #4497
Special notes for your reviewer:
The translation key follows the existing pattern used in recipe defaults:
recipe.recipe-defaults.ingredient-note
recipe.recipe-created
Testing
Tested by:
All existing tests pass. Translation keys are consistent with existing naming patterns.