[Kde-games-devel] Untranslatable Strings in KSirk

Albert Astals Cid aacid at kde.org
Sun Sep 21 23:51:04 CEST 2008


A Diumenge 21 Setembre 2008, Kleag va escriure:
> On Dimanche 21 Septembre 2008 22:54:11 Albert Astals Cid wrote:
> > A Dissabte 20 Setembre 2008, Kleag va escriure:
> > > On Samedi 20 Septembre 2008 16:43:39 Albert Astals Cid wrote:
> > > > A Dissabte 20 Setembre 2008, Kleag va escriure:
> > > > > Hello Burkhard,
> > > > >
> > > > > All the i18n problems you reported and others are now solved,
> > > > > except for the standard game action "Load", I don't understand why.
> > > > > Changes are on trunk and 4.1 branch.
> > > >
> > > > What's the problem with "Load" ?
> > >
> > > I use it exactly like "Save" but "Save" is translated in menu and
> > > toolbar while "Load" is not.
> > >
> > > I had a look  to the kstandardgameactions.cpp file without noticing a
> > > difference. Also, there is no untranslated string in libkdegames.po
> >
> > But you are not loading the kdegames catalog. See any other kdegame on
> > how to do it. Search for insertCatalog
>
> I was thinking this kind of thing was done automagically. 

It's documented in the README ;-)

If you use libkdegames in your game please also add
KGlobal::locale()->insertCatalog("libkdegames");
to main()

> Wasn't it the case in KDE3 ?

Nope

>
> I't now corrected in trunk and backported in 4.1 branch.

Good :-)

Albert

>
> Thanks,
>
> Gaël
>
> > Albert




More information about the kde-games-devel mailing list