right, and sounds like a good solution
----- Original Message -----
From: Sven Langkamp
To: Krayon (KImageShop)
Sent: Wednesday, November 22, 2006 4:21 PM
Subject: Re: Krita status & todo (21/11/06)

On 11/22/06, Casper Boemann <cbr@boemann.dk> wrote:
if you mean
KisnameServer("layer %1",1)
{
        return i18n(string).arg(num)
}
then ok
No, this is not translatable because "layer %1" would not be added to the dictionary.
 

but if you mean
KisNameServer(i18n("layer")),1)
{
return string + string(num)
}

then no
Right that would be wrong too.

I commited in revision 606838, the nameserver now provides only a unique number like i18n("foo %1", nameserver->number())
Maybe it's wrong to call it "nameserver" then.


_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop