view mercurial/i18n.py @ 4678:a814a5b11fff

Work around urllib2 digest auth bug with Python < 2.5 This should fix issue570.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 22 Jun 2007 14:32:54 -0300
parents 660504812daf
children
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