Helping libraries load their own translation catalogs
Albert Astals Cid
aacid at kde.org
Sun Nov 28 19:39:41 GMT 2010
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?
Albert
>
>
> Cheerio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcatalogloader.patch
Type: text/x-patch
Size: 2182 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20101128/3e956010/attachment.bin>
More information about the kde-core-devel
mailing list