Problems with configuration of Plasmoid (Python)

Alexander Fischer alexanderfischer at o2online.de
Sun Jul 5 11:04:02 CEST 2009


Am 05.07.2009, 00:36 Uhr, schrieb Aaron J. Seigo <aseigo at kde.org>:

> On Friday 03 July 2009, Alexander Fischer wrote:
>> Am 03.07.2009, 18:52 Uhr, schrieb Aaron J. Seigo <aseigo at kde.org>:
>> > On Friday 03 July 2009, Alexander Fischer wrote:
>> >>    content/conf/main.xml
>> >
>> > that should be config/ not conf/
>>
>> Ah, thanks a lot! This fixed the error messages, except of
>>
>> plasmoidviewer(4833)/libplasma Plasma::AppletPrivate::mainConfigGroup:
>> requesting config for "FontSizer" without a containment!
>
> this was a bug in libplasma that has since been fixed.
>
>> I hope, I'm not annoying,
>
> not at all.
>
>> but I have another question referring the
>> Localization.
>> I extracted all strings with extractrc and xgettext, created a po from  
>> pot
>> file, create a mo file on plasmoid start (if required), which is copied  
>> to
>> the users LC_MESSAGES folder.
>>
>> I use
>> KGlobal.locale().insertCatalog(self.package().metadata().pluginName())
>> to include the translated strings.
>
> in 4.3 you don't need to. just put the translations directory structure  
> in
> under contents/translations/ and plasma handles the rest for you.
>

Excellent!


With best regards
Alexander Fischer


More information about the Plasma-devel mailing list