Vishesh HandaOn Friday, February 14, 2014 01:09:19 PM wrote: > On Thursday, February 13, 2014 11:28:40 AM Burkhard Lück wrote: > > That loads the translation catalog, which also contains messages from the > > plasmoid outside the library. > > > > Apparently that happens early enough at runtime (at least I see the > > catalog > > is loaded running milou in plasmoidviewer in locale x-test), so even > > messages used only in the plasmoid are translated. > > > > Your plasmoid tries to load a catalog named "plasma_applet_milou_applet" > > via plasmoid/applet.h:60:K_EXPORT_PLASMA_APPLET(milou_applet, Applet), > > but you extract to milou, so this catalog does not exist. > > But then the "milou" catalog would be loaded so the translations should be > there, right? > > If not, what would be the correct way of fixing this? One option which I can > think of is extracting the translations to "plasma_applet_milou_applet", > and updating the KCatalogLoader in the case the library is used without the > applet.
I've changed the catalog name to "plasma_applet_milou_applet". That should work. I'm going to request the move to extragear on Monday. -- Vishesh Handa