bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext, msgfmt -c printf reordering


From: Andreas Schwab
Subject: Re: gettext, msgfmt -c printf reordering
Date: Mon, 22 Apr 2002 13:14:48 +0200
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

address@hidden (Werner Koch) writes:

|> Hi!
|> 
|> Using msgfmt (GNU gettext) 0.10.40 on 
|> 
|> ============
|> #: g10/passphrase.c:521
|> #, c-format
|> msgid ""
|> "You need a passphrase to unlock the secret key for user:\n"
|> "\"%.*s\"\n"
|> "%u-bit %s key, ID %08lX, created %s%s\n"
|> msgstr ""
|> "Necesita una contraseña para desbloquear la clave secreta\n"
|> "del usuario: \"%.*s\"\n"
|> "clave %3$s de %2$u bits, ID %08lX, creada el %s%s\n"
|> 
|> =============
|> 
|> $ msgfmt -c es.po
|> es.po:3413: number of format specifications in `msgid' and `msgstr' does not 
match
|> found 1 fatal error
|> 
|> 
|> I can't see any actual error in msgstr and even after adding the $ flags
|> to the other arguments the error persists.

You cannot mix positional with non-positional formats in the same format
string.  Are you sure you fixed the translation correctly?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]