[haiku-commits] Re: r39263 - in haiku/trunk: data/artwork src/apps/readonlybootprompt src/kits/locale

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 02 Nov 2010 11:31:46 +0100

On 2010-11-01 at 22:39:48 [+0100], pulkomandy@xxxxxxxxxxxxxxxxx wrote:
> Author: pulkomandy
> Date: 2010-11-01 22:39:47 +0100 (Mon, 01 Nov 2010)
> New Revision: 39263
> Changeset: http://dev.haiku-os.org/changeset/39263
> 
> Added:
>    haiku/trunk/data/artwork/HAIKU Background Leaf - outline.png
> Modified:
>    haiku/trunk/src/apps/readonlybootprompt/BootPrompt.rdef
>    haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.cpp
>    haiku/trunk/src/apps/readonlybootprompt/BootPromptWindow.h
>    haiku/trunk/src/apps/readonlybootprompt/Jamfile
>    haiku/trunk/src/kits/locale/LocaleRoster.cpp
> Log:
>  * Make ReadOlyBootPrompt look a bit nicer : don't use a regular BTextView 
>  but a custom view with an "haiku background leaf outline" below the text. 
>  The color and size of the leaf may still be altered, feel free to play 
>  around with it.
>  * Also do some changes to ReadOnlyBootPrompt layouting to include some 
>  insets and similar stuff.
>   * Add country flags in the language selection menu
>  * Modify locale roster method for getting a flag so it is a bit more 
>  tolerant. It is case insensitive on the country code, and also works if 
>  given a full locale code such as pt_BR.
> 
> Known problems :
[...]
>  * The way I altered LocaleRoster is not as good as it could be. Locales 
>  with variants such as zh-hans are not going to work (the computed country 
>  code is now 'NS'). Not sure there is a better way

Is NS even a valid country code? What exactly is the problem? One would think 
it should always be possible to infer some reasonably fitting country from 
language, no?

CU, Ingo

Other related posts: