summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Garland <johnnybg+deluge@gmail.com>2010-09-20 02:43:07 +1000
committerJohn Garland <johnnybg+deluge@gmail.com>2010-09-20 02:44:18 +1000
commit16c38cd0276cfc5ab41d7ab09e0d81ba9a68a7d6 (patch)
tree47d6fad5286cc32ce03d92b3956200542f353052
parente23a6b852acb6dca0be6f431550a5ec8a14ccaa8 (diff)
downloaddeluge-16c38cd0276cfc5ab41d7ab09e0d81ba9a68a7d6.tar.gz
deluge-16c38cd0276cfc5ab41d7ab09e0d81ba9a68a7d6.tar.bz2
deluge-16c38cd0276cfc5ab41d7ab09e0d81ba9a68a7d6.zip
Set locale to the user's default settings in the gtkui
-rw-r--r--deluge/ui/gtkui/gtkui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py
index bfec91b3a..3ff092495 100644
--- a/deluge/ui/gtkui/gtkui.py
+++ b/deluge/ui/gtkui/gtkui.py
@@ -47,6 +47,7 @@ import sys
# 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"):