Message76260
The following code in optparse:
if len(rargs) < nargs:
if nargs == 1:
self.error(_("%s option requires an argument") % opt)
else:
self.error(_("%s option requires %d arguments")
% (opt, nargs))
works for languages with plurals of n!=1 but will not work for many
others that have more sophisticated plurals.
I've created a patch that handles missing gettext and implements it
correctly if it is available. Be aware that I have not been able to test
the patch. |
|
Date |
User |
Action |
Args |
2008-11-22 21:44:28 | dwayne | set | recipients:
+ dwayne |
2008-11-22 21:44:28 | dwayne | set | messageid: <1227390268.91.0.0525140101381.issue4391@psf.upfronthosting.co.za> |
2008-11-22 21:44:27 | dwayne | link | issue4391 messages |
2008-11-22 21:44:27 | dwayne | create | |
|