Steven Bethard <steven.beth...@gmail.com> added the comment:

If I understand it right, before this patch, people couldn't really supply 
internationalizations for these calls - they would have had to have a 
translation for each possible value of, e.g. action.choices or 
parser.prefix_chars. So I think there's pretty minimal danger of breaking that 
code.

Specific comments on names in the patch:

* rename %(character) to %(prefix_chars)
* rename %(name) to %(type) and %(arg_string) to %(value)
* rename %(program_name) to %(prog)

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.

And yes, with the above changes, +1.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10528>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to