diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-13 15:40:03 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-13 15:40:03 +0000 |
commit | accfe046bea252f12ecd441bee348d3cd7e1bf84 (patch) | |
tree | 94a825763c0c2cdf1d58f09d4e7be4d767a9b99c /src/connection.py | |
parent | b723a94efc19f1af7ecd14bb3d94ceb9e646a169 (diff) | |
download | poezio-accfe046bea252f12ecd441bee348d3cd7e1bf84.tar.gz poezio-accfe046bea252f12ecd441bee348d3cd7e1bf84.tar.bz2 poezio-accfe046bea252f12ecd441bee348d3cd7e1bf84.tar.xz poezio-accfe046bea252f12ecd441bee348d3cd7e1bf84.zip |
/quit can have a message. fixed #1488
Diffstat (limited to 'src/connection.py')
-rw-r--r-- | src/connection.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/connection.py b/src/connection.py index d7b1ac6a..4abe2d5b 100644 --- a/src/connection.py +++ b/src/connection.py @@ -23,13 +23,16 @@ Defines the Connection class from gettext import (bindtextdomain, textdomain, bind_textdomain_codeset, gettext as _) +# from os.path import isfile +# if isfile('../locale/poezio.pot'): +# localedir = '../locale' +# else: +# localedir = '/usr/share/locale' -bindtextdomain('poezio') -textdomain('poezio') -bind_textdomain_codeset('poezio', 'utf-8') -import locale -locale.setlocale(locale.LC_ALL, '') +# bindtextdomain('poezio', localedir) +# textdomain('poezio') +# bind_textdomain_codeset('poezio', 'utf-8') import sys |