[issue1288056] pygettext: provide comments to help translators

Éric Araujo report at bugs.python.org
Tue Jun 29 14:55:13 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

It appears that I had mistaken comments in the source and comments in the pot/po files:

     /* TRANSLATORS: The placeholder indicates etc. */
     printf (_("Something.\n"));

These will be extracted by ‘xgettext’, leading to a .pot file that contains this:

     #. TRANSLATORS: The placeholder indicates etc.
     #: src/hello.c:178
     #, c-format
     msgid "Report bugs to <%s>.\n"
     msgstr ""


(From <http://www.gnu.org/software/gettext/manual/gettext.html>)

----------
stage:  -> needs patch
title: pygettext - provide comments to help translators -> pygettext: provide comments to help translators
versions: +Python 3.2 -Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1288056>
_______________________________________


More information about the Python-bugs-list mailing list