mercurial/i18n.py
author Bryan O'Sullivan <bos@serpentine.com>
Fri, 27 Apr 2007 21:30:55 -0700
changeset 4378 e89f9afc462b
parent 3890 660504812daf
permissions -rw-r--r--
Refactor commands.serve to allow other commands to run as services. This introduces a new function, cmdutil.service.

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