Merge remote-tracking branch 'redux/master' into sh4-pool
[tamarin-stm.git] / localization / zh_Hans / ErrorConstants.xml
blob400fc49cd46906b29c6cd04b62f8310bc1d32316
1 <?xml version='1.0' encoding='utf-8' standalone='no' ?>
2 <!-- -*- Mode: xml; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- -->
3 <!-- vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) -->
4 <!-- ***** BEGIN LICENSE BLOCK *****
5  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6  *
7  * The contents of this file are subject to the Mozilla Public License Version
8  * 1.1 (the "License"); you may not use this file except in compliance with
9  * the License. You may obtain a copy of the License at
10  * http://www.mozilla.org/MPL/
11  *
12  * Software distributed under the License is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14  * for the specific language governing rights and limitations under the
15  * License.
16  *
17  * The Original Code is [Open Source Virtual Machine.].
18  *
19  * The Initial Developer of the Original Code is
20  * Adobe System Incorporated.
21  * Portions created by the Initial Developer are Copyright (C) 2004-2006
22  * the Initial Developer. All Rights Reserved.
23  *
24  * Contributor(s):
25  *   Adobe AS3 Team
26  *
27  * Alternatively, the contents of this file may be used under the terms of
28  * either the GNU General Public License Version 2 or later (the "GPL"), or
29  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30  * in which case the provisions of the GPL or the LGPL are applicable instead
31  * of those above. If you wish to allow use of your version of this file only
32  * under the terms of either the GPL or the LGPL, and not to allow others to
33  * use your version of this file under the terms of the MPL, indicate your
34  * decision by deleting the provisions above and replace them with the notice
35  * and other provisions required by the GPL or the LGPL. If you do not delete
36  * the provisions above, a recipient may use your version of this file under
37  * the terms of any one of the MPL, the GPL or the LGPL.
38  *
39  * ***** END LICENSE BLOCK ***** -->
41 <errors>  This table contains all of the error messages generated by core
42   avmplus.  This will likely be replaced by a resource table
43   for easy localization.
44   %o = ScriptObject*
45   %t = Traits*
46   %m = MethodInfo*
47   %n = Multiname (name portion only)
48   %N = Multiname (namespace portion only)
49   %a = Atom
50   %d = int
51   %f = double
52   %S = Stringp
53   %s = char*
55   <error id="1000" label="kOutOfMemoryError">
56     系统内存不足。
57     <description><![CDATA[
58         Flash Player needs more memory to compile your code than your system has available.
59         Close some of the applications or processes running on your system.
60     ]]></description></error>
62   <error id="1001" label="kNotImplementedError">未实现 %1 方法。</error>
63   <error id="1002" label="kInvalidPrecisionError">
64     精度参数必须介于 %2 到 %3 之间;%1 无效。
65     <description><![CDATA[
66         You specified a value that is not within the expected range of the <code>precision</code> argument. Number.toPrecision has a range of 1 to 21. Number.toFixed and Number.toExponential have a range of 0 to 20.
67     ]]></description></error>
69   <error id="1003" label="kInvalidRadixError">
70     基数参数必须介于 2 到 36 之间;当前值为 %1。
71     <description><![CDATA[
72         You passed a value less than 2 or greater than 36 for the <code>radix</code> argument of a method or property.
73         Pass a value between 2 and 36 as a <code>radix</code> argument.
74     ]]></description>  </error>
75   <error id="1004" label="kInvokeOnIncompatibleObjectError">
76     对不兼容的对象调用了方法 %1。
77     <description><![CDATA[
78         You tried to call a method that is not available to the specified object. This error occurs when
79         you have copied a prototype function from one object to another, and then invoked it, but the
80         target object is not the same type as the original object. Ensure that the target object and
81         original object are the same type. See the ECMAScript Language Specification, 3rd Edition, Chapter 15 for more details.
82     ]]></description></error>
84   <!-- ISSUE jsshell reports "invalid array length" -->
85 <error id="1005" label="kArrayIndexNotIntegerError">
86     数组索引不是正整数 (%1)。
87     <description><![CDATA[
88         You tried to access a member of an array using an index value that is not a positive integer. Pass only positive integers as index values for arrays.
89     ]]></description></error>
92 <error id="1006" label="kCallOfNonFunctionError">
93     %1 不是函数。
94     <description><![CDATA[
95         This error occurs when you attempt to call a function that does not exist.
96         Make sure you are calling the correct function, and that the API has
97         not changed from ActionScript 2.0. Also, make sure you are using the correct
98         object. For example, you will see this error when you use the following code
99         (because the last line mistakenly calls the variable <code>big</code> instead
100         of <code>blg</code>):
102         <pre><code>var blg:String = "foo";
103 var big:Sprite = new Sprite();
104 var error:int = big.length(); </code></pre>
105     ]]></description></error>
106   <error id="1007" label="kConstructOfNonFunctionError">尝试实例化的函数不是构造函数。</error>
107   <error id="1008" label="kAmbiguousBindingError">%1 有歧义;找到多个匹配的绑定。</error>
108   <error id="1009" label="kConvertNullToObjectError">
109     无法访问空对象引用的属性或方法。
110     <description><![CDATA[
111     An object that evaluates to <code>null</code> can have no properties. This error can occur in some unexpected
112     (though valid) situations. For example, consider the following code, which creates a Sprite
113     object. Because this Sprite object is never added to the display list (through the
114     <code>addChild()</code> method of a DisplayObjectContainer object), its <code>stage</code>
115     property is set to <code>null</code>. Thus, the example generates this error because Sprite object's <code>stage</code> property
116     cannot have any properties:
118     <pre><code>import flash.display.Sprite;
119 var sprite1:Sprite = new Sprite();
120 var q:String = sprite1.stage.quality;</code></pre>
121     ]]></description></error>
123   <error id="1010" label="kConvertUndefinedToObjectError">
124     术语尚未定义,并且无任何属性。
125     <description><![CDATA[
126         This error can occur if you try to access a property of an object that does not exist. For example:
127         <pre><code>var obj:Object = new Object();
128 obj.a = "foo";
129 trace(obj.b.prop);</code></pre>
131         <p>You can also see this error because of a misspelling, for example in the following, where
132         <code>mc</code> represents a MovieClip object in the display list, and the <code>stage</code>
133         property is misspelled with a capital S (it should be <code>stage</code>):</p>
135         <pre><code>trace(mc.Stage.quality);</code></pre>
138     ]]></description></error>
139   <error id="1011" label="kIllegalOpcodeError">
140     方法 %1 包含非法 opcode %2 (偏移量为 %3)。
141     <description><![CDATA[
142         See the <a href="#note">note</a> at the bottom of this table.&#42;
143     ]]></description></error>
145   <error id="1012" label="kLastInstExceedsCodeSizeError">
146     最后一条指令超出代码大小。
147     <description><![CDATA[
148         See the <a href="#note">note</a> at the bottom of this table.&#42;
149     ]]></description></error>
151    <error id="1013" label="kFindVarWithNoScopeError">
152     当 scopeDepth 为 0 时,无法调用 OP_findproperty。
153     <description><![CDATA[
154         See the <a href="#note">note</a> at the bottom of this table.&#42;
155     ]]></description></error>
157    <error id="1014" label="kClassNotFoundError">无法找到类 %1。</error>
158    <error id="1015" label="kIllegalSetDxns">
159     方法 %1 无法设置默认 XML 命名空间
160     <description><![CDATA[
161         See the <a href="#note">note</a> at the bottom of this table.&#42;
162     ]]></description></error>
164    <error id="1016" label="kDescendentsError">类型 %1 不支持后代运算符 (..)。</error>
165    <error id="1017" label="kScopeStackOverflowError">
166     发生范围堆栈上溢。
167     <description><![CDATA[
168         See the <a href="#note">note</a> at the bottom of this table.&#42;
169     ]]></description></error>
171    <error id="1018" label="kScopeStackUnderflowError">
172     发生范围堆栈下溢。
173     <description><![CDATA[
174         See the <a href="#note">note</a> at the bottom of this table.&#42;
175     ]]></description></error>
177    <error id="1019" label="kGetScopeObjectBoundsError">
178     Getscopeobject %1 超出范围。
179     <description><![CDATA[
180         See the <a href="#note">note</a> at the bottom of this table.&#42;
181     ]]></description></error>
182    <error id="1020" label="kCannotFallOffMethodError">
183     代码不能超出方法结尾。
184     <description><![CDATA[
185         See the <a href="#note">note</a> at the bottom of this table.&#42;
186     ]]></description></error>
188    <error id="1021" label="kInvalidBranchTargetError">
189     至少一个分支目标不是方法中的有效指令。
190     <description><![CDATA[
191         See the <a href="#note">note</a> at the bottom of this table.&#42;
192     ]]></description></error>
194    <error id="1022" label="kIllegalVoidError">
195     void 类型只能用作函数返回类型。
196     <description><![CDATA[
197         See the <a href="#note">note</a> at the bottom of this table.&#42;
198     ]]></description></error>
200    <error id="1023" label="kStackOverflowError">
201     发生堆栈上溢。
202     <description><![CDATA[
203         See the <a href="#note">note</a> at the bottom of this table.&#42;
204     ]]></description></error>
206   <error id="1024" label="kStackUnderflowError">
207     发生堆栈下溢。
208     <description><![CDATA[
209         See the <a href="#note">note</a> at the bottom of this table.&#42;
210     ]]></description></error>
212   <error id="1025" label="kInvalidRegisterError">
213     访问了无效的注册 %1。
214     <description><![CDATA[
215         See the <a href="#note">note</a> at the bottom of this table.&#42;
216     ]]></description></error>
218   <error id="1026" label="kSlotExceedsCountError">
219     Slot %1 超出 %3 中 slotCount=%2 的限制。
220     <description><![CDATA[
221         See the <a href="#note">note</a> at the bottom of this table.&#42;
222     ]]></description></error>
224   <error id="1027" label="kMethodInfoExceedsCountError">
225     Method_info %1 超出 method_count=%2 的限制。
226     <description><![CDATA[
227         See the <a href="#note">note</a> at the bottom of this table.&#42;
228     ]]></description></error>
230   <error id="1028" label="kDispIdExceedsCountError">
231     Disp_id %1 超出 %3 中 max_disp_id=%2 的限制。
232     <description><![CDATA[
233         See the <a href="#note">note</a> at the bottom of this table.&#42;
234     ]]></description></error>
236   <error id="1029" label="kDispIdUndefinedError">
237     Disp_id %1 在 %2 上未定义。
238     <description><![CDATA[
239         See the <a href="#note">note</a> at the bottom of this table.&#42;
240     ]]></description></error>
242   <error id="1030" label="kStackDepthUnbalancedError">
243     堆栈深度不对称。%1 != %2。
244     <description><![CDATA[
245         See the <a href="#note">note</a> at the bottom of this table.&#42;
246     ]]></description></error>
248   <error id="1031" label="kScopeDepthUnbalancedError">
249     范围深度不对称。%1 != %2。
250     <description><![CDATA[
251         See the <a href="#note">note</a> at the bottom of this table.&#42;
252     ]]></description></error>
254    <error id="1032" label="kCpoolIndexRangeError">
255     Cpool 索引 %1 超出范围 %2。
256     <description><![CDATA[
257         See the <a href="#note">note</a> at the bottom of this table.&#42;
258     ]]></description></error>
260    <error id="1033" label="kCpoolEntryWrongTypeError">Cpool 项 %1 类型错误。<description><![CDATA[
261         See the <a href="#note">note</a> at the bottom of this table.&#42;
262     ]]></description></error>
264    <error id="1034" label="kCheckTypeFailedError">强制转换类型失败:无法将 %1 转换为 %2。</error>
266    <error id="1035" label="kIllegalSuperCallError">
267     发现方法 %1 中存在非法的 super 表达式。
268     <description><![CDATA[
269         See the <a href="#note">note</a> at the bottom of this table.&#42;
270     ]]></description></error>
272    <!-- <error id="1036" label="kUncaughtExceptionWarning">The VM exited due to an uncaught exception.</error> -->
274    <error id="1037" label="kCannotAssignToMethodError">
275     无法在 %2 上为方法 %1 赋值。
276     <description><![CDATA[
277         See the <a href="#note">note</a> at the bottom of this table.&#42;
278     ]]></description></error>
281 <error id="1038" label="kRedefinedError">
282     %1 已定义。
283     <description><![CDATA[
284         You cannot declare a variable or function with the same identifier name more than once
285         within the same scope.
286         In ActionScript 3.0, different code blocks (such as those used in two <code>for</code> loops
287         in the same <code>function</code> definition) are considered to be in the same scope.
288         See the <a href="#note">note</a> at the bottom of this table.&#42;
289     ]]></description></error>
291   <error id="1039" label="kCannotVerifyUntilReferencedError">
292     在方法被引用之前无法对其进行验证。
293     <description><![CDATA[
294         See the <a href="#note">note</a> at the bottom of this table.&#42;
295     ]]></description></error>
297    <error id="1040" label="kCantUseInstanceofOnNonObjectError">
298     instanceof 的右侧必须是类或函数。
299     <description><![CDATA[
300         The expression on the right side of the <code>instanceof</code> operator must be a class or function.
301     ]]></description></error>
302   <error id="1041" label="kIsTypeMustBeClassError">
303     运算符的右侧必须是类。
304     <description><![CDATA[
305         The expression on the right side of the <code>is</code> operator must be a class.
306     ]]></description></error>
307    <error id="1042" label="kInvalidMagicError">
308     不是 ABC 文件。major_version=%1 minor_version=%2。
309     <description><![CDATA[
310 You are attempting to use an  invalid file with the player: the tool that generates the SWF may be out of date or the SWF itself may be corrupt.
311     ]]></description></error>
312    <error id="1043" label="kInvalidCodeLengthError">
313     code_length=%1 无效。
314     <description><![CDATA[
315         See the <a href="#note">note</a> at the bottom of this table.&#42;
316     ]]></description></error>
318    <error id="1044" label="kInvalidMethodInfoFlagsError">
319     MethodInfo-%1 不支持 flags=%2。
320     <description><![CDATA[
321         See the <a href="#note">note</a> at the bottom of this table.&#42;
322     ]]></description></error>
325  <error id="1045" label="kUnsupportedTraitsKindError">
326     不支持 trait kind=%1。
327     <description><![CDATA[
328         See the <a href="#note">note</a> at the bottom of this table.&#42;
329     ]]></description></error>
331    <error id="1046" label="kMethodInfoOrderError">
332     MethodInfo-%1 被引用时未定义。
333     <description><![CDATA[
334         See the <a href="#note">note</a> at the bottom of this table.&#42;
335     ]]></description></error>
337    <error id="1047" label="kMissingEntryPointError">
338     未找到入口点。
339     <description><![CDATA[
340         See the <a href="#note">note</a> at the bottom of this table.&#42;
341     ]]></description></error>
342    <!--<error id="1048" label="kNativeMethodNotFoundError">Native method not found: %a.</error>-->
344    <error id="1049" label="kPrototypeTypeError">
345     原型对象必须是 vanilla 对象。
346     <description><![CDATA[
347         See the <a href="#note">note</a> at the bottom of this table.&#42;
348     ]]></description></error>
350    <error id="1050" label="kConvertToPrimitiveError">
351     无法将 %1 转换为原始类型。
352     <description><![CDATA[
353         See the <a href="#note">note</a> at the bottom of this table.&#42;
354     ]]></description></error>
356    <error id="1051" label="kIllegalEarlyBindingError">
357     对 %1 的早期绑定访问是非法的。
358     <description><![CDATA[
359         See the <a href="#note">note</a> at the bottom of this table.&#42;
360     ]]></description></error>
362    <error id="1052" label="kInvalidURIError">
363     传递给 %1 函数的 URI 无效。
364     <description><![CDATA[
365         See the <a href="#note">note</a> at the bottom of this table.&#42;
366     ]]></description></error>
368    <error id="1053" label="kIllegalOverrideError">
369     在 %2 中非法覆盖 %1。
370     <description><![CDATA[
371         See the <a href="#note">note</a> at the bottom of this table.&#42;
372     ]]></description></error>
374    <error id="1054" label="kIllegalExceptionHandlerError">
375     异常处理函数中存在非法的范围或目标偏移量。
376     <description><![CDATA[
377         See the <a href="#note">note</a> at the bottom of this table.&#42;
378     ]]></description></error>
379  <!-- obsolete
380   <error id="1055" label="kHasNoPropertiesTypeError">%S has no properties</error>
381   -->
382   <error id="1056" label="kWriteSealedError">
383     无法为 %2 创建属性 %1。
384     <description><![CDATA[
385     You are trying to assign a value to a nonexistent property on an instance of a non-dynamic
386     class. This is only possible for instances of dynamic classes]]></description></error>
388  <error id="1057" label="kIllegalSlotError">
389     %1 只能包含方法。
390     <description><![CDATA[
391         See the <a href="#note">note</a> at the bottom of this table.&#42;
392     ]]></description></error>
394    <error id="1058" label="kIllegalOperandTypeError">
395     非法的操作数类型: %1 必须是 %2。
396     <description><![CDATA[
397         See the <a href="#note">note</a> at the bottom of this table.&#42;
398     ]]></description></error>
400    <error id="1059" label="kClassInfoOrderError">
401     ClassInfo-%1 被引用时未定义。
402     <description><![CDATA[
403         See the <a href="#note">note</a> at the bottom of this table.&#42;
404     ]]></description></error>
406   <error id="1060" label="kClassInfoExceedsCountError">
407     ClassInfo %1 超出 class_count=%2 的限制。
408     <description><![CDATA[
409         See the <a href="#note">note</a> at the bottom of this table.&#42;
410     ]]></description></error>
413 <error id="1061" label="kNumberOutOfRangeError">
414     无法在不损失精度的情况下将值 %1 转换为 %2。
415     <description><![CDATA[
417         This error appears if you attempt to assign a decimal number to a property that has data type
418         int.
420         <p>This error also appears for out-of-range assignments, such as the following:</p>
422         <pre><code>var m0:int = 2147483648; // int.MAX_VALUE == 2147483647</code></pre>
423         <p>You can also see this error when using the bitwise left shift operator (&lt&lt).
424         For example, consider the following code:</p>
426         <pre><code>var m0:uint = 0xFF;
427 var m1:uint = m0&lt&lt24;</code></pre>
429         <p>The result of left shift operator (&lt&lt) is interpreted as a 32-bit two's complement number
430         with sign. In the example, the result is a negative value, which causes the error when assigned
431         to the uint typed property. A workaround is the following:</p>
433         <pre><code>var m0:uint = 0xFF;
434 var m1:uint = uint(m0&lt;&lt;24);</code></pre>
436     ]]></description></error>
437    <!--<error id="1062" label="kPackageCircularityError">Package %a imported while being defined</error>-->
438   <error id="1063" label="kWrongArgumentCountError">%1 的参数数量不匹配。应该有 %2 个,当前为 %3 个。</error>
439   <error id="1064" label="kCannotCallMethodAsConstructor">
440     无法将方法 %1 作为构造函数调用。
441     <description><![CDATA[
442     Extracted methods are permanently bound to the object they are extracted from.
443     Therefore, they can not later be called as a constructor. For example, the following
444     creates function <code>f()</code> in Class A:
445     <pre><code>class A {
446        function f() {}
447     }</code></pre>
448     In the following code, extracting the function causes no error. However, creating
449     a new instance of the function causes an error.
450     <pre><code>var a = new A()
451     var m = a.f // extract f, don't call it
452     m() // same as a.f()
453     new m() // causes this error</code></pre>
455     ]]></description></error>
456   <error id="1065" label="kUndefinedVarError">
457     变量 %1 未定义。
458     <description><![CDATA[
459     You are using an undefined lexical reference. For example, in the following statements, the
460     statement <code>trace(x)</code> generates an error because <code>x</code> is undefined. However, the
461     statement <code>trace(y)</code> doesn't generate an error because <code>y</code> is defined:
462     <pre><code>trace("hello world")
463     trace(x) // x is undefined
464     var y
465     trace(y) // No error, y is defined.</code></pre>
466     ]]></description></error>
467   <error id="1066" label="kFunctionConstructorError">
468     不支持 function('function body') 形式。
469     <description><![CDATA[
470     Unlike JavaScript, Flash does not compile code on-the-fly using <code>eval()</code> and
471     <code>function()</code>.  Thus, calling these as a constructor in ActionScript 3.0 generates this error.
472     ]]></description></error>
474 <error id="1067" label="kIllegalNativeMethodBodyError">
475     内置方法 %1 含有非法的方法正文。
476     <description><![CDATA[
477         See the <a href="#note">note</a> at the bottom of this table.&#42;
478     ]]></description></error>
481 <error id="1068" label="kCannotMergeTypesError">
482     %1 和 %2 无法协调一致。
483     <description><![CDATA[
484         See the <a href="#note">note</a> at the bottom of this table.&#42;
485     ]]></description></error>
487    <error id="1069" label="kReadSealedError">
488     在 %2 上找不到属性 %1,且没有默认值。
489     <description><![CDATA[
490     You are referencing an undefined property on a non-dynamic class instance. For example, the following generates this error when it references property
491     <code>x</code>, which is not defined and cannot be created dynamically:
492     <pre><code>class A {} // sealed class, not dynamic
493     trace(new A().x) // no property x defined on A, and A is not dynamic</code></pre>
494     ]]></description></error>
495   <error id="1070" label="kCallNotFoundError">
496     在 %2 上找不到方法 %1
497     <description><![CDATA[
498     You are using a <code>super</code> statement to call a function, but the function doesn't exist in the super class.
499     For example, the following code generates the error:    <pre><code>class A() {}
500 class B extends A {
501   function f() { trace(super.f()); } // error 1070, there is no f on A
502 }</code></pre>
503     ]]></description></error>
504   <error id="1071" label="kAlreadyBoundError">函数 %1 已被绑定到 %2。</error>
506 <error id="1072" label="kZeroDispIdError">
507     Disp_id 0 是非法的。
508     <description><![CDATA[
509         See the <a href="#note">note</a> at the bottom of this table.&#42;
510     ]]></description></error>
512    <error id="1073" label="kDuplicateDispIdError">
513     由于 disp_id %2 的重复,非覆盖方法 %1 已被替换。
514     <description><![CDATA[
515         See the <a href="#note">note</a> at the bottom of this table.&#42;
516     ]]></description></error>
518 <error id="1074" label="kConstWriteError">%2 上存在对只读属性 %1 的非法写入。</error>
519   <error id="1075" label="kMathNotFunctionError">
520     Math 不是函数。
521     <description><![CDATA[
522     You are trying to call <code>math()</code> as a function, but the Math class is a class with static methods.
523     ]]></description></error>
524   <error id="1076" label="kMathNotConstructorError">
525     Math 不是构造函数。
526     <description><![CDATA[
527     You can not instantiate the Math class.
528     ]]></description></error>
530   <error id="1077" label="kWriteOnlyError">%2 上存在对只写属性 %1 的非法读取。</error>
531    <error id="1078" label="kIllegalOpMultinameError">
532     非法的 opcode/multiname 组合: %1&lt;%2&gt;。
533     <description><![CDATA[
534         See the <a href="#note">note</a> at the bottom of this table.&#42;
535     ]]></description></error>
537    <error id="1079" label="kIllegalNativeMethodError">
538     载入代码中不允许使用内置方法。
539     <description><![CDATA[
540         See the <a href="#note">note</a> at the bottom of this table.&#42;
541     ]]></description></error>
543    <error id="1080" label="kIllegalNamespaceError">
544     非法的命名空间值。
545     <description><![CDATA[
546         See the <a href="#note">note</a> at the bottom of this table.&#42;
547     ]]></description></error>
550   <error id="1081" label="kReadSealedErrorNs">在 %2 上找不到属性 %1,且没有默认值。</error>
551  <!--<error id="1081" label="kIllegalMultinameCallError">Illegal call to %1</error>-->
553  <error id="1082" label="kNoDefaultNamespaceError">
554     未设置默认的命名空间。
555     <description><![CDATA[
556         See the <a href="#note">note</a> at the bottom of this table.&#42;
557     ]]></description></error>
559    <error id="1083" label="kXMLPrefixNotBound">
560     元素“%2”的前缀“%1”未绑定。
561     <description><![CDATA[
562     An attribute name or element name has a prefix but no matching namespace was
563     found. This statement generates an error because there is no <code>foo</code>
564     namespace to match <code>foo:x</code>:<pre/>&lt;foo:x xmlns:clowns='http://circuscenter.org'&gt;</pre>
565         ]]></description></error>
567   <error id="1084" label="kXMLBadQName">
568     元素或属性 (“%1”) 与 QName 定义不匹配: QName::=(NCName':')?NCName。
569     <description><![CDATA[
570     You have <code>foo: </code> or <code>:foo</code> as an element or attribute name, but there is nothing
571     on the other side of the colon.
572     ]]></description></error>
573   <error id="1085" label="kXMLUnterminatedElementTag">元素类型“%1”必须以匹配的结束标记“&lt;/%2&gt;”结束。</error>
574   <error id="1086" label="kXMLOnlyWorksWithOneItemLists">
575     %1 方法只能用于包含单一项目的列表。
576     <description><![CDATA[
577     The XMLList class propagates the XML-specific functions to one child if it has only one
578     item in its list. If more than one item is in the list, the routines fail with this
579     error. This happens for the following XMLList functions that mimic XML functions:
580     <p><code>addNamespace</code>, <code>appendChild</code>,  <code>childIndex</code>,
581     <code>inScopeNamespaces</code>,  <code>insertChildAfter</code>,  <code>insertChildBefore</code>,
582     <code>name</code>,  <code>namespace</code>,  <code>localName</code>,  <code>namespaceDeclarations</code>,
583     <code>nodeKind</code>,  <code>prependChild</code>,  <code>removeNamespace</code>,  <code>replace</code>,
584     <code>setChildren</code>,  <code>setLocalName</code>,  <code>setName</code>,  and <code>setNamespace.
586     ]]></description></error>
587   <error id="1087" label="kXMLAssignmentToIndexedXMLNotAllowed">不允许对索引 XML 进行赋值。</error>
588   <error id="1088" label="kXMLMarkupMustBeWellFormed">
589     文档中根元素后面的标记格式必须正确。
590     <description><![CDATA[
591     These are possible causes of this error:
592     <ul>
593     <li>Parsing an XMLList style object as XML</li>
594     <li>Misbalanced strings</li>
595     </ul>
596     ]]></description></error>
598   <error id="1089" label="kXMLAssigmentOneItemLists">不支持对包含多个项目的列表进行赋值。</error>
599   <error id="1090" label="kXMLMalformedElement">
600     XML 分析器失败: 元素格式不正确。
601     <description><![CDATA[
602     An element name is malformed. This example of an element name is malformed because a
603     trailing right angle bracket <code>></code> is missing:
605     <pre>&lt;a/&gt;&lt;b&gt;&lt;/b</pre>    ]]></description></error>
607   <error id="1091" label="kXMLUnterminatedCData">XML 分析器失败: CDATA 部分未结束。</error>
608   <error id="1092" label="kXMLUnterminatedXMLDecl">XML 分析器失败: XML 声明未结束。</error>
609   <error id="1093" label="kXMLUnterminatedDocTypeDecl">XML 分析器失败: DOCTYPE 声明未结束。</error>
610   <error id="1094" label="kXMLUnterminatedComment">XML 分析器失败: 注释未结束。</error>
611   <error id="1095" label="kXMLUnterminatedAttribute">XML 分析器失败: 属性未结束。</error>
612   <error id="1096" label="kXMLUnterminatedElement">XML 分析器失败: 元素未结束。</error>
613   <error id="1097" label="kXMLUnterminatedProcessingInstruction">XML 分析器失败: 正在处理的指令未结束。</error>
614   <error id="1098" label="kXMLNamespaceWithPrefixAndNoURI">
615     no namespace 带有非法前缀 %1。
616     <description><![CDATA[
617     The namespace constructor throws this error if you try to pass in an empty URI with a
618     non-empty prefix as in this example:
620 <pre>ns = new Namespace ("prefix", "");
621     ]]></description></error>
623   <!--<error id="1099" label="kNullArgumentError">Argument %s cannot be null.</error>-->
624   <error id="1100" label="kRegExpFlagsArgumentError">
625     在由一个 RegExp 构建另一个的过程中无法提供标志。
626     <description><![CDATA[
627     Creating a new regular expression from an existing one also copies its flags. To create a regular expression with
628     different flags, use the <code>new</code> operator and set the flags as desired. For example, this statement
629     creates a regular expression and specifies flag settings:
630     <pre><code>var re:RegExp = new RegExp("ali", /s)</code></pre>
631     Alternatively, this statement creates a regular expression that has the same flags as re:
632     <pre><code>var re2:RegExp = new RegExp(re, ...)</code></pre>    ]]></description></error>
634    <error id="1101" label="kNoScopeError">
635     无法验证具有未知范围的方法 %1。
636     <description><![CDATA[
637         See the <a href="#note">note</a> at the bottom of this table.&#42;
638     ]]></description></error>
640    <error id="1102" label="kIllegalDefaultValue">
641     类型 %1 的默认值非法。
642     <description><![CDATA[
643         See the <a href="#note">note</a> at the bottom of this table.&#42;
644     ]]></description></error>
646    <error id="1103" label="kCannotExtendFinalClass">
647     类 %1 不能扩展最终基类。
648     <description><![CDATA[
649         See the <a href="#note">note</a> at the bottom of this table.&#42;
650     ]]></description></error>
652    <error id="1104" label="kXMLDuplicateAttribute">已指定属性“%1”(针对元素“%2”)。</error>
653   <!--<error id="1105" label="kStringIndexOutOfBoundsError">The string index %d is out of bounds; must be in range %d to %d.</error>-->
654   <!--<error id="1106" label="kInvalidRangeError">The range specified is invalid.</error>-->
655   <error id="1107" label="kCorruptABCError">
656     ABC 数据已损坏,尝试的读取操作超出范围。
657     <description><![CDATA[
658         See the <a href="#note">note</a> at the bottom of this table.&#42;
659     ]]></description></error>
661   <error id="1108" label="kInvalidBaseClassError">
662     OP_newclass opcode 使用的基类不正确。
663     <description><![CDATA[
664         See the <a href="#note">note</a> at the bottom of this table.&#42;
665     ]]></description></error>
667   <error id="1109" label="kDanglingFunctionError">
668     尝试直接调用非绑定函数 %1 (从方法 %2 中调用)。
669     <description><![CDATA[
670         See the <a href="#note">note</a> at the bottom of this table.&#42;
671     ]]></description></error>
673   <error id="1110" label="kCannotExtendError">
674     %1 无法扩展 %2。
675     <description><![CDATA[
676         See the <a href="#note">note</a> at the bottom of this table.&#42;
677     ]]></description></error>
679   <error id="1111" label="kCannotImplementError">
680     %1 无法实现 %2。
681     <description><![CDATA[
682         See the <a href="#note">note</a> at the bottom of this table.&#42;
683     ]]></description></error>
685    <error id="1112" label="kCoerceArgumentCountError">类强制转换的参数数量不匹配。应为 1 个,当前为 %1 个。</error>
686    <error id="1113" label="kInvalidNewActivationError">
687     方法中使用的 OP_newactivation 没有 NEED_ACTIVATION 标志。
688     <description><![CDATA[
689         See the <a href="#note">note</a> at the bottom of this table.&#42;
690     ]]></description></error>
692   <error id="1114" label="kNoGlobalScopeError">
693     使用的 OP_getglobalslot 或 OP_setglobalslot 不具有全局范围。
694     <description><![CDATA[
695         See the <a href="#note">note</a> at the bottom of this table.&#42;
696     ]]></description></error>
698   <error id="1115" label="kNotConstructorError">%1 不是构造函数。</error>
699   <error id="1116" label="kApplyError">Function.prototype.apply 的第二个参数必须是数组。</error>
700   <error id="1117" label="kXMLInvalidName">XML 名称无效: %1。</error>
701   <error id="1118" label="kXMLIllegalCyclicalLoop">节点间存在非法循环。</error>
702   <error id="1119" label="kDeleteTypeError">类型 %1 的操作数不支持删除运算符。</error>
703   <error id="1120" label="kDeleteSealedError">无法为 %2 删除属性 %1。</error>
704   <error id="1121" label="kDuplicateMethodBodyError">方法 %1 具有重复的方法正文。</error>
705    <error id="1122" label="kIllegalInterfaceMethodBodyError">接口方法 %1 含有非法的方法正文。</error>
706   <error id="1123" label="kFilterError">类型 %1 不支持过滤运算符。</error>
707   <error id="1124" label="kInvalidHasNextError">OP_hasnext2 要求对象和索引位于不同的寄存器。</error>
708   <error id="1125" label="kOutOfRangeError">索引 %1 超出范围 %2。</error>
709   <error id="1126" label="kVectorFixedError">无法更改固定矢量的长度。</error>
710   <error id="1127" label="kTypeAppOfNonParamType">尝试对非参数化类型执行类型应用程序。</error>
711   <error id="1128" label="kWrongTypeArgCountError">%1 的类型参数的个数不正确。应为 %2,当前为 %3。</error>
713   <!-- The following errors are specific to the AVM2 command-line shell.-->
714   <error id="1500" hidden="true" label="kFileOpenError">打开文件 %1 时出错。</error>
715   <error id="1501" hidden="true" label="kFileWriteError">
716     写入文件 %1 时出错。
717     <description><![CDATA[
718         The file you are writing to cannot be opened. Possibly the filename contains an error, the file is read-only, or
719         you do not have access privileges.
720         ]]></description>
721         </error>
722   <error id="1502" label="kScriptTimeoutError">
723     脚本的执行时间已经超过了 15 秒的默认超时设置。
724     <description><![CDATA[
725         A script executed after the timeout period. (The default timeout period is 15 seconds.) After this error occurs, the
726         script can continue to execute for 15 seconds more, after which the script terminates and throws run-time error number 1503 (A script failed to exit after 30 seconds and was terminated.)
727     ]]></description>
728  </error>
729   <error id="1503" label="kScriptTerminatedError">
730     脚本未能在 30 秒后退出而被终止。
731     <description><![CDATA[
732       The script was still executing after 30 seconds. Flash Player first throws run-time error number 1502 (A script has executed for longer than the default timeout period of 15 seconds.) if the script executed more than 15
733       seconds, which is the default timeout period. This error occurs 15 seconds after Error 1502 occurs.
734     ]]></description></error>
735      <error id="1504" hidden="true" label="kEndOfFileError">
736     文件结尾。
737     <description><![CDATA[
738       Flash Player unexpectedly encountered the end of the file. Possibly the file was not saved correctly or Flash Player expected more data
739       in the file.
740     ]]></description>
741   </error>
742   <error id="1505" hidden="true" label="kStringIndexOutOfBoundsError">字符串索引 %1 超出范围;必须在 %2 到 %3 的范围内。</error>
743   <error id="1506" hidden="true" label="kInvalidRangeError">
744     指定的范围无效。
745     <description><![CDATA[
746     The method's <code>start</code> parameter is greater than its <code>end</code> parameter.
747     ]]></description></error>
748   <error id="1507" label="kNullArgumentError">参数 %1 不能为空。</error>
749   <error id="1508" label="kInvalidArgumentError">
750     为参数 %1 指定的值无效。
751     <description><![CDATA[
752     You are possibly trying to pass the wrong data type. For example, the code
753     <pre><code>public function doSomething(const:int):void {
754     }
755     this ["doSomething"] ("str")</code></pre>
756     generates an error at runtime because <code>doSomething</code> is cast as an int data type. ]]></description></error>
758   <error id="1510" label="kArrayFilterNonNullObjectError">如果回调参数是某个类的方法,则可选参数“this”必须为空。</error>
759   <error id="2006" label="kParamRangeError">提供的索引超出范围。</error>
760   <error id="2007" label="kNullPointerError">参数 %1 不能为空。</error>
761   <error id="2008" label="kInvalidEnumError">参数 %1 必须是某个可接受的值。</error>
762   <error id="2012" label="kCantInstantiateError">无法实例化 %1 类。</error>
763   <error id="2030" label="kEOFError">遇到文件尾。</error>
764   <error id="2058" label="kCompressedDataError">解压缩数据时出错。</error>
765 </errors>