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.
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