-
This commit is contained in:
parent
5963f24b62
commit
ced1d0569c
@ -33,7 +33,10 @@ class DelugeGTK:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
APP = 'deluge'
|
APP = 'deluge'
|
||||||
DIR = os.path.join(dcommon.INSTALL_PREFIX, 'share', 'locale')
|
DIR = os.path.join(dcommon.INSTALL_PREFIX, 'share', 'locale')
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
gtk.glade.bindtextdomain(APP, DIR)
|
||||||
|
gtk.glade.textdomain(APP)
|
||||||
|
locale.bindtextdomain(APP, DIR)
|
||||||
|
locale.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…
x
Reference in New Issue
Block a user