mercurial/i18n.py
author Matt Mackall <mpm@selenic.com>
Wed, 06 Dec 2006 15:11:44 -0600
changeset 3815 bf6ab30559e6
parent 2858 345bac2bc4ec
child 3890 660504812daf
permissions -rw-r--r--
Add date matching support Add extended date formats (eg "Dec", "2006") Add a couple missing basic date formats Improve default date element scheme to parsedate Add matchdate function to match a date spec Add -e switch and range matching to debugdate

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

# the import from gettext is _really_ slow
# for now we use a dummy function
gettext = lambda x: x
#import gettext
#t = gettext.translation('hg', '/usr/share/locale', fallback=1)
#gettext = t.gettext