Mercurial > hg
changeset 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 | cae1c187abd4 |
children | 6bbf0139a36d |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 "<mercurial-devel@selenic.com>" \ --copyright-holder "Matt Mackall <mpm@selenic.com> 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