mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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:
parent
3880aa6258
commit
c8b11bcb1f
1
Makefile
1
Makefile
@ -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
|
||||
|
@ -3759,5 +3759,7 @@ def bundlecompressiontopics():
|
||||
|
||||
return items
|
||||
|
||||
i18nfunctions = bundlecompressiontopics().values()
|
||||
|
||||
# convenient shortcut
|
||||
dst = debugstacktrace
|
||||
|
Loading…
Reference in New Issue
Block a user