view mercurial/i18n.py @ 5029:ac97e065cfc7

Fix re: and glob: patterns in .hgignore (reported by Brad Schick) relglob: and relre: were already detected for a long time, so I kept this undocumented functionality, especially as it was already tested in test-hgignore.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 30 Jul 2007 20:01:16 +0200
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