mercurial/i18n.py
author Patrick Mezard <pmezard@gmail.com>
Tue, 04 Dec 2007 23:10:13 +0100
changeset 5611 60bd4e707a7d
parent 3888 660504812daf
child 7650 85ae7aaf08e9
permissions -rw-r--r--
utils_win32: calling SHGetPathFromIDList under NT is useless and broken The call was done under NT when running as a service (CGI script for instance) and always crash, even in interactive processes.

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