fedora-selinux / setroubleshoot

Abandoned, use https://gitlab.com/setroubleshoot
https://gitlab.com/setroubleshoot
9 stars 12 forks source link

framework: Fix semi-translated messages #64

Closed vmojzis closed 7 years ago

vmojzis commented 7 years ago

Gettext domains were hardcoded in some modules (pointing to translations for setroubleshoot plugins) which caused semi-translated messages. Remove hardcoded gettext domain and use value from config file instead.

Note: gettext.install sets the "" function into global builtins namespace, as opposed "manually" setting "" with gettext.translation(...).gettext, which only affects given module. Therefore in some cases both methods were left in use.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1332126

Signed-off-by: Vit Mojzis vmojzis@redhat.com