mercurial/i18n.py
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Thu, 18 May 2006 22:43:09 -0700
changeset 2315 c4a2d8502cc0
parent 1401 fbf2b10011aa
child 2859 345bac2bc4ec
permissions -rw-r--r--
Emacs: adapt read-file-name invocation for (non-X)Emacs 21.4. this patch deters hg-read-file-name from passing hg-file-history to read-file-name as 6th parameter in non-X Emacs environment.

"""
i18n.py - internationalization support for mercurial

Copyright 2005 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