Mercurial > hg
comparison Makefile @ 24859:64e3f97bdf08 stable
i18n: extract doc string of each web commands as translatable one
Before this patch, doc string of each web commands isn't extracted as
translatable one, even though web commands are listed up in "hg help
hgweb".
This patch adds "mercurial/hgweb/webcommands.py" on to arguments of
"i18n/hggettext". "i18nfunctions" added into "webcommands.py" is used
by "i18n/hggettext" to get the list of functions having translatable
doc string.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Tue, 28 Apr 2015 00:38:16 +0900 |
parents | d80819f67d59 |
children | ab75baaf81d5 |
comparison
equal
deleted
inserted
replaced
24858:a99931201d1b | 24859:64e3f97bdf08 |
---|---|
118 hgext/*.py hgext/*/__init__.py \ | 118 hgext/*.py hgext/*/__init__.py \ |
119 mercurial/fileset.py mercurial/revset.py \ | 119 mercurial/fileset.py mercurial/revset.py \ |
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 |
126 # literals like this '\037\213'. xgettext thinks it has to | 127 # literals like this '\037\213'. xgettext thinks it has to |
127 # parse them even though they are not marked for translation. | 128 # parse them even though they are not marked for translation. |