[haiku-commits] Re: r35210 - in haiku/trunk: headers/os/locale src/kits/locale src/preferences/locale

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 21 Jan 2010 04:28:09 +0100

On 2010-01-20 at 23:44:35 [+0100], pulkomandy@xxxxxxxxx wrote:
> Author: pulkomandy
> Date: 2010-01-20 23:44:34 +0100 (Wed, 20 Jan 2010)
> New Revision: 35210
> Changeset: http://dev.haiku-os.org/changeset/35210/haiku
> 
> Modified:
>    haiku/trunk/headers/os/locale/Language.h
>    haiku/trunk/headers/os/locale/LocaleRoster.h
>    haiku/trunk/src/kits/locale/Language.cpp
>    haiku/trunk/src/kits/locale/LocaleRoster.cpp
>    haiku/trunk/src/preferences/locale/LocaleWindow.cpp
> Log:
> - Locale kit : made the language class live. It now uses ICU as a backend 
> as expected
> - Some changes in the locale roster to allow instanciating a language
> - Locale preflet : use this new API instead of directly calling ICU
> Side effect : all languages in Locale window are now displayed in the 
> current locale. It makes more sense as otherwise the list would be 
> unsortable. However it can get annoying if you mistakenly set a strange 
> language as default.

Exactly. Which is why I think this isn't such a good idea. As a compromise 
both the localized and the natural name of the language could be shown.

CU, Ingo

Other related posts: