Makefile
changeset 8273 a9c1172a025e
parent 8272 79983cfa7efe
child 8365 94e91205d9b6
equal deleted inserted replaced
8272:79983cfa7efe 8273:a9c1172a025e
    84 	pygettext -d hg -p i18n --docstrings \
    84 	pygettext -d hg -p i18n --docstrings \
    85 	  mercurial/commands.py hgext/*.py hgext/*/__init__.py
    85 	  mercurial/commands.py hgext/*.py hgext/*/__init__.py
    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 these them even though they are not marked for
    89         # parse them even though they are not marked for translation.
    90         # translation. Extracting with an explicit encoding of
    90         # Extracting with an explicit encoding of ISO-8859-1 will make
    91         # ISO-8859-1 will make xgettext "parse" and ignore them.
    91         # xgettext "parse" and ignore them.
    92 	echo $^ | xargs \
    92 	echo $^ | xargs \
    93 	  xgettext --package-name "Mercurial" \
    93 	  xgettext --package-name "Mercurial" \
    94 	  --msgid-bugs-address "<mercurial-devel@selenic.com>" \
    94 	  --msgid-bugs-address "<mercurial-devel@selenic.com>" \
    95 	  --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
    95 	  --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
    96 	  --from-code ISO-8859-1 --join --sort-by-file \
    96 	  --from-code ISO-8859-1 --join --sort-by-file \