[issue1288056] pygettext: provide comments to help translators
Éric Araujo mer...@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 rep...@bugs.python.org http://bugs.python.org/issue1288056 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1288056] pygettext - provide comments to help translators
Éric Araujo mer...@netwok.org added the comment: Translator comments seem to me nicer than contexts (http://bugs.python.org/issue2504), but I’m not sure which one is recommended when they overlap. I’m -1 on the same line restriction. Python style is to put comments on the previous line. The 2.x line does not accept new features, so your patch needs to be ported to 3.x (branch name py3k). FWIW, Babel uses a different style of comments, on the preceding line: http://babel.edgewall.org/wiki/Documentation/messages.html#translator-comments -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1288056 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1288056] pygettext - provide comments to help translators
Changes by Christian Heimes: -- priority: normal - low type: - rfe versions: +Python 2.6 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1288056 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com