Skip to content
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: error page translations #922

Merged
merged 2 commits into from
Sep 19, 2022
Merged

Fix: error page translations #922

merged 2 commits into from
Sep 19, 2022

Conversation

angela-tran
Copy link
Member

Closes #913

Added unit tests.
Fixed the bug by using gettext_lazy so that it's ok to set default arguments.

@angela-tran angela-tran added this to the Courtesy Cards milestone Sep 19, 2022
@angela-tran angela-tran self-assigned this Sep 19, 2022
@angela-tran angela-tran requested a review from a team as a code owner September 19, 2022 18:19
@github-actions github-actions bot added tests Related to automated testing (unit, UI, integration, etc.) deployment-dev [auto] Changes that will trigger a deploy if merged to dev back-end Django views, sessions, middleware, models, migrations etc. labels Sep 19, 2022
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Thanks for the simple fix and the tests!

BTW I had done some earlier work and finally created #925 as part of my review, it will be useful as we work on other error page tickets too.

@angela-tran angela-tran merged commit 2b0a6b8 into dev Sep 19, 2022
@angela-tran angela-tran deleted the fix/error-page-translations branch September 19, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Django views, sessions, middleware, models, migrations etc. deployment-dev [auto] Changes that will trigger a deploy if merged to dev tests Related to automated testing (unit, UI, integration, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Spanish translations on all error pages are not showing up.
2 participants