Mercurial > pyntnclick
view pyntnclick/i18n.py @ 782:6a3440c8be8d pyntnclick
The title needs to be lazily translated. It's evaluated before we set up gettext
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 26 Jan 2013 19:13:07 +0200 |
parents | 43b49f1de828 |
children | 5ec7905b2365 |
line wrap: on
line source
# internationalization from gettext import gettext def _(s): return unicode(gettext(s), "utf-8")