view pyntnclick/i18n.py @ 786:fb8c146017a9 pyntnclick

Add warnings for 'po file is older than mo file' and 'mo file missing'
author Neil Muller <neil@dip.sun.ac.za>
date Sat, 26 Jan 2013 20:01:39 +0200
parents 43b49f1de828
children 5ec7905b2365
line wrap: on
line source

# internationalization

from gettext import gettext


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