[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Plural form
From:       Malcolm Hunter <malcolm.hunter () gmx ! co ! uk>
Date:       2002-08-23 16:48:16
[Download RAW message or body]

> Malcolm Hunter wrote:
> 
> > In KMail, the following plural form shows as an error in KBabel:
> > 
> > #: kmheaders.cpp:1730
> > #, c-format
> > msgid ""
> > "_n: Do you really want to delete the selected message?\n"
> > "The message can not be restored!\n"
> > "Do you really want to delete the %n selected messages?\n"
> > "The messages can not be restored!"
> > 
> > Is this a genuine error?
> 
> Yes.
> 
> > ie. Does the '\n' in the string terminate the
> > plural parsing,
> 
> Yes.
> 
> > or is KBabel reporting incorrectly?
> 
> No.

I have "fixed" other instances of this by splitting the strings, ie.:

i18n("1 item\nAnother line", "%n items\nAnother line", items) into:
i18n("1 item\n, "%n items\n", items) + i18n("Another line")

But as the second sentence in the KMail string has a plural form in the 2nd
sentence, it won't work.

To use:
i18n("Do you really want to delete the selected message?\n", "Do you really
want to delete the %n selected messages?\n", selected) +
i18n("The message can not be restored!", "The %n messages can not be
restored!", selected)

sounds silly in English.

Is there another way to do this?

Regards,
Malcolm

-- 
KDE Proof Reading Team
KDE GB English Translation Team


GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic