flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/7] remove RuntimeLocale.as. It is now implemented in .properties files
Date Mon, 03 Mar 2014 05:30:58 GMT
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/14ac652d/installer/src/org/apache/flex/packageflexsdk/resource/ViewResourceConstants.as
----------------------------------------------------------------------
diff --git a/installer/src/org/apache/flex/packageflexsdk/resource/ViewResourceConstants.as
b/installer/src/org/apache/flex/packageflexsdk/resource/ViewResourceConstants.as
index f90ca47..1455c1f 100644
--- a/installer/src/org/apache/flex/packageflexsdk/resource/ViewResourceConstants.as
+++ b/installer/src/org/apache/flex/packageflexsdk/resource/ViewResourceConstants.as
@@ -44,7 +44,7 @@ public dynamic class ViewResourceConstants extends Proxy implements IEventDispat
 	
 	public static const BUNDLE_NAME:String = "resourceStrings";
 	
-	public static const DEFAULT_LANGUAGE:String = RuntimeLocale.EN_US;
+	public static const DEFAULT_LANGUAGE:String = "en_US";
 	
 	//--------------------------------------------------------------------------
 	//
@@ -65,28 +65,7 @@ public dynamic class ViewResourceConstants extends Proxy implements IEventDispat
 		
 		return _instance;
 	}
-	
-	//----------------------------------
-	//    supportedLanguages
-	//----------------------------------
-	
-	public static function get supportedLanguages():ArrayCollection
-	{
-		var result:ArrayCollection = new ArrayCollection();
-
-		result.addItem({label: "Deutsch ", data: RuntimeLocale.DE_DE});
-		result.addItem({label: "English (US)", data: RuntimeLocale.EN_US});
-		result.addItem({label: "English (AU)", data: RuntimeLocale.EN_AU});
-		result.addItem({label: "English (GB)", data: RuntimeLocale.EN_GB});
-		result.addItem({label: "Español (ES)", data: RuntimeLocale.ES_ES});
-		result.addItem({label: "Français", data: RuntimeLocale.FR_FR});
-		result.addItem({label: "Greek", data: RuntimeLocale.EL_GR});
-		result.addItem({label: "Nederlands", data: RuntimeLocale.NL_NL});
-		result.addItem({label: "Português", data: RuntimeLocale.PT_BR});
 		
-		return result;
-	}
-	
 	//--------------------------------------------------------------------------
 	//
 	//    Constructor


Mime
View raw message