view 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 source

# internationalization

from gettext import gettext


def _(s):
    return unicode(gettext(s), "utf-8")