win32 translations fix
This commit is contained in:
parent
d07d25e189
commit
3dc0b25876
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue