Krita status & todo (21/11/06)

Casper Boemann cbr at boemann.dk
Wed Nov 22 07:34:55 CET 2006


On Wednesday 22 November 2006 00:07, Boudewijn Rempt wrote:
> On Tuesday 21 November 2006 23:07, Sven Langkamp wrote:
> > On 11/21/06, Boudewijn Rempt <boud at valdyas.org> wrote:
> > > * The nameserver does something wrong i18n-wise, so we get an ugly
> > > string appended to our generated layer names. (It's been this way since
> > > way before my refactoring though, ever since the new layerbox got
> > > merged)
> >
> > I found out what going wrong:
> > The nameserver is created by new KisNameServer(i18n("Layer %1"), 1);
> > In the string i18n finds %i and is missing the argument for it, so it
> > appends the warning.
> >
> > I propose to create the string outside of the nameserver and use the
> > nameserver only for the number.
>
> Sounds good! Feel free to commit :-)
well...

if you mean
KisnameServer("layer %1",1)
{
	return i18n(string).arg(num)
}
then ok

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

then no


-- 
best regards / venlig hilsen
Casper Boemann


More information about the kimageshop mailing list