mercurial/i18n.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 17 Jul 2007 09:08:29 -0300
changeset 4895 fa6c9381d053
parent 3888 660504812daf
child 7650 85ae7aaf08e9
permissions -rw-r--r--
convert: manually set encoding to UTF-8 Right now the backends assume we're working in UTF-8 and there's no good way to ignore the encoding when adding revisions.

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