New submission from Éric Araujo <mer...@netwok.org>:

When you run xgettext other argparse.py, you get this warning:
“'msgid' format string with unnamed arguments cannot be properly localized: The 
translator cannot reorder the arguments.  Please consider using a format string 
with named arguments, and a mapping instead of a tuple for the arguments.”

I don’t know if people already rely on strings from argparse, but for safety I 
think we should change them only in 3.2, if Steven agrees.

(I have to check other stdlib modules.)

----------
components: Library (Lib)
messages: 122357
nosy: belopolsky, bethard, eric.araujo
priority: normal
severity: normal
status: open
title: argparse uses %s in gettext calls
type: behavior
versions: Python 3.2

_______________________________________
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