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.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)
|
||||
|
|
Loading…
Reference in New Issue