Merge branch 'bbb-check-localization' of github.com:pedrobmarin/bigbluebutton into bbb-check-localization
This commit is contained in:
commit
2bf8afc11f
@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
private static var robotlegsContext:IContext;
|
private static var robotlegsContext:IContext;
|
||||||
|
|
||||||
|
private static var DEFAULT_LOCALE:String = "en_US";
|
||||||
private var language:String;
|
private var language:String;
|
||||||
|
|
||||||
protected function preinitializeHandler(event:FlexEvent):void
|
protected function preinitializeHandler(event:FlexEvent):void
|
||||||
@ -47,7 +48,7 @@
|
|||||||
language = ExternalInterface.call("getLanguage");
|
language = ExternalInterface.call("getLanguage");
|
||||||
if (resourceManager.getLocales().indexOf(language) != -1)
|
if (resourceManager.getLocales().indexOf(language) != -1)
|
||||||
{
|
{
|
||||||
resourceManager.localeChain = [language];
|
resourceManager.localeChain = [language, DEFAULT_LOCALE];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user