mercurial/i18n.py
author Matt Mackall <mpm@selenic.com>
Thu, 17 Jan 2008 13:51:59 -0600
changeset 5866 dc6ed2736c81
parent 3888 660504812daf
child 7650 85ae7aaf08e9
permissions -rw-r--r--
patchbomb: prompt only once for SMTP password - simplify mail._sendmail to be a function rather than a class - simplify connect to return a function rather than a class - move exception handling from mail.sendmail to mail.connect - use a single connection for all messages in patchbomb

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