mercurial/i18n.py
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 28 Jun 2007 15:56:25 +0200
changeset 4733 0ecfc3b3f072
parent 3888 660504812daf
child 7650 85ae7aaf08e9
permissions -rw-r--r--
Simplified earlygetopt and made it remove parsed options and values. The order of aliases is no longer important, too.

"""
i18n.py - internationalization support for mercurial

Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>

This software may be used and distributed according to the terms
of the GNU General Public License, incorporated herein by reference.
"""

import gettext
t = gettext.translation('hg', fallback=1)
gettext = t.gettext
_ = gettext