compile error in kdeartwork from 3.5 branch

Stephan Kulow coolo at
Tue Jan 24 08:30:23 GMT 2006

Am Dienstag, 24. Januar 2006 01:21 schrieb Frank Osterfeld:
> 2) adding .utf8():
>   new QLabel(i18n(mLabel.toUtf8()), this);
> Both fix compilation.
> 1) makes most sense to me. It seems the label values are read from XML, so
> I don't know how i18n() should work here at all. However, I leave that to
> the people knowing also the most esoteric uses of i18n, maybe I am missing
> something here.

Yeah, i18n is tricky and 2) is the correct fix :)

to have KLocale::translate work, all that is required is that the string to 
translate is in the POT file. How it ends there, is of no matter. kxsconfig 
works the same as e.g. kxmlgui files. So please commit your second option.

Greetings, Stephan

More information about the kde-core-devel mailing list