Author franz_glasner
Recipients franz_glasner, genepi, loewis
Date 2008-04-15.20:17:15
SpamBayes Score 0.00319356
Marked as misclassified No
Message-id <>
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/ 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/ does currently not handle context variants.
Date User Action Args
2008-04-15 20:17:21franz_glasnersetspambayes_score: 0.00319356 -> 0.00319356
recipients: + franz_glasner, loewis, genepi
2008-04-15 20:17:21franz_glasnersetspambayes_score: 0.00319356 -> 0.00319356
messageid: <>
2008-04-15 20:17:20franz_glasnerlinkissue2504 messages
2008-04-15 20:17:20franz_glasnercreate