[kdelibs/frameworks] kdecore/localization: Verify that the language is available when setting it

Kevin Ottens ervin at kde.org
Wed Jan 9 20:31:04 UTC 2013


On Saturday 5 January 2013 16:24:46 Chusslove Illich wrote:
> Well it does prevent us from calling it, because Ki18n should depend on
> KLocale in the future. That's the technical reason not to do this, but there
> is also a principal one.
> 
> The locale should provide user's language preference, to any client code
> that wants to take it into account. A UI translation engine is one such
> client, but not necessarily the only one. In other words, I consider the old
> behavior wrong.

Sure, but at that point we're trying to get a clean baseline with working 
tests, so until we got your final solution in place we have to keep some sort 
of compatibility with the previous behavior.

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130109/e21c69c9/attachment-0001.sig>


More information about the Kde-frameworks-devel mailing list