From 829e8e27e29116f1de67c048fb37286884d900d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrer=20=C3=96zen?= Date: Tue, 4 Oct 2005 15:37:59 +0000 Subject: [PATCH] i18n part1 --- pisi-cli | 4 +++- po/tr.po | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pisi-cli b/pisi-cli index 28786c55..9f30d74d 100755 --- a/pisi-cli +++ b/pisi-cli @@ -11,8 +11,9 @@ # import sys - +import locale import gettext + __trans = gettext.translation('pisi', fallback=True) _ = __trans.ugettext @@ -58,6 +59,7 @@ Please file a bug report! (http://bugs.uludag.org.tr) sys.exit(1) if __name__ == "__main__": + locale.setlocale(locale.LC_ALL, '') sys.excepthook = handle_exception diff --git a/po/tr.po b/po/tr.po index 9c8176d2..f355ee7c 100644 --- a/po/tr.po +++ b/po/tr.po @@ -10,7 +10,7 @@ msgstr "" "Last-Translator: Eray Ozkural \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-9\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n"