This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.0.tr.po error


On Wed, Dec 19, 2001 at 02:48:18AM +0000, Nilg??n Belma Bug??ner wrote:
> Hello,
> 
> I am the Turkish translator for gcc.
> 
> Problem with 'msgfmt -c --statistics tr.po':
> 
> #: final.c:3492
> #, c-format
> msgid "operand number missing after %-letter"
> msgstr "% i??aretinden sonraki terim numaras?? eksik"
> 
> error:
> tr.po:10191: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same

This is a limitation of xgettext/msgfmt.  This string is not printed
with a printf-like function, but xgettext has no way of knowing that.
"%-l" is a peculiar-but-valid printf format specifier, so it tries to
ensure your translation still contains it.

Try deleting the line that reads

#, c-format

from the .po file.  If that doesn't work, we can try more forceful
methods.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]