SerializerMessages_zh_TW.java revision 9f8118474e9513f7a5b7d2a05e4a0fb15d1a6569
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the  "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18/*
19 * $Id: SerializerMessages_zh_TW.java 471981 2006-11-07 04:28:00Z minchau $
20 */
21
22package org.apache.xml.serializer.utils;
23
24import java.util.ListResourceBundle;
25import java.util.Locale;
26import java.util.MissingResourceException;
27import java.util.ResourceBundle;
28
29/**
30 * An instance of this class is a ListResourceBundle that
31 * has the required getContents() method that returns
32 * an array of message-key/message associations.
33 * <p>
34 * The message keys are defined in {@link MsgKey}. The
35 * messages that those keys map to are defined here.
36 * <p>
37 * The messages in the English version are intended to be
38 * translated.
39 *
40 * This class is not a public API, it is only public because it is
41 * used in org.apache.xml.serializer.
42 *
43 * @xsl.usage internal
44 */
45public class SerializerMessages_zh_TW extends ListResourceBundle {
46
47    /*
48     * This file contains error and warning messages related to
49     * Serializer Error Handling.
50     *
51     *  General notes to translators:
52
53     *  1) A stylesheet is a description of how to transform an input XML document
54     *     into a resultant XML document (or HTML document or text).  The
55     *     stylesheet itself is described in the form of an XML document.
56
57     *
58     *  2) An element is a mark-up tag in an XML document; an attribute is a
59     *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
60     *     "elem" is an element name, "attr" and "attr2" are attribute names with
61     *     the values "val" and "val2", respectively.
62     *
63     *  3) A namespace declaration is a special attribute that is used to associate
64     *     a prefix with a URI (the namespace).  The meanings of element names and
65     *     attribute names that use that prefix are defined with respect to that
66     *     namespace.
67     *
68     *
69     */
70
71    /** The lookup table for error messages.   */
72    public Object[][] getContents() {
73        Object[][] contents = new Object[][] {
74            {   MsgKey.BAD_MSGKEY,
75                "\u8a0a\u606f\u9375 ''{0}'' \u4e0d\u5728\u8a0a\u606f\u985e\u5225 ''{1}'' \u4e2d" },
76
77            {   MsgKey.BAD_MSGFORMAT,
78                "\u8a0a\u606f\u985e\u5225 ''{1}'' \u4e2d\u7684\u8a0a\u606f ''{0}'' \u683c\u5f0f\u5316\u5931\u6557\u3002" },
79
80            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
81                "Serializer \u985e\u5225 ''{0}'' \u4e0d\u5be6\u4f5c org.xml.sax.ContentHandler\u3002" },
82
83            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
84                    "\u627e\u4e0d\u5230\u8cc7\u6e90 [ {0} ]\u3002\n {1}" },
85
86            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
87                    "\u7121\u6cd5\u8f09\u5165\u8cc7\u6e90 [ {0} ]\uff1a{1} \n {2} \t {3}" },
88
89            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
90                    "\u7de9\u885d\u5340\u5927\u5c0f <=0" },
91
92            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
93                    "\u5075\u6e2c\u5230\u7121\u6548\u7684 UTF-16 \u4ee3\u7406\uff1a{0}?" },
94
95            {   MsgKey.ER_OIERROR,
96                "IO \u932f\u8aa4" },
97
98            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
99                "\u5728\u7522\u751f\u5b50\u9805\u7bc0\u9ede\u4e4b\u5f8c\uff0c\u6216\u5728\u7522\u751f\u5143\u7d20\u4e4b\u524d\uff0c\u4e0d\u53ef\u65b0\u589e\u5c6c\u6027 {0}\u3002\u5c6c\u6027\u6703\u88ab\u5ffd\u7565\u3002" },
100
101            /*
102             * Note to translators:  The stylesheet contained a reference to a
103             * namespace prefix that was undefined.  The value of the substitution
104             * text is the name of the prefix.
105             */
106            {   MsgKey.ER_NAMESPACE_PREFIX,
107                "\u5b57\u9996 ''{0}'' \u7684\u540d\u7a31\u7a7a\u9593\u5c1a\u672a\u5ba3\u544a\u3002" },
108
109            /*
110             * Note to translators:  This message is reported if the stylesheet
111             * being processed attempted to construct an XML document with an
112             * attribute in a place other than on an element.  The substitution text
113             * specifies the name of the attribute.
114             */
115            {   MsgKey.ER_STRAY_ATTRIBUTE,
116                "\u5c6c\u6027 ''{0}'' \u8d85\u51fa\u5143\u7d20\u5916\u3002" },
117
118            /*
119             * Note to translators:  As with the preceding message, a namespace
120             * declaration has the form of an attribute and is only permitted to
121             * appear on an element.  The substitution text {0} is the namespace
122             * prefix and {1} is the URI that was being used in the erroneous
123             * namespace declaration.
124             */
125            {   MsgKey.ER_STRAY_NAMESPACE,
126                "\u540d\u7a31\u7a7a\u9593\u5ba3\u544a ''{0}''=''{1}'' \u8d85\u51fa\u5143\u7d20\u5916\u3002" },
127
128            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
129                "\u7121\u6cd5\u8f09\u5165 ''{0}''\uff08\u6aa2\u67e5 CLASSPATH\uff09\uff0c\u76ee\u524d\u53ea\u4f7f\u7528\u9810\u8a2d\u503c" },
130
131            {   MsgKey.ER_ILLEGAL_CHARACTER,
132                "\u8a66\u5716\u8f38\u51fa\u4e0d\u662f\u4ee5\u6307\u5b9a\u7684\u8f38\u51fa\u7de8\u78bc {1} \u5448\u73fe\u7684\u6574\u6578\u503c {0} \u7684\u5b57\u5143\u3002" },
133
134            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
135                "\u7121\u6cd5\u8f09\u5165\u8f38\u51fa\u65b9\u6cd5 ''{1}''\uff08\u6aa2\u67e5 CLASSPATH\uff09\u7684\u5167\u5bb9\u6a94 ''{0}''" },
136
137            {   MsgKey.ER_INVALID_PORT,
138                "\u7121\u6548\u7684\u57e0\u7de8\u865f" },
139
140            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
141                "\u4e3b\u6a5f\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u57e0" },
142
143            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
144                "\u4e3b\u6a5f\u6c92\u6709\u5b8c\u6574\u7684\u4f4d\u5740" },
145
146            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
147                "\u7db1\u8981\u4e0d\u662f conformant\u3002" },
148
149            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
150                "\u7121\u6cd5\u5f9e\u7a7a\u5b57\u4e32\u8a2d\u5b9a\u7db1\u8981" },
151
152            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
153                "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u8df3\u812b\u5b57\u5143" },
154
155            {   MsgKey.ER_PATH_INVALID_CHAR,
156                "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u5b57\u5143\uff1a{0}" },
157
158            {   MsgKey.ER_FRAG_INVALID_CHAR,
159                "\u7247\u6bb5\u5305\u542b\u7121\u6548\u7684\u5b57\u5143" },
160
161            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
162                "\u8def\u5f91\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u7247\u6bb5" },
163
164            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
165                "\u53ea\u80fd\u5c0d\u901a\u7528\u7684 URI \u8a2d\u5b9a\u7247\u6bb5" },
166
167            {   MsgKey.ER_NO_SCHEME_IN_URI,
168                "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981" },
169
170            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
171                "\u7121\u6cd5\u4ee5\u7a7a\u767d\u53c3\u6578\u8d77\u59cb\u8a2d\u5b9a URI" },
172
173            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
174                "\u7247\u6bb5\u7121\u6cd5\u540c\u6642\u5728\u8def\u5f91\u548c\u7247\u6bb5\u4e2d\u6307\u5b9a" },
175
176            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
177                "\u5728\u8def\u5f91\u53ca\u67e5\u8a62\u5b57\u4e32\u4e2d\u4e0d\u53ef\u6307\u5b9a\u67e5\u8a62\u5b57\u4e32" },
178
179            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
180                "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a\u57e0" },
181
182            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
183                "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a Userinfo" },
184            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
185                "\u8b66\u544a\uff1a\u8f38\u51fa\u6587\u4ef6\u7684\u7248\u672c\u8981\u6c42\u662f ''{0}''\u3002\u672a\u652f\u63f4\u9019\u500b\u7248\u672c\u7684 XML\u3002\u8f38\u51fa\u6587\u4ef6\u7684\u7248\u672c\u6703\u662f ''1.0''\u3002" },
186
187            {   MsgKey.ER_SCHEME_REQUIRED,
188                "\u7db1\u8981\u662f\u5fc5\u9700\u7684\uff01" },
189
190            /*
191             * Note to translators:  The words 'Properties' and
192             * 'SerializerFactory' in this message are Java class names
193             * and should not be translated.
194             */
195            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
196                "\u50b3\u905e\u5230 SerializerFactory \u7684 Properties \u7269\u4ef6\u6c92\u6709 ''{0}'' \u5167\u5bb9\u3002" },
197
198            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
199                "\u8b66\u544a\uff1aJava \u57f7\u884c\u6642\u671f\u4e0d\u652f\u63f4\u7de8\u78bc ''{0}''\u3002" },
200
201             {MsgKey.ER_FEATURE_NOT_FOUND,
202             "\u7121\u6cd5\u8fa8\u8b58\u53c3\u6578 ''{0}''\u3002"},
203
204             {MsgKey.ER_FEATURE_NOT_SUPPORTED,
205             "\u53ef\u8fa8\u8b58 ''{0}'' \u53c3\u6578\uff0c\u4f46\u6240\u8981\u6c42\u7684\u503c\u7121\u6cd5\u8a2d\u5b9a\u3002"},
206
207             {MsgKey.ER_STRING_TOO_LONG,
208             "\u7d50\u679c\u5b57\u4e32\u904e\u9577\uff0c\u7121\u6cd5\u7f6e\u5165 DOMString: ''{0}'' \u4e2d\u3002"},
209
210             {MsgKey.ER_TYPE_MISMATCH_ERR,
211             "\u9019\u500b\u53c3\u6578\u540d\u7a31\u7684\u503c\u985e\u578b\u8207\u671f\u671b\u503c\u985e\u578b\u4e0d\u76f8\u5bb9\u3002"},
212
213             {MsgKey.ER_NO_OUTPUT_SPECIFIED,
214             "\u8cc7\u6599\u8981\u5beb\u5165\u7684\u8f38\u51fa\u76ee\u7684\u5730\u70ba\u7a7a\u503c\u3002"},
215
216             {MsgKey.ER_UNSUPPORTED_ENCODING,
217             "\u767c\u73fe\u4e0d\u652f\u63f4\u7684\u7de8\u78bc\u3002"},
218
219             {MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
220             "\u7bc0\u9ede\u7121\u6cd5\u5e8f\u5217\u5316\u3002"},
221
222             {MsgKey.ER_CDATA_SECTIONS_SPLIT,
223             "CDATA \u5340\u6bb5\u5305\u542b\u4e00\u6216\u591a\u500b\u7d42\u6b62\u6a19\u8a18 ']]>'\u3002"},
224
225             {MsgKey.ER_WARNING_WF_NOT_CHECKED,
226                 "\u7121\u6cd5\u5efa\u7acb\u300c\u5f62\u5f0f\u5b8c\u6574\u300d\u6aa2\u67e5\u7a0b\u5f0f\u7684\u5be6\u4f8b\u3002Well-formed \u53c3\u6578\u96d6\u8a2d\u70ba true\uff0c\u4f46\u7121\u6cd5\u57f7\u884c\u5f62\u5f0f\u5b8c\u6574\u6aa2\u67e5\u3002"
227             },
228
229             {MsgKey.ER_WF_INVALID_CHARACTER,
230                 "\u7bc0\u9ede ''{0}'' \u5305\u542b\u7121\u6548\u7684 XML \u5b57\u5143\u3002"
231             },
232
233             { MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
234                 "\u5728\u8a3b\u89e3\u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
235             },
236
237             { MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
238                 "\u5728\u8655\u7406\u7a0b\u5e8f instructiondata \u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
239             },
240
241             { MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
242                 "\u5728 CDATASection \u7684\u5167\u5bb9\u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
243             },
244
245             { MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
246                 "\u5728\u7bc0\u9ede\u7684\u5b57\u5143\u8cc7\u6599\u5167\u5bb9\u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143 (Unicode: 0x{0})\u3002"
247             },
248
249             { MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
250                 "\u5728\u540d\u70ba ''{1}'' \u7684 ''{0}'' \u4e2d\u767c\u73fe\u7121\u6548\u7684 XML \u5b57\u5143\u3002"
251             },
252
253             { MsgKey.ER_WF_DASH_IN_COMMENT,
254                 "\u8a3b\u89e3\u4e2d\u4e0d\u5141\u8a31\u4f7f\u7528\u5b57\u4e32 \"--\"\u3002"
255             },
256
257             {MsgKey.ER_WF_LT_IN_ATTVAL,
258                 "\u8207\u5143\u7d20\u985e\u578b \"{0}\" \u76f8\u95dc\u806f\u7684\u5c6c\u6027 \"{1}\" \u503c\u4e0d\u53ef\u5305\u542b ''<'' \u5b57\u5143\u3002"
259             },
260
261             {MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
262                 "\u4e0d\u5141\u8a31\u4f7f\u7528\u672a\u5256\u6790\u7684\u5be6\u9ad4\u53c3\u7167 \"&{0};\"\u3002"
263             },
264
265             {MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
266                 "\u5c6c\u6027\u503c\u4e2d\u4e0d\u5141\u8a31\u4f7f\u7528\u5916\u90e8\u5be6\u9ad4\u53c3\u7167 \"&{0};\"\u3002"
267             },
268
269             {MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
270                 "\u5b57\u9996 \"{0}\" \u7121\u6cd5\u9023\u7d50\u5230\u540d\u7a31\u7a7a\u9593 \"{1}\"\u3002"
271             },
272
273             {MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
274                 "\u5143\u7d20 \"{0}\" \u7684\u672c\u7aef\u540d\u7a31\u662f\u7a7a\u503c\u3002"
275             },
276
277             {MsgKey.ER_NULL_LOCAL_ATTR_NAME,
278                 "\u5c6c\u6027 \"{0}\" \u7684\u672c\u7aef\u540d\u7a31\u662f\u7a7a\u503c\u3002"
279             },
280
281             { MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
282                 "\u5be6\u9ad4\u7bc0\u9ede \"{0}\" \u7684\u53d6\u4ee3\u6587\u5b57\u5305\u542b\u9644\u6709\u5df2\u5207\u65b7\u9023\u7d50\u5b57\u9996 \"{2}\" \u7684\u5143\u7d20\u7bc0\u9ede \"{1}\"\u3002"
283             },
284
285             { MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
286                 "\u5be6\u9ad4\u7bc0\u9ede \"{0}\" \u7684\u53d6\u4ee3\u6587\u5b57\u5305\u542b\u9644\u6709\u5df2\u5207\u65b7\u9023\u7d50\u5b57\u9996 \"{2}\" \u7684\u5c6c\u6027\u7bc0\u9ede \"{1}\"\u3002"
287             },
288
289        };
290
291        return contents;
292    }
293}
294