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

Use correct language for exercise names in exports #5058

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

bmesuere
Copy link
Member

This pull request fixes a bug where Dutch exercises names were always used in exports.

During the creation of an export, the exercise name was fetched using name. This function uses the current locale to determine which language to use. Because exports are created async, the current locale wasn't set correctly.

This fix explicitly sets the locale when creating an export, based on the user that requested the export.

Closes #4780

@bmesuere bmesuere added the bug Something isn't working label Oct 21, 2023
@bmesuere bmesuere requested a review from a team as a code owner October 21, 2023 17:50
@bmesuere bmesuere requested review from niknetniko and chvp and removed request for a team October 21, 2023 17:50
@bmesuere bmesuere added the no deploy Prevents automatic deploy after merging label Oct 23, 2023
@bmesuere bmesuere merged commit 76955be into main Oct 23, 2023
17 checks passed
@bmesuere bmesuere deleted the fix/export-language branch October 23, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no deploy Prevents automatic deploy after merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export always uses Dutch exercise names for files and directories
3 participants