platform_external_selinux/python
Vit Mojzis b14d5de5b4 gettext: set _ on module level instead of builtins namespace
Some calls to "_" where unsuccessful because the function was
initialized with a different translation domain than the string.
e.g. selinux-polgengui calls functions from sepolicy.generate, which end
up printing untranslated strings because polgengui uses selinux-gui
domain while sepolicy uses selinux-python

- Set "_" in module namespace instead of "builtins"
- Set the whole "sepolicy.generate()" confirmation as translatable
- Drop "codeset" parameter since it is deprecated

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-05-16 10:29:54 -04:00
..
audit2allow python: mark local functions static 2021-11-15 16:00:54 -05:00
chcat gettext: set _ on module level instead of builtins namespace 2022-05-16 10:29:54 -04:00
po Update translations from translate.fedoraproject.org 2022-04-06 10:53:37 +02:00
semanage gettext: set _ on module level instead of builtins namespace 2022-05-16 10:29:54 -04:00
sepolgen Update VERSIONs to 3.4-rc3 for release. 2022-05-04 19:20:37 +02:00
sepolicy gettext: set _ on module level instead of builtins namespace 2022-05-16 10:29:54 -04:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile Split po/ translation files into the relevant sub-directories 2022-04-06 10:52:41 +02:00
VERSION Update VERSIONs to 3.4-rc3 for release. 2022-05-04 19:20:37 +02:00