mercurial/i18n.py
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 26 Dec 2006 15:33:50 +0100
changeset 3990 96e21337dc03
parent 3890 660504812daf
permissions -rw-r--r--
Improved error message for extensions overriding commands (with test): - Old text "module foo overrides bar" was misread as overriding module bar. - Only print a single warning line per extension instead of one for each command.

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