Merge branch 'bbb-check-localization' of github.com:pedrobmarin/bigbluebutton into bbb-check-localization

This commit is contained in:
Felipe Cecagno 2015-03-26 15:51:42 -03:00
commit 2bf8afc11f

View File

@ -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];
} }
} }