mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
-
This commit is contained in:
parent
5963f24b62
commit
ced1d0569c
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue