untranslated entries in ksycoca (Re: Tagging Freeze for KDE 4.0.0)

Thomas Braxton kde.braxton at gmail.com
Mon Jan 21 06:29:56 GMT 2008


On Sunday 20 January 2008, David Faure wrote:
> On Sunday 20 January 2008, Thomas Braxton wrote:
> > On Tuesday 15 January 2008, David Faure wrote:
> > > On Sunday 06 January 2008, kde.braxton at gmail.com wrote:
> > > KService::init() I guess (see the end of the method, where we iterate
> > > over entryMap and feed m_mapProps).
> > > init() is where desktop files are read, and they are serialized into
> > > ksycoca in the save() method.
> >
> > Here's a patch that should work. To get the translated category use
> > property("X-KDE-PluginInfo-Category-Translated"). You'll have to rebuild
> > ksycoca4 to get translated categories. OK to commit?
>
> KService patch looks OK, although it would be a bit faster to use an
> iterator into entryMap to avoid doing three lookups (contains, [], remove).

I don't know what I was thinking;) changed and committed r764144.






More information about the kde-core-devel mailing list