mercurial/i18n.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 11 Jul 2007 18:15:21 -0300
changeset 4863 0875082d5471
parent 3890 660504812daf
permissions -rw-r--r--
util._hgexecutable: default to 'hg' This should make hooks work even if util.set_hgexecutable is not called (e.g. hgweb.cgi). Fixes issue625.

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