This commit is contained in:
Zach Tibbitts 2007-03-05 23:38:14 +00:00
parent 5963f24b62
commit ced1d0569c

View File

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