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

Avoiding recursive behaviour at locale errors #23

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

andreas-lundgren-qlucore
Copy link
Contributor

If the locale folder cannot be found, or the default language "en" is not present, this method will start a recursive loop with no exit criteria.

This change updates the code to first try and load the selected locale. It that fails, it will try to load default locale but only once. If that also fails, it will raise an alert and no longer hang the application.

If the locale folder cannot be found, or the default language "en" is not present, this method will start a recursive loop with no exit criteria.
This change updates the code to first try and load the selected locale. It that fails, it will try to load default locale but only once. If that also fails, it will raise an alert and no longer hang the application.
@n1crack n1crack merged commit b2f8c6a into n1crack:master Oct 13, 2023
@n1crack
Copy link
Owner

n1crack commented Oct 13, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants