[Padre-dev] Translation problems with positional parameters in msgids
Burak Gürsoy
burakgursoy at gmx.net
Thu Feb 25 06:04:04 PST 2010
> -----Original Message-----
> From: padre-dev-bounces at perlide.org [mailto:padre-dev-bounces at perlide.org] On
> Behalf Of Adam Kennedy
> Sent: Thursday, February 25, 2010 2:31 AM
> To: Padre development discussion list
> Subject: Re: [Padre-dev] Translation problems with positional parameters in
> msgids
> >From the sprintf documentation...
>
> "An explicit format parameter index, such as 2$. By default sprintf
> will format the next unused argument in the list, but this allows you
> to take the arguments out of order, e.g.:"
>
> 1. printf '%2$d %1$d', 12, 34; # prints "34 12"
> 2. printf '%3$d %d %1$d', 1, 2, 3; # prints "3 1 1"
Nice :) I didn't know that
More information about the Padre-dev
mailing list