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 17:29:05 +0200
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

Werner Koch <address@hidden> writes:

|> On Mon, 22 Apr 2002 16:36:17 +0200, Andreas Schwab said:
|> 
|> > Maybe you should just post the corrected string.  Otherwise one can only
|> > guess what you actually did.
|> 
|> ========
|> #: 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: \"%1$.*s\"\n"
|> "clave %3$s de %2$u bits, ID %4$08lX, creada el %5$s%6$s\n"
|> =======
|> 
|> cd /home/wk/work/gnupg-stable/po/
|> msgfmt --statistics -c -v -o /dev/null /home/wk/work/gnupg-stable/po/es.po
|> /home/wk/work/gnupg-stable/po/es.po:3413: number of format specifications in 
`msgid' and `msgstr' does not match
|> found 1 fatal error

$ msgfmt -c es.po 
es.po:17: 'msgstr' is not a valid C format string, unlike 'msgid'
msgfmt: found 1 fatal error

You didn't specify a position for "*" in "%1$.*s".

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]