platform_external_selinux/python/semanage
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
..
ru Update man pages translation by Olesya Gerasimenko 2019-05-28 07:50:34 -04:00
Makefile Switch to python3 by default 2019-02-20 16:43:27 +01:00
semanage gettext: set _ on module level instead of builtins namespace 2022-05-16 10:29:54 -04:00
semanage-bash-completion.sh semanage bash completion: handle semanage module 2020-06-09 15:44:07 -04:00
semanage-boolean.8 semanage/semanage-boolean.8: Fix a minor typo 2019-04-30 17:49:00 +02:00
semanage-dontaudit.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-export.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-fcontext.8 semanage-fcontext.8: Drop extra )s after FILE_SPEC 2022-03-03 12:13:47 -05:00
semanage-ibendport.8 semanage: Fix manpage author for ibpkey and ibendport pages. 2017-05-30 09:40:33 -04:00
semanage-ibpkey.8 semanage: Fix manpage author for ibpkey and ibendport pages. 2017-05-30 09:40:33 -04:00
semanage-import.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
semanage-interface.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-login.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-module.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
semanage-node.8 semanage-node.8: describe netmask 2020-06-09 15:44:14 -04:00
semanage-permissive.8 python/semanage: Improve handling of "permissive" statements 2019-10-01 14:03:55 -04:00
semanage-port.8 python/semanage: Document DCCP and SCTP support 2019-10-23 10:24:38 -04:00
semanage-user.8 semanage: "semanage user" does not use -s, fix documentation 2018-09-09 21:35:44 +02:00
semanage.8 python/semanage: Examples are no longer in the main semanage man page 2019-02-04 22:11:26 +01:00
seobject.py gettext: set _ on module level instead of builtins namespace 2022-05-16 10:29:54 -04:00
test-semanage.py semanage/test-semanage.py: Return non-zero value when some of unittest tests fail 2020-05-13 11:11:23 +02:00