Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18AD910DD5 for ; Mon, 3 Mar 2014 05:31:02 +0000 (UTC) Received: (qmail 93886 invoked by uid 500); 3 Mar 2014 05:31:01 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 93704 invoked by uid 500); 3 Mar 2014 05:31:00 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 93321 invoked by uid 99); 3 Mar 2014 05:30:55 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 05:30:55 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 05453933135; Mon, 3 Mar 2014 05:30:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: aharui@apache.org To: commits@flex.apache.org Date: Mon, 03 Mar 2014 05:30:58 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [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