Re: Is it okay to not use %d in msgstr, even if %d in msgid?



El lun, 02-02-2004 a las 13:54, Pablo Saratxaga escribió:
> Kaixo!
> 
> On Fri, Jan 16, 2004 at 04:14:45PM +0100, Reinout van Schouwen wrote:
> > On Wed, 14 Jan 2004, Duarte Loreto wrote:
> > 
> > > msgstr_plural[0] "%0$d Um documento gravado."
> 
> > When I use this, msgfmt complains that it's not a valid C format string.
> 
> Shouldn't it be "%1$d" instead ?
> The "%#$x" syntax means it is a "%x" placeholder for the #-th variable,
> startingto count from 1; so #=0 shouldn't exist
> 
> (Also, in the above exemple, it is completly useless, as ther is only
> one variable; the use of that syntax is when you want to *change* the
> order in which they are printed)

He is trying to remove the "%d" from the string, that's why he tried the
#=0 but it's not possible.

Cheers.
 
-- 
Carlos Perelló Marín
Debian GNU/Linux Sid (PowerPC)
Linux Registered User #121232
mailto:carlos@pemas.net || mailto:carlos@gnome.org
http://carlos.pemas.net
Valencia - Spain

Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente



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