From 3dc0b25876cdc6028500982243fd212e7f08caa3 Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Tue, 16 Oct 2007 16:48:26 +0000 Subject: [PATCH] win32 translations fix --- src/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/__init__.py b/src/__init__.py index 292b75e2a..0711a3e51 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -42,7 +42,10 @@ if not common.windows_check(): locale.bindtextdomain(APP, DIR) locale.textdomain(APP) else: + import gtk.glade locale.setlocale(locale.LC_ALL, '') + gtk.glade.bindtextdomain(APP,DIR) + gtk.glade.textdomain(APP) gettext.bindtextdomain(APP, DIR) gettext.textdomain(APP) gettext.install(APP, DIR)