Re: Pan: how translate %*.*s



Today at 15:36, dooteo <dooteo euskalgnu org> wrote:

> I found into tr.po file a translation using "%2$s".  What means exactly
> '%*.*s' format? Is '%2$s' right?

I'm not sure about '%*.*s' ("%*s" should mean to read the width of
string from next argument to *printf call, but I don't know about
"*.*").  %2$s means to take just second argument, and all the other
arguments must be included in a translation if it was used
(i.e. "%1$s" must be used as well).

Check "man sprintf" for details.

Cheers,
Danilo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]