##// END OF EJS Templates
i18n: extract doc string of each web commands as translatable one...
FUJIWARA Katsunori -
r24859:64e3f97b stable
parent child Browse files
Show More
@@ -120,6 +120,7 b' i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n'
120 mercurial/templatefilters.py mercurial/templatekw.py \
120 mercurial/templatefilters.py mercurial/templatekw.py \
121 mercurial/templater.py \
121 mercurial/templater.py \
122 mercurial/filemerge.py \
122 mercurial/filemerge.py \
123 mercurial/hgweb/webcommands.py \
123 $(DOCFILES) > i18n/hg.pot.tmp
124 $(DOCFILES) > i18n/hg.pot.tmp
124 # All strings marked for translation in Mercurial contain
125 # All strings marked for translation in Mercurial contain
125 # ASCII characters only. But some files contain string
126 # ASCII characters only. But some files contain string
@@ -1318,3 +1318,6 b' def help(web, req, tmpl):'
1318 except error.UnknownCommand:
1318 except error.UnknownCommand:
1319 raise ErrorResponse(HTTP_NOT_FOUND)
1319 raise ErrorResponse(HTTP_NOT_FOUND)
1320 return tmpl('help', topic=topicname, doc=doc)
1320 return tmpl('help', topic=topicname, doc=doc)
1321
1322 # tell hggettext to extract docstrings from these functions:
1323 i18nfunctions = commands.values()
General Comments 0
You need to be logged in to leave comments. Login now