##// END OF EJS Templates
i18n first part: make '_' available for files who need it
i18n first part: make '_' available for files who need it

File last commit:

r1400:cf9a1233 default
r1400:cf9a1233 default
Show More
i18n.py
12 lines | 342 B | text/x-python | PythonLexer
"""
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