mercurial/i18n.py
author Matt Mackall <mpm@selenic.com>
Thu, 21 Jun 2007 13:09:01 -0500
changeset 4671 150afe6becf6
parent 3890 660504812daf
permissions -rw-r--r--
identify: take a path to a remote repo Rather than using -R, we take a path as an argument. This lets us use url#branch syntaxes that may be in hgrc.

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