diff pyntnclick/i18n.py @ 769:43b49f1de828 pyntnclick-i18n

Merge i18n for before the pyntnclick split
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 26 Jan 2013 16:57:33 +0200
parents
children 5ec7905b2365
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pyntnclick/i18n.py	Sat Jan 26 16:57:33 2013 +0200
@@ -0,0 +1,7 @@
+# internationalization
+
+from gettext import gettext
+
+
+def _(s):
+    return unicode(gettext(s), "utf-8")