equal
deleted
inserted
replaced
79 |
79 |
80 update-pot: i18n/hg.pot |
80 update-pot: i18n/hg.pot |
81 |
81 |
82 i18n/hg.pot: $(PYTHON_FILES) |
82 i18n/hg.pot: $(PYTHON_FILES) |
83 mkdir -p i18n |
83 mkdir -p i18n |
84 pygettext -d hg -p i18n --docstrings \ |
84 $(PYTHON) i18n/hggettext mercurial/commands.py \ |
85 mercurial/commands.py hgext/*.py hgext/*/__init__.py |
85 hgext/*.py hgext/*/__init__.py > i18n/hg.pot |
86 # All strings marked for translation in Mercurial contain |
86 # All strings marked for translation in Mercurial contain |
87 # ASCII characters only. But some files contain string |
87 # ASCII characters only. But some files contain string |
88 # literals like this '\037\213'. xgettext thinks it has to |
88 # literals like this '\037\213'. xgettext thinks it has to |
89 # parse them even though they are not marked for translation. |
89 # parse them even though they are not marked for translation. |
90 # Extracting with an explicit encoding of ISO-8859-1 will make |
90 # Extracting with an explicit encoding of ISO-8859-1 will make |