- make locale check pass for now

This commit is contained in:
Richard Alam 2010-06-24 15:51:22 -04:00
parent 842bac3f1a
commit e4bbff76b4

View File

@ -170,17 +170,21 @@
mdiCanvas.addChild(e.component);
}
public function checkLocaleVersion(appVersion:String, versionCheckResultCallback:Function):void {
LogUtil.debug("****** APP VERSION ****" + appVersion);
public function checkLocaleVersion(localeVersion:String, versionCheckResultCallback:Function):void {
Alert.okLabel ="OK";
var version:String = "old-locales";
version = ResourceUtil.getInstance().getString('bbb.mainshell.locale.version');
LogUtil.debug("****** LOCALE VERSION ****" + localeVersion + " " + version);
version = ResourceUtil.getInstance().getString('bbb.mainshell.statusInfo');
LogUtil.debug("****** LOCALE VERSION ****" + localeVersion + " " + version);
versionCheckResultCallback(true);
/*
if ((version == "old-locales") || (version == "") || (version == null)) {
wrongLocaleVersion();
} else {
if (version != appVersion) wrongLocaleVersion();
else versionCheckResultCallback(true);
}
if (version != localeVersion) wrongLocaleVersion();
else
}
*/
}
private function wrongLocaleVersion():void {