# HG changeset patch # User FUJIWARA Katsunori # Date 1502798973 -32400 # Node ID fa7e30efe05a22fee1f642d1e3a77e26e566e7b4 # Parent d5ef176081592bfbd282922252b0dd0b6f78e85f 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. diff -r d5ef17608159 -r fa7e30efe05a Makefile --- a/Makefile Tue Aug 15 21:06:26 2017 +0900 +++ b/Makefile Tue Aug 15 21:09:33 2017 +0900 @@ -132,6 +132,7 @@ 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 diff -r d5ef17608159 -r fa7e30efe05a mercurial/util.py --- a/mercurial/util.py Tue Aug 15 21:06:26 2017 +0900 +++ b/mercurial/util.py Tue Aug 15 21:09:33 2017 +0900 @@ -3759,5 +3759,7 @@ return items +i18nfunctions = bundlecompressiontopics().values() + # convenient shortcut dst = debugstacktrace