mercurial/i18n.py
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 21 Jun 2007 19:24:27 +0200
changeset 4668 e241598e956f
parent 3890 660504812daf
permissions -rw-r--r--
Remove useless variable assignments in util.opener. The original idea might have been to prevent circular references, but as this assignment would have created another reference, this makes no difference.

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