This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | franz_glasner |
|---|---|
| Recipients | franz_glasner, genepi, loewis |
| Date | 2008年04月15日.20:17:15 |
| SpamBayes Score | 0.0031935591 |
| Marked as misclassified | No |
| Message-id | <1208290641.28.0.729393596794.issue2504@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I have written a patch against the current Python trunk's gettext to add support for pgettext and friends (upgettext, npgettext, unpgettext, ...). I have also changed Tools/i18n/msgfmt.py to recognize the "msgctxt" keyword. Some new unittests for dgettext and lgettext and variants are also included. If the patch will be accepted then someone should drop a message to the maintainers of GNU gettext to add the new functions as default keywords for xgettext. Right now you have to call xgettext with "--keyword=pgettext:1c,2" to extract messages with context. Tools/i18n/pygettext.py does currently not handle context variants. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月15日 20:17:21 | franz_glasner | set | spambayes_score: 0.00319356 -> 0.0031935591 recipients: + franz_glasner, loewis, genepi |
| 2008年04月15日 20:17:21 | franz_glasner | set | spambayes_score: 0.00319356 -> 0.00319356 messageid: <1208290641.28.0.729393596794.issue2504@psf.upfronthosting.co.za> |
| 2008年04月15日 20:17:20 | franz_glasner | link | issue2504 messages |
| 2008年04月15日 20:17:20 | franz_glasner | create | |