comparison Makefile @ 12806:57b9fd75b6f8 stable

i18n: extract comments marked for translator hints Comments marked with "i18n:", like: # i18n: do not translate the field names msg = _("Valid entries for the format field are topic, bar, number.") will become available for translators in the .po files: #. i18n: do not translate the field names msgid "Valid entries for the format field are topic, bar, number." msgstr ""
author Wagner Bruna <wbruna@softwareexpress.com.br>
date Thu, 21 Oct 2010 11:45:02 -0200
parents deeef07c6e7d
children 61c73c9dce1d
comparison
equal deleted inserted replaced
12805:cae1c187abd4 12806:57b9fd75b6f8
96 # xgettext "parse" and ignore them. 96 # xgettext "parse" and ignore them.
97 echo $(PYTHON_FILES) | xargs \ 97 echo $(PYTHON_FILES) | xargs \
98 xgettext --package-name "Mercurial" \ 98 xgettext --package-name "Mercurial" \
99 --msgid-bugs-address "<mercurial-devel@selenic.com>" \ 99 --msgid-bugs-address "<mercurial-devel@selenic.com>" \
100 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \ 100 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
101 --from-code ISO-8859-1 --join --sort-by-file \ 101 --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \
102 -d hg -p i18n -o hg.pot 102 -d hg -p i18n -o hg.pot
103 $(PYTHON) i18n/posplit i18n/hg.pot 103 $(PYTHON) i18n/posplit i18n/hg.pot
104 104
105 %.po: i18n/hg.pot 105 %.po: i18n/hg.pot
106 msgmerge --no-location --update $@ $^ 106 msgmerge --no-location --update $@ $^