i18n: get translation entries for description of each compression engines

Now, hggettext can be applied safely on util.py, of which
i18nfunctions contains appropriate objects related to each compression
types.
This commit is contained in:
FUJIWARA Katsunori 2017-08-15 21:09:33 +09:00
parent 3880aa6258
commit c8b11bcb1f
2 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,7 @@ i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n/posplit i18n/hggettext
mercurial/templater.py \
mercurial/filemerge.py \
mercurial/hgweb/webcommands.py \
mercurial/util.py \
$(DOCFILES) > i18n/hg.pot.tmp
# All strings marked for translation in Mercurial contain
# ASCII characters only. But some files contain string

View File

@ -3759,5 +3759,7 @@ def bundlecompressiontopics():
return items
i18nfunctions = bundlecompressiontopics().values()
# convenient shortcut
dst = debugstacktrace