UNPKG

dragonbones-runtime

Version:

the tools to build dragonbones file for diffrent framework

74 lines (67 loc) 5.41 kB
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-present; Egret Technology. // All rights reserved. // Redistribution and use in source and binary forms; with or without // modification; are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice; this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright // notice; this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // * Neither the name of the Egret nor the // names of its contributors may be used to endorse or promote products // derived from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY EGRET AND CONTRIBUTORS "AS IS" AND ANY EXPRESS // OR IMPLIED WARRANTIES; INCLUDING; BUT NOT LIMITED TO; THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL EGRET AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT; INDIRECT; // INCIDENTAL; SPECIAL; EXEMPLARY; OR CONSEQUENTIAL DAMAGES (INCLUDING; BUT NOT // LIMITED TO; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE; DATA; // OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF // LIABILITY; WHETHER IN CONTRACT; STRICT LIABILITY; OR TORT (INCLUDING // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE; // EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // ////////////////////////////////////////////////////////////////////////////////////// namespace eui { egret.$locale_strings = egret.$locale_strings || {}; egret.$locale_strings["zh_CN"] = egret.$locale_strings["zh_CN"] || {}; let locale_strings = egret.$locale_strings["zh_CN"]; //2000-2999 //EXML报错信息 locale_strings[2001] = "EXML解析错误 {0}: 找不到EXML文件"; locale_strings[2002] = "EXML解析错误: 不是有效的XML文件:\n{0}"; locale_strings[2003] = "EXML解析错误 {0}: 无法找到节点所对应的类定义\n{1}"; locale_strings[2004] = "EXML解析错误 {0}: 节点不能含有同名的id属性\n{1}"; locale_strings[2005] = "EXML解析错误 {0}: 节点上不存在名为'{1}'的属性,或者该属性没有初始值:\n{2}"; locale_strings[2006] = "EXML解析错误 {0}: 未定义的视图状态名称:'{1}'\n{2}"; locale_strings[2007] = "EXML解析错误 {0}: 只有处于容器内的 UIComponent 对象可以使用includeIn和excludeFrom属性\n{1}"; locale_strings[2008] = "EXML解析错误 {0}: 无法将'{1}'类型的值赋给属性:'{2}'\n{3}"; locale_strings[2009] = "EXML解析错误 {0}: 在节点属性值的‘{}’标签内只能引用一个ID,不允许使用复杂表达式\n{1}"; locale_strings[2010] = "EXML解析错误 {0}: 属性:'{1}'所引用的ID: '{2}'不存在\n{3}"; locale_strings[2011] = "EXML解析错误 {0}: 无法将多个子节点赋值给同一个属性:'{1}'\n{2}"; locale_strings[2012] = "EXML解析错误 {0}: 节点上不存在默认属性,必须显式声明子节点要赋值到的属性名\n{1}"; locale_strings[2013] = "EXML解析错误 {0}: 类型为Array的属性节点上不允许使用视图状态语法\n{1}"; locale_strings[2014] = "EXML解析错误 {0}: 不允许将皮肤类自身赋值给节点属性\n{1}"; locale_strings[2015] = "EXML解析错误 {0}: 节点引用的类定义:{1}不存在\n{2}"; locale_strings[2016] = "EXML解析错误 {0}: 节点上'scale9Grid'属性值的格式错误:{1}"; locale_strings[2017] = "EXML解析错误 {0}: 节点上缺少命名空间前缀:{1}"; locale_strings[2018] = "EXML解析错误 {0}: 节点上'skinName'属性值的格式错误:{1}"; locale_strings[2019] = "EXML解析错误 {0}: 容器的子项必须是可视节点:{1}"; locale_strings[2020] = "EXML解析错误 {0}: 在w:Declarations内的子节点,不允许使用includeIn和excludeFrom属性\n{1}"; locale_strings[2021] = "{0} 中存在编译错误,属性名 : {1},属性值 : {2}"; locale_strings[2022] = "EXML解析错误: id `{0}` 中含有非法字符"; //EXML警告信息 locale_strings[2101] = "EXML解析警告: 在EXML根节点上声明的 class 属性: {0} 注册失败,所对应的类已经存在,请尝试重命名要注册的类名。\n{1}"; locale_strings[2102] = "EXML解析警告 {0}: 在属性节点上找不到任何子节点\n{1}"; locale_strings[2103] = "EXML解析警告 {0}: 节点上的同一个属性'{1}'被多次赋值\n{2}"; locale_strings[2104] = "EXML解析警告,无法直接实例化自定义组件:{0} ,在EXML中使用的自定义组件必须要能直接被实例化,否则可能导致后续EXML解析报错。"; //EUI 报错与警告信息 locale_strings[2201] = "BasicLayout 不支持虚拟化。"; locale_strings[2202] = "皮肤解析出错,属性 skinName 的值必须要能够解析为一个 eui.Skin 的实例。"; locale_strings[2203] = "找不到指定的皮肤类 '{0}'。"; locale_strings[2301] = "素材解析失败,找不到URL:{0} 所对应的资源。"; }