diff options
Diffstat (limited to 'src/Gui/exception.py')
| -rw-r--r-- | src/Gui/exception.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Gui/exception.py b/src/Gui/exception.py index fa9a304..739b2c8 100644 --- a/src/Gui/exception.py +++ b/src/Gui/exception.py @@ -41,10 +41,16 @@ def exception_function(): raise """ -import sys -from rhpl.translate import _ +PROGNAME = "abrt" +import sys +import gettext +import locale +locale.setlocale(locale.LC_ALL, "") +gettext.textdomain(PROGNAME) +gettext.bind_textdomain_codeset(PROGNAME, locale.nl_langinfo(locale.CODESET)) +_ = gettext.lgettext __DUMPHASH = {} # FIXME: do length limits on obj dumps. |
