mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-05 04:59:42 +00:00
344463076b
With "fallback=True" gettext.translation behaves the same as gettext.install and uses NullTranslations in case the translation file for given language was not found (as opposed to throwing an exception). Fixes: # LANG is set to any "unsupported" language, e.g. en_US.UTF-8 $ chcat --help Traceback (most recent call last): File "/usr/bin/chcat", line 39, in <module> t = gettext.translation(PROGNAME, File "/usr/lib64/python3.9/gettext.py", line 592, in translation raise FileNotFoundError(ENOENT, FileNotFoundError: [Errno 2] No translation file found for domain: 'selinux-python' Signed-off-by: Vit Mojzis <vmojzis@redhat.com> Reviewed-by: Daniel Burgener <dburgener@linux.microsoft.com> Acked-by: Petr Lautrbach <plautrba@redhat.com> |
||
---|---|---|
.. | ||
po | ||
ru | ||
booleansPage.py | ||
COPYING | ||
domainsPage.py | ||
fcontextPage.py | ||
loginsPage.py | ||
Makefile | ||
modulesPage.py | ||
org.selinux.config.policy | ||
polgen.ui | ||
polgengui.py | ||
portsPage.py | ||
selinux-polgengui.8 | ||
selinux-polgengui.desktop | ||
semanagePage.py | ||
sepolgen | ||
sepolicy_16.png | ||
sepolicy_22.png | ||
sepolicy_32.png | ||
sepolicy_48.png | ||
sepolicy_256.png | ||
sepolicy.desktop | ||
statusPage.py | ||
system-config-selinux | ||
system-config-selinux.8 | ||
system-config-selinux.desktop | ||
system-config-selinux.png | ||
system-config-selinux.py | ||
system-config-selinux.ui | ||
usersPage.py | ||
VERSION |