win32 translations fix

This commit is contained in:
Zach Tibbitts 2007-10-16 16:48:26 +00:00
parent d07d25e189
commit 3dc0b25876
1 changed files with 3 additions and 0 deletions

View File

@ -42,7 +42,10 @@ if not common.windows_check():
locale.bindtextdomain(APP, DIR) locale.bindtextdomain(APP, DIR)
locale.textdomain(APP) locale.textdomain(APP)
else: else:
import gtk.glade
locale.setlocale(locale.LC_ALL, '') locale.setlocale(locale.LC_ALL, '')
gtk.glade.bindtextdomain(APP,DIR)
gtk.glade.textdomain(APP)
gettext.bindtextdomain(APP, DIR) gettext.bindtextdomain(APP, DIR)
gettext.textdomain(APP) gettext.textdomain(APP)
gettext.install(APP, DIR) gettext.install(APP, DIR)