[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    AW: KConfig not reading translated entries
From:       "Nhuh Put" <nhuh.put () web ! de>
Date:       2007-09-27 0:28:38
Message-ID: 007a01c8009d$595fb890$3301a8c0 () spika
[Download RAW message or body]

> Von: Mauricio Piacentini
> Gesendet: Donnerstag, 27. September 2007 02:15
> An: kde-core-devel@kde.org
> Betreff: Re: KConfig not reading translated entries
> 
>  >>today in kdegames we realized that KConfig seems not to readlocalized
>  >>entries from .desktop files.
>  >You are right, when using KConfig::setLocale(), the given locale is
>  >never passed through to the KConfigBackend.
> 
> Just to complement, while the example that Albert posted uses
> setLocale() explicitally, the bug can also be reproduced without it. In
> other words, unstranslated strings would be returned as well when
> KDE_LANG is set for example. Not sure if the patch attached covers this
> case as well.

KLocale uses KConfig::setLocale internally, so this patch would also fix
this.

> 
> Regards,
> Mauricio Piacentini
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic