diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-20 17:03:10 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-20 17:03:10 +0200 |
commit | accad97fc6fc07d94befe2754b8315f6ae2d01da (patch) | |
tree | 34a69e01b8de81b108b8d39d6bc423ec124fca33 /src/Gui | |
parent | c581668d59fc839f42a9e42ff4b371b02789aaa3 (diff) | |
download | abrt-accad97fc6fc07d94befe2754b8315f6ae2d01da.tar.gz abrt-accad97fc6fc07d94befe2754b8315f6ae2d01da.tar.xz abrt-accad97fc6fc07d94befe2754b8315f6ae2d01da.zip |
Removed dependency on rhpl
Diffstat (limited to 'src/Gui')
-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 fa9a3048..739b2c83 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. |