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/06/19 01:30:49 UTC

[1/2] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34377 Chinese translations from Darkstone

Repository: flex-sdk
Updated Branches:
  refs/heads/develop d81034144 -> 780d16a95


FLEX-34377 Chinese translations from Darkstone


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/22364311
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/22364311
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/22364311

Branch: refs/heads/develop
Commit: 22364311b28a17238996d5425011ff1c9d548e2b
Parents: d810341
Author: Alex Harui <ah...@apache.org>
Authored: Wed Jun 18 10:54:50 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Jun 18 10:54:50 2014 -0700

----------------------------------------------------------------------
 installer.properties/zh_CN.properties | 125 +++++++++++++++++++++++++++++
 installer.properties/zh_TW.properties | 125 +++++++++++++++++++++++++++++
 2 files changed, 250 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/22364311/installer.properties/zh_CN.properties
----------------------------------------------------------------------
diff --git a/installer.properties/zh_CN.properties b/installer.properties/zh_CN.properties
new file mode 100755
index 0000000..3023a00
--- /dev/null
+++ b/installer.properties/zh_CN.properties
@@ -0,0 +1,125 @@
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+
+yes.no.prompts=y,n
+yes=y
+no=n
+
+flash.prompt.text=\
+Apache Flex SDK 使用 Adobe Flash Player 的 playerglobal.swc 文件来构建 Adobe Flash 应用程序.\n\
+\n\
+playerglobal.swc 文件受到 Adobe Flex SDK 许可协议的管理, \n\
+此许可协议的地址:\n\
+http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf,\n\
+一旦您下载, 修改, 分发, 使用 和/或 访问 playerglobal.swc 文件, \n\
+您便同意可适用最终用户许可协议的条款和条件.\n\
+\n\
+除了 Adobe 的许可条款外, 您也同意此处第三方条款的约束:\n\
+http://www.adobe.com/products/eula/third_party/.\n\
+Adobe 建议您查看这些第三方的条款.\n\
+\n\
+此许可与 Apache v2 许可并不兼容.\n\
+您想要下载并安装 playerglobal.swc 文件吗?
+
+air.prompt.text=\
+Apache Flex SDK 使用 Adobe AIR SDK 来构建 Adobe AIR 应用程序.\n\
+Adobe AIR SDK 受到 Adobe AIR SDK 许可协议的管理, \n\
+此许可协议的地址:\n\
+http://www.adobe.com/products/air/sdk-eula.html.\n\
+此许可与 Apache v2 许可并不兼容.\n\
+您想要下载并安装 Adobe AIR SDK 吗?
+
+osmf.prompt.text=\
+Flex 的一些视频组件需要用到开源媒体框架 Open Source Media Framework (OSMF), \n\
+OSMF 由 Mozilla 公共许可协议 1.1 版提供授权.\n\
+Mozilla 公共许可协议 1.1 版:\n\
+\n\
+这些文件的内容受 Mozilla 公共许可协议 1.1 版的保护.\n\
+您必须遵守此许可才能使用这些文件.\n\
+您可以在这里获取该许可协议的副本:\n\
+http://www.mozilla.org/MPL/. \n\
+一旦您下载, 修改, 分发, 使用 和/或 访问了这些文件, \n\
+您便同意可适用最终用户许可协议的条款和条件.\n\
+\n\
+我已经阅读了以上关于 Mozilla 公共许可协议 1.1 版的信息?
+
+swfobject.prompt.text=\
+Apache Flex SDK 使用 SWFObject 来构建 Adobe Flash 应用程序.\n\
+SWFObject 受到 MIT 许可协议的管理, \n\
+此许可协议的地址:\n\
+http://opensource.org/licenses/mit-license.php.\n\
+此许可与 Apache v2 许可并不兼容.\n\
+您想要下载并安装 SWFObject 吗?
+
+blazeds.prompt.text=\
+Apache Flex 可以选择性地与 Adobe BlazeDS 进行整合.\n\
+此功能须要 Adobe Flex SDK 里的 flex-messaging-common.jar 文件.\n\
+Adobe Flex 4.6 的 Adobe SDK 许可协议适用于这个 jar 文件.\n\
+此许可与 Apache v2 许可并不兼容.\n\
+\n\
+Adobe Flex SDK 许可协议:\n\
+\n\
+所下载的 Adobe Flex SDK 里包含的所有文件都受到 Adobe Flex SDK 许可协议的管理, \n\
+此许可协议的地址:\n\
+    http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf, \n\
+一旦您下载, 修改, 分发, 使用 和/或 访问了 Adobe Flex SDK 里的任何文件, \n\
+您便同意可适用最终用户许可协议的条款和条件.\n\
+\n\
+除了 Adobe 的许可条款外, 您也同意此处第三方条款的约束:\n\
+    http://www.adobe.com/products/eula/third_party/. \n\
+Adobe 建议您查看这些第三方的条款.\n\
+\n\
+您想要安装来自 Adobe Flex SDK 里的这个 jar 文件吗?
+
+fontswf.prompt.text=\
+Apache Flex 可以选择性地与 Adobe 镶入字体支持 进行整合.\n\
+此功能须要 Adobe Flex SDK 里的一些与字体相关的 jar 文件.\n\
+Adobe Flex 4.6 的 Adobe SDK 许可协议适用于这些 jar 文件.\n\
+此许可与 Apache v2 许可并不兼容.\n\
+\n\
+Adobe Flex SDK 许可协议:\n\
+\n\
+所下载的 Adobe Flex SDK 里包含的所有文件都受到 Adobe Flex SDK 许可协议的管理, \n\
+此许可协议的地址:\n\
+    http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf, \n\
+一旦您下载, 修改, 分发, 使用 和/或 访问了 Adobe Flex SDK 里的任何文件, \n\
+您便同意可适用最终用户许可协议的条款和条件.\n\
+\n\
+除了 Adobe 的许可条款外, 您也同意此处第三方条款的约束:\n\
+    http://www.adobe.com/products/eula/third_party/. \n\
+Adobe 建议您查看这些第三方的条款.\n\
+\n\
+您想要安装来自 Adobe Flex SDK 里的这些 jar 文件吗?
+
+unable.to.find.java=无法找到可执行的 Java, 请设置 JAVA_HOME 环境变量
+
+install.complete.echo=${basedir} 现在是一个与 IDE 兼容的目录
+find.java.echo.pattern=可执行的 Java 是 $${java.executable}
+mac.copy.echo.pattern=从 $${download.dir}/airsdk/$${srcdir} 拷贝文件到 $${destdir}
+
+INFO_DOWNLOADING_AIR_RUNTIME_KIT_MAC=正在从这个地址下载 Mac 版 Adobe AIR 运行时工具包: 
+INFO_DOWNLOADING_AIR_RUNTIME_KIT_WINDOWS=正在从这个地址下载 Windows 版 Adobe AIR 运行时工具包: 
+INFO_FINISHED_UNTARING=已完成 tar 文件的解压: 
+INFO_FINISHED_UNZIPPING=已完成解压: 
+INFO_INSTALLING_PLAYERGLOBAL_SWC=正在从这个地址安装 Adobe Flash Player 的 playerglobal.swc 文件: 
+INFO_INSTALLING_CONFIG_FILES=正在安装框架配置文件, 以便为某个 IDE 所使用
+INFO_DOWNLOADING_FILE_FROM=正在下载 {0} 从这个地址: {1}
+INFO_DOWNLOADED=下载完成
+INFO_VALIDATING_FILE=正在验证已下载的文件: 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/22364311/installer.properties/zh_TW.properties
----------------------------------------------------------------------
diff --git a/installer.properties/zh_TW.properties b/installer.properties/zh_TW.properties
new file mode 100755
index 0000000..6788d4e
--- /dev/null
+++ b/installer.properties/zh_TW.properties
@@ -0,0 +1,125 @@
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+
+yes.no.prompts=y,n
+yes=y
+no=n
+
+flash.prompt.text=\
+Apache Flex SDK 使用 Adobe Flash Player 的 playerglobal.swc 檔案來構建 Adobe Flash 應用程式.\n\
+\n\
+playerglobal.swc 檔案受到 Adobe Flex SDK 授權合約的管理, \n\
+此授權合約的位址:\n\
+http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf,\n\
+一旦您下載, 修改, 分發, 使用 和/或 訪問 playerglobal.swc 檔案, \n\
+您便同意可適用使用者授權合約的條款和條件.\n\
+\n\
+除了 Adobe 的許可條款外, 您也同意此處協力廠商條款的約束:\n\
+http://www.adobe.com/products/eula/third_party/.\n\
+Adobe 建議您查看這些協力廠商的條款.\n\
+\n\
+此許可與 Apache v2 許可並不相容.\n\
+您想要下載並安裝 playerglobal.swc 檔案嗎?
+
+air.prompt.text=\
+Apache Flex SDK 使用 Adobe AIR SDK 來構建 Adobe AIR 應用程式.\n\
+Adobe AIR SDK 受到 Adobe AIR SDK 授權合約的管理, \n\
+此授權合約的位址:\n\
+http://www.adobe.com/products/air/sdk-eula.html.\n\
+此許可與 Apache v2 許可並不相容.\n\
+您想要下載並安裝 Adobe AIR SDK 嗎?
+
+osmf.prompt.text=\
+Flex 的一些視頻元件需要用到開源媒體框架 Open Source Media Framework (OSMF), \n\
+OSMF 由 Mozilla 公共授權合約 1.1 版提供授權.\n\
+Mozilla 公共授權合約 1.1 版:\n\
+\n\
+這些檔案的內容受 Mozilla 公共授權合約 1.1 版的保護.\n\
+您必須遵守此許可才能使用這些檔案.\n\
+您可以在這裡獲取該授權合約的副本:\n\
+http://www.mozilla.org/MPL/. \n\
+一旦您下載, 修改, 分發, 使用 和/或 訪問了這些檔案, \n\
+您便同意可適用使用者授權合約的條款和條件.\n\
+\n\
+我已經閱讀了以上關於 Mozilla 公共授權合約 1.1 版的資訊?
+
+swfobject.prompt.text=\
+Apache Flex SDK 使用 SWFObject 來構建 Adobe Flash 應用程式.\n\
+SWFObject 受到 MIT 授權合約的管理, \n\
+此授權合約的位址:\n\
+http://opensource.org/licenses/mit-license.php.\n\
+此許可與 Apache v2 許可並不相容.\n\
+您想要下載並安裝 SWFObject 嗎?
+
+blazeds.prompt.text=\
+Apache Flex 可以選擇性地與 Adobe BlazeDS 進行整合.\n\
+此功能須要 Adobe Flex SDK 裡的 flex-messaging-common.jar 檔案.\n\
+Adobe Flex 4.6 的 Adobe SDK 授權合約適用於這個 jar 檔案.\n\
+此許可與 Apache v2 許可並不相容.\n\
+\n\
+Adobe Flex SDK 授權合約:\n\
+\n\
+所下載的 Adobe Flex SDK 裡包含的所有檔案都受到 Adobe Flex SDK 授權合約的管理, \n\
+此授權合約的位址:\n\
+    http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf, \n\
+一旦您下載, 修改, 分發, 使用 和/或 訪問了 Adobe Flex SDK 裡的任何檔案, \n\
+您便同意可適用使用者授權合約的條款和條件.\n\
+\n\
+除了 Adobe 的許可條款外, 您也同意此處協力廠商條款的約束:\n\
+    http://www.adobe.com/products/eula/third_party/. \n\
+Adobe 建議您查看這些協力廠商的條款.\n\
+\n\
+您想要安裝來自 Adobe Flex SDK 裡的這個 jar 檔案嗎?
+
+fontswf.prompt.text=\
+Apache Flex 可以選擇性地與 Adobe 鑲入字體支援 進行整合.\n\
+此功能須要 Adobe Flex SDK 裡的一些與字體相關的 jar 檔案.\n\
+Adobe Flex 4.6 的 Adobe SDK 授權合約適用於這些 jar 檔案.\n\
+此許可與 Apache v2 許可並不相容.\n\
+\n\
+Adobe Flex SDK 授權合約:\n\
+\n\
+所下載的 Adobe Flex SDK 裡包含的所有檔案都受到 Adobe Flex SDK 授權合約的管理, \n\
+此授權合約的位址:\n\
+    http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf, \n\
+一旦您下載, 修改, 分發, 使用 和/或 訪問了 Adobe Flex SDK 裡的任何檔案, \n\
+您便同意可適用使用者授權合約的條款和條件.\n\
+\n\
+除了 Adobe 的許可條款外, 您也同意此處協力廠商條款的約束:\n\
+    http://www.adobe.com/products/eula/third_party/. \n\
+Adobe 建議您查看這些協力廠商的條款.\n\
+\n\
+您想要安裝來自 Adobe Flex SDK 裡的這些 jar 檔案嗎?
+
+unable.to.find.java=無法找到可執行的 Java, 請設置 JAVA_HOME 環境變數
+
+install.complete.echo=${basedir} 現在是一個與 IDE 相容的目錄
+find.java.echo.pattern=可執行的 Java 是 $${java.executable}
+mac.copy.echo.pattern=從 $${download.dir}/airsdk/$${srcdir} 拷貝檔案到 $${destdir}
+
+INFO_DOWNLOADING_AIR_RUNTIME_KIT_MAC=正在從這個位址下載 Mac 版 Adobe AIR 運行時工具包: 
+INFO_DOWNLOADING_AIR_RUNTIME_KIT_WINDOWS=正在從這個位址下載 Windows 版 Adobe AIR 運行時工具包: 
+INFO_FINISHED_UNTARING=已完成 tar 檔案的解壓: 
+INFO_FINISHED_UNZIPPING=已完成解壓: 
+INFO_INSTALLING_PLAYERGLOBAL_SWC=正在從這個位址安裝 Adobe Flash Player 的 playerglobal.swc 檔案: 
+INFO_INSTALLING_CONFIG_FILES=正在安裝框架設定檔案, 以便為某個 IDE 所使用
+INFO_DOWNLOADING_FILE_FROM=正在下載 {0} 從這個位址: {1}
+INFO_DOWNLOADED=下載完成
+INFO_VALIDATING_FILE=正在驗證已下載的檔案: 
\ No newline at end of file


[2/2] git commit: [flex-sdk] [refs/heads/develop] - FLEX-33986 Validator.source is now bindable

Posted by ah...@apache.org.
FLEX-33986 Validator.source is now bindable


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/780d16a9
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/780d16a9
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/780d16a9

Branch: refs/heads/develop
Commit: 780d16a95df3bc3c37860eb18f7c9714569c4748
Parents: 2236431
Author: Alex Harui <ah...@apache.org>
Authored: Wed Jun 18 16:30:35 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Jun 18 16:30:35 2014 -0700

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/validators/Validator.as | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/780d16a9/frameworks/projects/framework/src/mx/validators/Validator.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/validators/Validator.as b/frameworks/projects/framework/src/mx/validators/Validator.as
index 122b415..b311765 100644
--- a/frameworks/projects/framework/src/mx/validators/Validator.as
+++ b/frameworks/projects/framework/src/mx/validators/Validator.as
@@ -539,7 +539,7 @@ public class Validator extends EventDispatcher implements IMXMLObject,IValidator
     private var _source:Object;
     
     [Inspectable(category="General")]
-
+	[Bindable("sourceChanged")]
     /**
      *  Specifies the object containing the property to validate. 
      *  Set this to an instance of a component or a data model. 
@@ -587,7 +587,8 @@ public class Validator extends EventDispatcher implements IMXMLObject,IValidator
                 
         // Listen for the trigger event on the new source.
         addTriggerHandler();    
-        addListenerHandler();   
+        addListenerHandler();
+		dispatchEvent(new Event("sourceChanged"));
     }
 
     //----------------------------------