OK, so this should be taken to the bug tracker.<br><br>On Saturday, April 9, 2016, Grady Martin <<a href="mailto:sunnycemetery@gmail.com">sunnycemetery@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I agree.  However, an incorrect choice for an argument with a choices parameter results in this string.<br>
<br>
On 2016年04月08日 18時12分, Guido van Rossum wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
That string looks like it is aimed at the developer, not the user of<br>
the program, so it makes sense not to translate it.<br>
<br>
On Fri, Apr 8, 2016 at 2:07 PM, Brett Cannon <<a>brett@python.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Fri, 8 Apr 2016 at 14:05 Grady Martin <<a>sunnycemetery@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hello, all.  I was wondering if the following string was left untouched by<br>
gettext for a purpose (from line 720 of argparse.py, in class<br>
ArgumentError):<br>
<br>
'argument %(argument_name)s: %(message)s'<br>
<br>
There may be other untranslatable strings in the argparse module, but I<br>
have yet to encounter them in the wild.<br>
</blockquote>
<br>
<br>
Probably so that anyone introspecting on the error message can count on<br>
somewhat of a consistent format (comes into play with doctest typically).<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a>Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe:<br>
<a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" target="_blank">https://mail.python.org/mailman/options/python-dev/guido%40python.org</a><br>
<br>
</blockquote>
<br>
<br>
<br>
--<br>
--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)<br>
</blockquote>
</blockquote><br><br>-- <br>--Guido (mobile)<br>