Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgwebdir_mod.py @ 7225:59b4ae211584
i18n: import _ instead of gettext
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Tue, 21 Oct 2008 17:47:49 +0200 |
parents | 125c8fedcbe0 |
children | 2dc868712dcc |
comparison
equal
deleted
inserted
replaced
7224:12a90281d83d | 7225:59b4ae211584 |
---|---|
5 # | 5 # |
6 # This software may be used and distributed according to the terms | 6 # This software may be used and distributed according to the terms |
7 # of the GNU General Public License, incorporated herein by reference. | 7 # of the GNU General Public License, incorporated herein by reference. |
8 | 8 |
9 import os | 9 import os |
10 from mercurial.i18n import gettext as _ | 10 from mercurial.i18n import _ |
11 from mercurial.repo import RepoError | 11 from mercurial.repo import RepoError |
12 from mercurial import ui, hg, util, templater, templatefilters | 12 from mercurial import ui, hg, util, templater, templatefilters |
13 from common import ErrorResponse, get_mtime, staticfile, style_map, paritygen,\ | 13 from common import ErrorResponse, get_mtime, staticfile, style_map, paritygen,\ |
14 get_contact, HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR | 14 get_contact, HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR |
15 from hgweb_mod import hgweb | 15 from hgweb_mod import hgweb |