##// END OF EJS Templates
extensions: load modules in module/__init__.py form....
extensions: load modules in module/__init__.py form. For example, convert=/path/to/convert now works.

File last commit:

r3888:66050481 default
r4569:622d8ed7 default
Show More
i18n.py
13 lines | 339 B | text/x-python | PythonLexer
"""
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