Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/hgweb.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 | b6d4ebebc35c |
children | 9d2c2e6b32b5 |
line wrap: on
line diff
--- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -11,6 +11,7 @@ from demandload import demandload demandload(globals(), "mdiff time re socket zlib errno ui hg ConfigParser") demandload(globals(), "zipfile tempfile StringIO tarfile BaseHTTPServer util") from node import * +from i18n import gettext as _ def templatepath(): for f in "templates", "../templates":