mercurial/i18n.py
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Jun 2007 11:13:36 +0200
changeset 4739 1da35d1e7ef9
parent 3890 660504812daf
permissions -rw-r--r--
Added full URL to debug output if something doesn't look like an http hg repo. This way it is easier to debug problems with failing subcommands, like changegroupsubset due to permission problems, when generally accessing the repository works fine.

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