Author eric.araujo
Recipients belopolsky, bethard, eric.araujo, eric.smith, georg.brandl
Date 2010-12-03.12:43:34
SpamBayes Score 2.07093e-05
Marked as misclassified No
Message-id <1291380216.34.0.648981943596.issue10528@psf.upfronthosting.co.za>
In-reply-to
Content
This bug is a warning, not a fatal error: “The translator cannot reorder the arguments.”  Depending on the language, it may be a real pain.

“Basically, we should use the name of an Action or ArgumentParser attribute whenever it makes sense. Hopefully that will make it more intuitive what these mean when people are translating them.”  Exactly.  That’s why I suggested %(program_name) instead of %(prog); keep in mind translators are not necessarily programmers, so the familiar argparse terms may not make sense to them.

If Georg is okay with the lack of tests (apart manual testing showing that xgettext does not print warnings anymore), I will apply your changes and commit this tonight, which should be in time for beta1.
History
Date User Action Args
2010-12-03 12:43:36eric.araujosetrecipients: + eric.araujo, georg.brandl, belopolsky, bethard, eric.smith
2010-12-03 12:43:36eric.araujosetmessageid: <1291380216.34.0.648981943596.issue10528@psf.upfronthosting.co.za>
2010-12-03 12:43:34eric.araujolinkissue10528 messages
2010-12-03 12:43:34eric.araujocreate