diff options
author | John Garland <johnnybg+deluge@gmail.com> | 2010-09-20 02:43:07 +1000 |
---|---|---|
committer | John Garland <johnnybg+deluge@gmail.com> | 2010-09-20 02:44:18 +1000 |
commit | 16c38cd0276cfc5ab41d7ab09e0d81ba9a68a7d6 (patch) | |
tree | 47d6fad5286cc32ce03d92b3956200542f353052 | |
parent | e23a6b852acb6dca0be6f431550a5ec8a14ccaa8 (diff) | |
download | deluge-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.py | 1 |
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"): |