mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
-
This commit is contained in:
parent
ced1d0569c
commit
ad19cbfc55
@ -33,8 +33,7 @@ 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')
|
||||||
gtk.glade.bindtextdomain(APP, DIR)
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
gtk.glade.textdomain(APP)
|
|
||||||
locale.bindtextdomain(APP, DIR)
|
locale.bindtextdomain(APP, DIR)
|
||||||
locale.textdomain(APP)
|
locale.textdomain(APP)
|
||||||
gettext.bindtextdomain(APP, DIR)
|
gettext.bindtextdomain(APP, DIR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user