# HG changeset patch # User Wagner Bruna # Date 1287668702 7200 # Node ID 57b9fd75b6f8e17ee2cf8c9f9fc7da7002176097 # Parent cae1c187abd49b6a3f7bdad7c35f79cf9101554c 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 "" diff -r cae1c187abd4 -r 57b9fd75b6f8 Makefile --- a/Makefile Thu Oct 21 09:58:22 2010 -0700 +++ b/Makefile Thu Oct 21 11:45:02 2010 -0200 @@ -98,7 +98,7 @@ xgettext --package-name "Mercurial" \ --msgid-bugs-address "" \ --copyright-holder "Matt Mackall and others" \ - --from-code ISO-8859-1 --join --sort-by-file \ + --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \ -d hg -p i18n -o hg.pot $(PYTHON) i18n/posplit i18n/hg.pot