You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/03/03 06:30:58 UTC
[5/7] remove RuntimeLocale.as. It is now implemented in .properties
files
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