[Kde-games-devel] Making carddeckinfo and friends i18n friendly

Mauricio Piacentini piacentini at kde.org
Wed Dec 24 18:56:29 CET 2008


Albert Astals Cid wrote:
> Due to http://bugs.kde.org/show_bug.cgi?id=178535 i'd say the kpat crasher 
> known as https://bugs.kde.org/show_bug.cgi?id=173932 is due to carddeckinfo 
> storing the current deck in translated way, which is not a good idea.
> 
> The following patch fixes the crash that happens when you try to load a theme 
> that does not exist (because you had played first in french and now are 
> playing in english) makes it return untranslated names so in the future we 
> don't have to care about people changing languages.
> 
> Ok to commit?

Well, storing the localized name is a bad idea, indeed. In the future we 
might think about using the same theme loading mechanism used in other 
games (.desktop files), which automatically provides us with a default 
fallback as well.

Regards,
Mauricio Piacentini


More information about the kde-games-devel mailing list