This commit is contained in:
Zach Tibbitts 2007-03-06 01:40:46 +00:00
parent ced1d0569c
commit ad19cbfc55
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ class DelugeGTK:
def __init__(self):
APP = 'deluge'
DIR = os.path.join(dcommon.INSTALL_PREFIX, 'share', 'locale')
gtk.glade.bindtextdomain(APP, DIR)
gtk.glade.textdomain(APP)
locale.setlocale(locale.LC_ALL, '')
locale.bindtextdomain(APP, DIR)
locale.textdomain(APP)
gettext.bindtextdomain(APP, DIR)