mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-22 16:18:15 +00:00
-
This commit is contained in:
parent
5963f24b62
commit
ced1d0569c
@ -33,7 +33,10 @@ class DelugeGTK:
|
||||
def __init__(self):
|
||||
APP = 'deluge'
|
||||
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.textdomain(APP)
|
||||
gettext.install(APP, DIR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user