mercurial/i18n.py
author Christian Ebert <blacktrash@gmx.net>
Sun, 10 Feb 2008 04:24:59 +0100
changeset 6072 e521ec1ad985
parent 3888 660504812daf
child 7650 85ae7aaf08e9
permissions -rw-r--r--
keyword: no expansion in web diffs Expansion in hgweb view of changesets and diffs is not needed and only distracting. Expansion stays enable in file and archive requests where it makes sense.

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