Skip to content

Commit b61476d

Browse files
authored
Merge pull request #4042 from cclauss/import-gettext-as-_
from openlibrary.i18n import gettext as _
2 parents d5c1ec2 + c65ad67 commit b61476d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎openlibrary/core/helpers.py

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
from infogami.infobase.utils import parse_datetime
3232
from infogami.utils.view import safeint
3333

34+
# TODO: i18n should be moved to core or infogami
35+
from openlibrary.i18n import gettext as _ # noqa: F401
36+
3437
__all__ = [
3538
"sanitize",
3639
"json_encode",

0 commit comments

Comments
 (0)