mercurial/i18n.py
author Lee Cantey <lcantey@gmail.com>
Mon, 18 Jun 2007 15:14:49 -0700
changeset 4628 02956be66a58
parent 3890 660504812daf
permissions -rw-r--r--
Fix for including hgext in Windows compiled version. From Shun-ichi GOTO via Mercurial mailing list.

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