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

Clean up gettext methods in flask-babel/__init__.py #126

Closed
nberrios opened this issue Oct 11, 2017 · 1 comment
Closed

Clean up gettext methods in flask-babel/__init__.py #126

nberrios opened this issue Oct 11, 2017 · 1 comment

Comments

@nberrios
Copy link

Taking a look at get_translations() method, it looks like it will never return None. However, all of the gettext wrapper methods (gettext, ngettext, pgettext, npgettext) seem to first check if t is None where t is the result of get_translations().

@nberrios
Copy link
Author

#127

@TkTech TkTech closed this as completed in 07d125a Aug 27, 2020
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

No branches or pull requests

1 participant