summaryrefslogtreecommitdiffstats
path: root/ibus
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-09-25 13:46:37 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-09-25 13:46:37 +0800
commit9b8c9a850f271f22eb70c3ae19b202753f6c919b (patch)
tree544849c392db8ad64664a4ee85ce0c77d86385bb /ibus
parent791de25117257159a981d3220e492f17ff808186 (diff)
downloadibus-9b8c9a850f271f22eb70c3ae19b202753f6c919b.tar.gz
ibus-9b8c9a850f271f22eb70c3ae19b202753f6c919b.tar.xz
ibus-9b8c9a850f271f22eb70c3ae19b202753f6c919b.zip
Fix problem in non-UTF8 locale.
Diffstat (limited to 'ibus')
-rw-r--r--ibus/lang.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ibus/lang.py b/ibus/lang.py
index 52735bc..52c4800 100644
--- a/ibus/lang.py
+++ b/ibus/lang.py
@@ -24,11 +24,9 @@ __all__ = (
)
import xml.parsers.expat
-
import locale
import gettext
-locale.setlocale(locale.LC_ALL, "")
_ = lambda a: gettext.dgettext("ibus", a)
__languages_dict = {}