summaryrefslogtreecommitdiff
path: root/src/connection.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 15:40:03 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 15:40:03 +0000
commitaccfe046bea252f12ecd441bee348d3cd7e1bf84 (patch)
tree94a825763c0c2cdf1d58f09d4e7be4d767a9b99c /src/connection.py
parentb723a94efc19f1af7ecd14bb3d94ceb9e646a169 (diff)
downloadpoezio-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.py13
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