fe36f152b7
net-p2p/deluge05: Repocopied from net-p2p/deluge and update to 0.5.9.4. This is for anyone that do not want to move to 1.1.0. Repocopy: marcus
19 lines
921 B
Python
19 lines
921 B
Python
--- deluge/ui/webui/deluge_webserver.py.orig 2009-01-17 11:35:46.000000000 -0600
|
|
+++ deluge/ui/webui/deluge_webserver.py 2009-01-17 11:35:59.000000000 -0600
|
|
@@ -35,11 +35,11 @@
|
|
|
|
# Initialize gettext
|
|
try:
|
|
- locale.setlocale(locale.LC_ALL, '')
|
|
- if hasattr(locale, "bindtextdomain"):
|
|
- locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
|
- if hasattr(locale, "textdomain"):
|
|
- locale.textdomain("deluge")
|
|
+# locale.setlocale(locale.LC_ALL, '')
|
|
+# if hasattr(locale, "bindtextdomain"):
|
|
+# locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
|
+# if hasattr(locale, "textdomain"):
|
|
+# locale.textdomain("deluge")
|
|
gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
|
gettext.textdomain("deluge")
|
|
gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|