Helping libraries load their own translation catalogs

Albert Astals Cid aacid at kde.org
Tue Nov 30 19:55:07 GMT 2010


A Diumenge, 28 de novembre de 2010, Albert Astals Cid va escriure:
> A Diumenge, 28 de novembre de 2010, Ivan Cukic va escriure:
> > On Monday, 22. November 2010. 19.05.45 Albert Astals Cid wrote:
> > > A Dilluns, 22 de novembre de 2010, David Faure va escriure:
> > > > On Sunday 21 November 2010, Oswald Buddenhagen wrote:
> > > > > On Sun, Nov 21, 2010 at 12:46:53AM +0000, Albert Astals Cid wrote:
> > > > > > It achieves that by creating a static that instructs KGlobal to
> > > > > > load a given translation catalog on global locale creation.
> > 
> > Just to note that this fails for catalogs that have a dash in their name
> 
> Wops, that's too bad.
> 
> Unless someone with more knowledge than me is able to fix my macro i'm
> suggesting the attached patch.
> 
> It breaks current users of K_CATALOG_LOADER, but according lxr.kde.org
> there is none at the moment so it's not a big deal i guess :D
> 
> Comments?

I've commited my change.

Albert

> 
> Albert
> 
> > Cheerio




More information about the kde-core-devel mailing list