Mercurial > hg
diff Makefile @ 8542:de150a942ec8
i18n: accurately generate hg.pot
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 21 May 2009 23:43:13 +0200 |
parents | 94e91205d9b6 |
children | 34754aa62cd8 |
line wrap: on
line diff
--- a/Makefile Thu May 21 22:53:26 2009 +0200 +++ b/Makefile Thu May 21 23:43:13 2009 +0200 @@ -81,8 +81,8 @@ i18n/hg.pot: $(PYTHON_FILES) mkdir -p i18n - pygettext -d hg -p i18n --docstrings \ - mercurial/commands.py hgext/*.py hgext/*/__init__.py + $(PYTHON) i18n/hggettext mercurial/commands.py \ + hgext/*.py hgext/*/__init__.py > i18n/hg.pot # All strings marked for translation in Mercurial contain # ASCII characters only. But some files contain string # literals like this '\037\213'. xgettext thinks it has to