view mercurial/i18n.py @ 1400:cf9a1233738a

i18n first part: make '_' available for files who need it
author Benoit Boissinot <benoit.boissinot@ens-lyon.org
date Tue, 18 Oct 2005 18:37:48 -0700
parents
children fbf2b10011aa
line wrap: on
line source

"""
i18n.py - internationalization support for mercurial

Copyright 2005 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', '/usr/share/locale', fallback=1)
gettext = t.gettext