1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
""" Translations.py by Jason Conti March 8, 2010 Code for working with gettext translations. """ import gettext from gettext import lgettext as _ from gettext import lngettext as ngettext if hasattr(gettext, "bind_textdomain_codeset"): gettext.bind_textdomain_codeset("recent-notifications", "UTF-8") gettext.textdomain("recent-notifications") |