mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
win32 translations fix
This commit is contained in:
parent
d07d25e189
commit
3dc0b25876
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue