#11 framework: Fix semi-translated messages
Merged by plautrba. Opened by vmojzis.
vmojzis/setroubleshoot stable  into  stable

Download 11.patch

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

Pull-Request has been merged by plautrba

Metadata