diff --git a/invenio_users_resources/services/domains/facets.py b/invenio_users_resources/services/domains/facets.py index b2d9bd2..50b2da5 100644 --- a/invenio_users_resources/services/domains/facets.py +++ b/invenio_users_resources/services/domains/facets.py @@ -8,7 +8,7 @@ """Domains search facets definitions.""" -from invenio_i18n import gettext as _ +from invenio_i18n import lazy_gettext as _ from invenio_records_resources.services.records.facets import TermsFacet status = TermsFacet( diff --git a/invenio_users_resources/services/users/facets.py b/invenio_users_resources/services/users/facets.py index 598bdfe..4df7e06 100644 --- a/invenio_users_resources/services/users/facets.py +++ b/invenio_users_resources/services/users/facets.py @@ -8,7 +8,7 @@ """Users search facets definitions.""" -from invenio_i18n import gettext as _ +from invenio_i18n import lazy_gettext as _ from invenio_records_resources.services.records.facets import TermsFacet domain = TermsFacet(