From ced1d0569c9844bf18cb4a1309dcdc3ced00d62c Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Mon, 5 Mar 2007 23:38:14 +0000 Subject: [PATCH] - --- src/delugegtk.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/delugegtk.py b/src/delugegtk.py index 7c993f3f9..5f3acce6e 100644 --- a/src/delugegtk.py +++ b/src/delugegtk.py @@ -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)