diff mercurial/util.py @ 33820:fa7e30efe05a

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 15 Aug 2017 21:09:33 +0900
parents ed04d7254a91
children 7d5bc0e5b88f
line wrap: on
line diff
--- 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