Makefile
changeset 8542 de150a942ec8
parent 8365 94e91205d9b6
child 8625 34754aa62cd8
equal deleted inserted replaced
8541:06ace50443f6 8542:de150a942ec8
    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