mercurial/i18n.py
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 28 Jun 2007 16:03:45 +0200
changeset 4734 9ac493f12901
parent 3890 660504812daf
permissions -rw-r--r--
Abort if earlygetopt fails to detect an option. Otherwise it could happen that a command is used on the wrong repository, because abbreviations of --cwd or --repository were ignored.

"""
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