Ticket #883: deluge-1.1.6-alt-fix-nonutf8.patch
File deluge-1.1.6-alt-fix-nonutf8.patch, 629 bytes (added by , 16 years ago) |
---|
-
deluge/ui/gtkui/gtkui.py
a b 138 138 gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) 139 139 gettext.textdomain("deluge") 140 140 gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n")) 141 gtk.glade.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) 142 gtk.glade.textdomain("deluge") 141 143 except Exception, e: 142 144 log.error("Unable to initialize gettext/locale!") 143 145 log.exception(e)