-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i18n: Fix untranslated strings in facets
User and domain translations are not working, even though they are wrapped in `_(...)`. The reason is `gettext` is used which performs the translation during module initialization and not when the facets are rendered. This commit fixes this by using `lazy_gettext` instead. Co-authored-by: Miroslav Simek <miroslav.simek@cesnet.cz>
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters