This commit is contained in:
Zach Tibbitts 2007-03-06 01:40:46 +00:00
parent ced1d0569c
commit ad19cbfc55

View File

@ -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)