mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 20:25:51 +03:00
[PR #1126] [CLOSED] Fix uncaught exception "translation" from Jinja #1083
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#1083
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/benbusby/whoogle-search/pull/1126
Author: @ahmad-alkadri
Created: 3/2/2024
Status: ❌ Closed
Base:
main← Head:fixes/jinja-translation-message📝 Commits (1)
7f0af09Fix jinja translation message by querying the dict key in the function, not in the template📊 Changes
4 files changed (+9 additions, -4 deletions)
View changed files
📝
.gitignore(+3 -0)📝
app/routes.py(+1 -1)📝
app/templates/error.html(+1 -1)📝
test/test_results.py(+4 -2)📄 Description
This (draft) PR potentially can fix Issues #1122 and (maybe) #1100.
Location of the bug found at the app/routes.py and app/templates/error.html.
Basically instead of querying the key from the
translationdictionary at the template-level we should do it at the python func-level.Please click on the links to see the details of the commits.
Also modified one of the testing script.
Open to feedback.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.