From kde-core-devel Tue Nov 30 19:55:07 2010 From: Albert Astals Cid Date: Tue, 30 Nov 2010 19:55:07 +0000 To: kde-core-devel Subject: Re: Helping libraries load their own translation catalogs Message-Id: <201011301955.07776.aacid () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=129114695920013 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