i18n part1
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ msgstr ""
|
||||
"Last-Translator: Eray Ozkural <eray@uludag.org.tr>\n"
|
||||
"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user