view mercurial/i18n.py @ 4626:eb99af2d845e

Fix for demandimport.py and Windows compiled version. From Shun-ichi Goto in BTS issue 457 http://www.selenic.com/mercurial/bts/msg2780
author Lee Cantey <lcantey@gmail.com>
date Mon, 18 Jun 2007 15:03:55 -0700
parents 660504812daf
children 85ae7aaf08e9
line wrap: on
line source

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