Re: Unsupported printf positional parameters on Windows [was: Re: Resolution: only print specific error message when present]
From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-12-08 16:44:55 CET
On Mon, 2003-12-08 at 09:41, Julian Foad wrote:
I'm not sure which aspect you need an explanation of, so I'll explain
Let's say our code had
printf(_("String '%s' has %d characters\n"), s, strlen(s));
An acceptable German translation might be (according to the gnu awk
"%d Zeichen lang ist die Zeichenkette '%s'\n"
... but the arguments are in the wrong order. (I don't know any German;
"%2$d Zeichen lang ist die Ziechenkette '%1$s'\n"
Apparently, Windows doesn't have this support. But I don't see why that
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.