# HG changeset patch # User Wagner Bruna # Date 2010-10-21 13:45:02 # 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 --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ i18n/hg.pot: $(PYTHON_FILES) mercurial/h 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