Fix language display i ReadOnlyBootPrompt :
* On a simple language like "fr", it will display "French" * On more complex things like "pt_BR", it will display "Portuguese (Brazil)" git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36288 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0223612e7e
commit
eec1db5a07
@ -136,7 +136,7 @@ BLanguage::GetName(BString* name)
|
||||
// TODO: This will return the language not in the current be_app_catalog,
|
||||
// but in the current system wide language! Don't know the exact reason.
|
||||
UnicodeString s;
|
||||
fICULocale->getDisplayLanguage(s);
|
||||
fICULocale->getDisplayName(s);
|
||||
BStringByteSink converter(name);
|
||||
s.toUTF8(converter);
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user