Mercurial > public > mercurial-scm > hg-stable
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 Tue Oct 18 17:57:27 2005 -0700 +++ b/mercurial/hgweb.py Tue Oct 18 18:37:48 2005 -0700 @@ -11,6 +11,7 @@ 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":