author | lana |
Fri, 20 May 2016 00:03:38 -0700 | |
changeset 39081 | 5988dd85b28e |
parent 25868 | 686eef1e7a79 |
child 42487 | daec85add036 |
permissions | -rw-r--r-- |
12005 | 1 |
/* |
2 |
* reserved comment block |
|
3 |
* DO NOT REMOVE OR ALTER! |
|
4 |
*/ |
|
5 |
/* |
|
6 |
* Copyright 2001-2004 The Apache Software Foundation. |
|
7 |
* |
|
8 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
9 |
* you may not use this file except in compliance with the License. |
|
10 |
* You may obtain a copy of the License at |
|
11 |
* |
|
12 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
13 |
* |
|
14 |
* Unless required by applicable law or agreed to in writing, software |
|
15 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
16 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
17 |
* See the License for the specific language governing permissions and |
|
18 |
* limitations under the License. |
|
19 |
*/ |
|
20 |
/* |
|
39081
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
21 |
* $Id: ErrorMessages_zh_CN.java /st_wptg_1.9.0.0.0jdk/2 2016/04/13 05:10:27 gmolloy Exp $ |
12005 | 22 |
*/ |
23 |
||
24 |
package com.sun.org.apache.xalan.internal.xsltc.compiler.util; |
|
25 |
||
26 |
import java.util.ListResourceBundle; |
|
27 |
||
28 |
/** |
|
29 |
* @author Morten Jorgensen |
|
30 |
*/ |
|
31 |
public class ErrorMessages_zh_CN extends ListResourceBundle { |
|
32 |
||
33 |
/* |
|
34 |
* XSLTC compile-time error messages. |
|
35 |
* |
|
36 |
* General notes to translators and definitions: |
|
37 |
* |
|
38 |
* 1) XSLTC is the name of the product. It is an acronym for "XSLT Compiler". |
|
39 |
* XSLT is an acronym for "XML Stylesheet Language: Transformations". |
|
40 |
* |
|
41 |
* 2) A stylesheet is a description of how to transform an input XML document |
|
42 |
* into a resultant XML document (or HTML document or text). The |
|
43 |
* stylesheet itself is described in the form of an XML document. |
|
44 |
* |
|
45 |
* 3) A template is a component of a stylesheet that is used to match a |
|
46 |
* particular portion of an input document and specifies the form of the |
|
47 |
* corresponding portion of the output document. |
|
48 |
* |
|
49 |
* 4) An axis is a particular "dimension" in a tree representation of an XML |
|
50 |
* document; the nodes in the tree are divided along different axes. |
|
51 |
* Traversing the "child" axis, for instance, means that the program |
|
52 |
* would visit each child of a particular node; traversing the "descendant" |
|
53 |
* axis means that the program would visit the child nodes of a particular |
|
54 |
* node, their children, and so on until the leaf nodes of the tree are |
|
55 |
* reached. |
|
56 |
* |
|
57 |
* 5) An iterator is an object that traverses nodes in a tree along a |
|
58 |
* particular axis, one at a time. |
|
59 |
* |
|
60 |
* 6) An element is a mark-up tag in an XML document; an attribute is a |
|
61 |
* modifier on the tag. For example, in <elem attr='val' attr2='val2'> |
|
62 |
* "elem" is an element name, "attr" and "attr2" are attribute names with |
|
63 |
* the values "val" and "val2", respectively. |
|
64 |
* |
|
65 |
* 7) A namespace declaration is a special attribute that is used to associate |
|
66 |
* a prefix with a URI (the namespace). The meanings of element names and |
|
67 |
* attribute names that use that prefix are defined with respect to that |
|
68 |
* namespace. |
|
69 |
* |
|
70 |
* 8) DOM is an acronym for Document Object Model. It is a tree |
|
71 |
* representation of an XML document. |
|
72 |
* |
|
73 |
* SAX is an acronym for the Simple API for XML processing. It is an API |
|
74 |
* used inform an XML processor (in this case XSLTC) of the structure and |
|
75 |
* content of an XML document. |
|
76 |
* |
|
77 |
* Input to the stylesheet processor can come from an XML parser in the |
|
78 |
* form of a DOM tree or through the SAX API. |
|
79 |
* |
|
80 |
* 9) DTD is a document type declaration. It is a way of specifying the |
|
81 |
* grammar for an XML file, the names and types of elements, attributes, |
|
82 |
* etc. |
|
83 |
* |
|
84 |
* 10) XPath is a specification that describes a notation for identifying |
|
85 |
* nodes in a tree-structured representation of an XML document. An |
|
86 |
* instance of that notation is referred to as an XPath expression. |
|
87 |
* |
|
88 |
* 11) Translet is an invented term that refers to the class file that contains |
|
89 |
* the compiled form of a stylesheet. |
|
90 |
*/ |
|
91 |
||
92 |
// These message should be read from a locale-specific resource bundle |
|
20955
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
93 |
/** Get the lookup table for error messages. |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
94 |
* |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
95 |
* @return The message lookup table. |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
96 |
*/ |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
97 |
public Object[][] getContents() |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
98 |
{ |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
99 |
return new Object[][] { |
12005 | 100 |
{ErrorMsg.MULTIPLE_STYLESHEET_ERR, |
101 |
"\u540C\u4E00\u6587\u4EF6\u4E2D\u5B9A\u4E49\u4E86\u591A\u4E2A\u6837\u5F0F\u8868\u3002"}, |
|
102 |
||
103 |
/* |
|
104 |
* Note to translators: The substitution text is the name of a |
|
105 |
* template. The same name was used on two different templates in the |
|
106 |
* same stylesheet. |
|
107 |
*/ |
|
108 |
{ErrorMsg.TEMPLATE_REDEF_ERR, |
|
109 |
"\u5DF2\u5728\u6B64\u6837\u5F0F\u8868\u4E2D\u5B9A\u4E49\u6A21\u677F ''{0}''\u3002"}, |
|
110 |
||
111 |
||
112 |
/* |
|
113 |
* Note to translators: The substitution text is the name of a |
|
114 |
* template. A reference to the template name was encountered, but the |
|
115 |
* template is undefined. |
|
116 |
*/ |
|
117 |
{ErrorMsg.TEMPLATE_UNDEF_ERR, |
|
118 |
"\u672A\u5728\u6B64\u6837\u5F0F\u8868\u4E2D\u5B9A\u4E49\u6A21\u677F ''{0}''\u3002"}, |
|
119 |
||
120 |
/* |
|
121 |
* Note to translators: The substitution text is the name of a variable |
|
122 |
* that was defined more than once. |
|
123 |
*/ |
|
124 |
{ErrorMsg.VARIABLE_REDEF_ERR, |
|
125 |
"\u540C\u4E00\u4F5C\u7528\u57DF\u4E2D\u591A\u6B21\u5B9A\u4E49\u4E86\u53D8\u91CF ''{0}''\u3002"}, |
|
126 |
||
127 |
/* |
|
128 |
* Note to translators: The substitution text is the name of a variable |
|
129 |
* or parameter. A reference to the variable or parameter was found, |
|
130 |
* but it was never defined. |
|
131 |
*/ |
|
132 |
{ErrorMsg.VARIABLE_UNDEF_ERR, |
|
133 |
"\u672A\u5B9A\u4E49\u53D8\u91CF\u6216\u53C2\u6570 ''{0}''\u3002"}, |
|
134 |
||
135 |
/* |
|
136 |
* Note to translators: The word "class" here refers to a Java class. |
|
137 |
* Processing the stylesheet required a class to be loaded, but it could |
|
138 |
* not be found. The substitution text is the name of the class. |
|
139 |
*/ |
|
140 |
{ErrorMsg.CLASS_NOT_FOUND_ERR, |
|
141 |
"\u627E\u4E0D\u5230\u7C7B ''{0}''\u3002"}, |
|
142 |
||
143 |
/* |
|
144 |
* Note to translators: The word "method" here refers to a Java method. |
|
145 |
* Processing the stylesheet required a reference to the method named by |
|
146 |
* the substitution text, but it could not be found. "public" is the |
|
147 |
* Java keyword. |
|
148 |
*/ |
|
149 |
{ErrorMsg.METHOD_NOT_FOUND_ERR, |
|
150 |
"\u627E\u4E0D\u5230\u5916\u90E8\u65B9\u6CD5 ''{0}'' (\u5FC5\u987B\u4E3A public)\u3002"}, |
|
151 |
||
152 |
/* |
|
153 |
* Note to translators: The word "method" here refers to a Java method. |
|
154 |
* Processing the stylesheet required a reference to the method named by |
|
155 |
* the substitution text, but no method with the required types of |
|
156 |
* arguments or return type could be found. |
|
157 |
*/ |
|
158 |
{ErrorMsg.ARGUMENT_CONVERSION_ERR, |
|
159 |
"\u65E0\u6CD5\u5728\u8C03\u7528\u65B9\u6CD5 ''{0}'' \u65F6\u8F6C\u6362\u53C2\u6570/\u8FD4\u56DE\u7C7B\u578B"}, |
|
160 |
||
161 |
/* |
|
162 |
* Note to translators: The file or URI named in the substitution text |
|
163 |
* is missing. |
|
164 |
*/ |
|
165 |
{ErrorMsg.FILE_NOT_FOUND_ERR, |
|
166 |
"\u627E\u4E0D\u5230\u6587\u4EF6\u6216 URI ''{0}''\u3002"}, |
|
167 |
||
168 |
/* |
|
169 |
* Note to translators: This message is displayed when the URI |
|
170 |
* mentioned in the substitution text is not well-formed syntactically. |
|
171 |
*/ |
|
172 |
{ErrorMsg.INVALID_URI_ERR, |
|
173 |
"URI ''{0}'' \u65E0\u6548\u3002"}, |
|
174 |
||
175 |
/* |
|
176 |
* Note to translators: The file or URI named in the substitution text |
|
177 |
* exists but could not be opened. |
|
178 |
*/ |
|
179 |
{ErrorMsg.FILE_ACCESS_ERR, |
|
180 |
"\u65E0\u6CD5\u6253\u5F00\u6587\u4EF6\u6216 URI ''{0}''\u3002"}, |
|
181 |
||
182 |
/* |
|
183 |
* Note to translators: <xsl:stylesheet> and <xsl:transform> are |
|
184 |
* keywords that should not be translated. |
|
185 |
*/ |
|
186 |
{ErrorMsg.MISSING_ROOT_ERR, |
|
187 |
"\u9700\u8981 <xsl:stylesheet> \u6216 <xsl:transform> \u5143\u7D20\u3002"}, |
|
188 |
||
189 |
/* |
|
190 |
* Note to translators: The stylesheet contained a reference to a |
|
191 |
* namespace prefix that was undefined. The value of the substitution |
|
192 |
* text is the name of the prefix. |
|
193 |
*/ |
|
194 |
{ErrorMsg.NAMESPACE_UNDEF_ERR, |
|
195 |
"\u672A\u58F0\u660E\u540D\u79F0\u7A7A\u95F4\u524D\u7F00 ''{0}''\u3002"}, |
|
196 |
||
197 |
/* |
|
198 |
* Note to translators: The Java function named in the stylesheet could |
|
199 |
* not be found. |
|
200 |
*/ |
|
201 |
{ErrorMsg.FUNCTION_RESOLVE_ERR, |
|
202 |
"\u65E0\u6CD5\u89E3\u6790\u5BF9\u51FD\u6570 ''{0}'' \u7684\u8C03\u7528\u3002"}, |
|
203 |
||
204 |
/* |
|
205 |
* Note to translators: The substitution text is the name of a |
|
206 |
* function. A literal string here means a constant string value. |
|
207 |
*/ |
|
208 |
{ErrorMsg.NEED_LITERAL_ERR, |
|
209 |
"''{0}'' \u7684\u53C2\u6570\u5FC5\u987B\u662F\u6587\u5B57\u5B57\u7B26\u4E32\u3002"}, |
|
210 |
||
211 |
/* |
|
212 |
* Note to translators: This message indicates there was a syntactic |
|
213 |
* error in the form of an XPath expression. The substitution text is |
|
214 |
* the expression. |
|
215 |
*/ |
|
216 |
{ErrorMsg.XPATH_PARSER_ERR, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
217 |
"\u89E3\u6790 XPath \u8868\u8FBE\u5F0F ''{0}'' \u65F6\u51FA\u9519\u3002"}, |
12005 | 218 |
|
219 |
/* |
|
220 |
* Note to translators: An element in the stylesheet requires a |
|
221 |
* particular attribute named by the substitution text, but that |
|
222 |
* attribute was not specified in the stylesheet. |
|
223 |
*/ |
|
224 |
{ErrorMsg.REQUIRED_ATTR_ERR, |
|
225 |
"\u7F3A\u5C11\u6240\u9700\u5C5E\u6027 ''{0}''\u3002"}, |
|
226 |
||
227 |
/* |
|
228 |
* Note to translators: This message indicates that a character not |
|
229 |
* permitted in an XPath expression was encountered. The substitution |
|
230 |
* text is the offending character. |
|
231 |
*/ |
|
232 |
{ErrorMsg.ILLEGAL_CHAR_ERR, |
|
233 |
"XPath \u8868\u8FBE\u5F0F\u4E2D\u7684\u5B57\u7B26 ''{0}'' \u975E\u6CD5\u3002"}, |
|
234 |
||
235 |
/* |
|
236 |
* Note to translators: A processing instruction is a mark-up item in |
|
237 |
* an XML document that request some behaviour of an XML processor. The |
|
238 |
* form of the name of was invalid in this case, and the substitution |
|
239 |
* text is the name. |
|
240 |
*/ |
|
241 |
{ErrorMsg.ILLEGAL_PI_ERR, |
|
242 |
"processing instruction \u7684\u540D\u79F0 ''{0}'' \u975E\u6CD5\u3002"}, |
|
243 |
||
244 |
/* |
|
245 |
* Note to translators: This message is reported if the stylesheet |
|
246 |
* being processed attempted to construct an XML document with an |
|
247 |
* attribute in a place other than on an element. The substitution text |
|
248 |
* specifies the name of the attribute. |
|
249 |
*/ |
|
250 |
{ErrorMsg.STRAY_ATTRIBUTE_ERR, |
|
251 |
"\u5C5E\u6027 ''{0}'' \u5728\u5143\u7D20\u5916\u90E8\u3002"}, |
|
252 |
||
253 |
/* |
|
254 |
* Note to translators: An attribute that wasn't recognized was |
|
255 |
* specified on an element in the stylesheet. The attribute is named |
|
256 |
* by the substitution |
|
257 |
* text. |
|
258 |
*/ |
|
259 |
{ErrorMsg.ILLEGAL_ATTRIBUTE_ERR, |
|
260 |
"\u5C5E\u6027 ''{0}'' \u975E\u6CD5\u3002"}, |
|
261 |
||
262 |
/* |
|
263 |
* Note to translators: "import" and "include" are keywords that should |
|
264 |
* not be translated. This messages indicates that the stylesheet |
|
265 |
* named in the substitution text imported or included itself either |
|
266 |
* directly or indirectly. |
|
267 |
*/ |
|
268 |
{ErrorMsg.CIRCULAR_INCLUDE_ERR, |
|
269 |
"\u5FAA\u73AF import/include\u3002\u5DF2\u52A0\u8F7D\u6837\u5F0F\u8868 ''{0}''\u3002"}, |
|
270 |
||
271 |
/* |
|
272 |
* Note to translators: A result-tree fragment is a portion of a |
|
273 |
* resulting XML document represented as a tree. "<xsl:sort>" is a |
|
274 |
* keyword and should not be translated. |
|
275 |
*/ |
|
276 |
{ErrorMsg.RESULT_TREE_SORT_ERR, |
|
277 |
"\u65E0\u6CD5\u5BF9\u7ED3\u679C\u6811\u7247\u6BB5\u6392\u5E8F (\u5FFD\u7565 <xsl:sort> \u5143\u7D20)\u3002\u5FC5\u987B\u5728\u521B\u5EFA\u7ED3\u679C\u6811\u65F6\u5BF9\u8282\u70B9\u8FDB\u884C\u6392\u5E8F\u3002"}, |
|
278 |
||
279 |
/* |
|
280 |
* Note to translators: A name can be given to a particular style to be |
|
281 |
* used to format decimal values. The substitution text gives the name |
|
282 |
* of such a style for which more than one declaration was encountered. |
|
283 |
*/ |
|
284 |
{ErrorMsg.SYMBOLS_REDEF_ERR, |
|
285 |
"\u5DF2\u5B9A\u4E49\u5341\u8FDB\u5236\u683C\u5F0F ''{0}''\u3002"}, |
|
286 |
||
287 |
/* |
|
288 |
* Note to translators: The stylesheet version named in the |
|
289 |
* substitution text is not supported. |
|
290 |
*/ |
|
291 |
{ErrorMsg.XSL_VERSION_ERR, |
|
292 |
"XSLTC \u4E0D\u652F\u6301 XSL \u7248\u672C ''{0}''\u3002"}, |
|
293 |
||
294 |
/* |
|
295 |
* Note to translators: The definitions of one or more variables or |
|
296 |
* parameters depend on one another. |
|
297 |
*/ |
|
298 |
{ErrorMsg.CIRCULAR_VARIABLE_ERR, |
|
299 |
"''{0}'' \u4E2D\u5B58\u5728\u5FAA\u73AF\u53D8\u91CF/\u53C2\u6570\u5F15\u7528\u3002"}, |
|
300 |
||
301 |
/* |
|
302 |
* Note to translators: The operator in an expresion with two operands was |
|
303 |
* not recognized. |
|
304 |
*/ |
|
305 |
{ErrorMsg.ILLEGAL_BINARY_OP_ERR, |
|
306 |
"\u4E8C\u8FDB\u5236\u8868\u8FBE\u5F0F\u7684\u8FD0\u7B97\u7B26\u672A\u77E5\u3002"}, |
|
307 |
||
308 |
/* |
|
309 |
* Note to translators: This message is produced if a reference to a |
|
310 |
* function has too many or too few arguments. |
|
311 |
*/ |
|
312 |
{ErrorMsg.ILLEGAL_ARG_ERR, |
|
313 |
"\u51FD\u6570\u8C03\u7528\u7684\u53C2\u6570\u975E\u6CD5\u3002"}, |
|
314 |
||
315 |
/* |
|
316 |
* Note to translators: "document()" is the name of function and must |
|
317 |
* not be translated. A node-set is a set of the nodes in the tree |
|
318 |
* representation of an XML document. |
|
319 |
*/ |
|
320 |
{ErrorMsg.DOCUMENT_ARG_ERR, |
|
321 |
"document() \u51FD\u6570\u7684\u7B2C\u4E8C\u4E2A\u53C2\u6570\u5FC5\u987B\u662F\u8282\u70B9\u96C6\u3002"}, |
|
322 |
||
323 |
/* |
|
324 |
* Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords |
|
325 |
* and should not be translated. This message describes a syntax error |
|
326 |
* in the stylesheet. |
|
327 |
*/ |
|
328 |
{ErrorMsg.MISSING_WHEN_ERR, |
|
329 |
"<xsl:choose> \u4E2D\u81F3\u5C11\u9700\u8981\u4E00\u4E2A <xsl:when> \u5143\u7D20\u3002"}, |
|
330 |
||
331 |
/* |
|
332 |
* Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are |
|
333 |
* keywords and should not be translated. This message describes a |
|
334 |
* syntax error in the stylesheet. |
|
335 |
*/ |
|
336 |
{ErrorMsg.MULTIPLE_OTHERWISE_ERR, |
|
337 |
"<xsl:choose> \u4E2D\u4EC5\u5141\u8BB8\u4F7F\u7528\u4E00\u4E2A <xsl:otherwise> \u5143\u7D20\u3002"}, |
|
338 |
||
339 |
/* |
|
340 |
* Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are |
|
341 |
* keywords and should not be translated. This message describes a |
|
342 |
* syntax error in the stylesheet. |
|
343 |
*/ |
|
344 |
{ErrorMsg.STRAY_OTHERWISE_ERR, |
|
345 |
"<xsl:otherwise> \u53EA\u80FD\u5728 <xsl:choose> \u4E2D\u4F7F\u7528\u3002"}, |
|
346 |
||
347 |
/* |
|
348 |
* Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords |
|
349 |
* and should not be translated. This message describes a syntax error |
|
350 |
* in the stylesheet. |
|
351 |
*/ |
|
352 |
{ErrorMsg.STRAY_WHEN_ERR, |
|
353 |
"<xsl:when> \u53EA\u80FD\u5728 <xsl:choose> \u4E2D\u4F7F\u7528\u3002"}, |
|
354 |
||
355 |
/* |
|
356 |
* Note to translators: "<xsl:when>", "<xsl:otherwise>" and |
|
357 |
* "<xsl:choose>" are keywords and should not be translated. This |
|
358 |
* message describes a syntax error in the stylesheet. |
|
359 |
*/ |
|
360 |
{ErrorMsg.WHEN_ELEMENT_ERR, |
|
361 |
"<xsl:choose> \u4E2D\u4EC5\u5141\u8BB8\u4F7F\u7528 <xsl:when> \u548C <xsl:otherwise> \u5143\u7D20\u3002"}, |
|
362 |
||
363 |
/* |
|
364 |
* Note to translators: "<xsl:attribute-set>" and "name" are keywords |
|
365 |
* that should not be translated. |
|
366 |
*/ |
|
367 |
{ErrorMsg.UNNAMED_ATTRIBSET_ERR, |
|
368 |
"<xsl:attribute-set> \u7F3A\u5C11 'name' \u5C5E\u6027\u3002"}, |
|
369 |
||
370 |
/* |
|
371 |
* Note to translators: An element in the stylesheet contained an |
|
372 |
* element of a type that it was not permitted to contain. |
|
373 |
*/ |
|
374 |
{ErrorMsg.ILLEGAL_CHILD_ERR, |
|
375 |
"\u5B50\u5143\u7D20\u975E\u6CD5\u3002"}, |
|
376 |
||
377 |
/* |
|
378 |
* Note to translators: The stylesheet tried to create an element with |
|
379 |
* a name that was not a valid XML name. The substitution text contains |
|
380 |
* the name. |
|
381 |
*/ |
|
382 |
{ErrorMsg.ILLEGAL_ELEM_NAME_ERR, |
|
383 |
"\u65E0\u6CD5\u8C03\u7528\u5143\u7D20 ''{0}''"}, |
|
384 |
||
385 |
/* |
|
386 |
* Note to translators: The stylesheet tried to create an attribute |
|
387 |
* with a name that was not a valid XML name. The substitution text |
|
388 |
* contains the name. |
|
389 |
*/ |
|
390 |
{ErrorMsg.ILLEGAL_ATTR_NAME_ERR, |
|
391 |
"\u65E0\u6CD5\u8C03\u7528\u5C5E\u6027 ''{0}''"}, |
|
392 |
||
393 |
/* |
|
394 |
* Note to translators: The children of the outermost element of a |
|
395 |
* stylesheet are referred to as top-level elements. No text should |
|
396 |
* occur within that outermost element unless it is within a top-level |
|
397 |
* element. This message indicates that that constraint was violated. |
|
398 |
* "<xsl:stylesheet>" is a keyword that should not be translated. |
|
399 |
*/ |
|
400 |
{ErrorMsg.ILLEGAL_TEXT_NODE_ERR, |
|
401 |
"\u6587\u672C\u6570\u636E\u4F4D\u4E8E\u9876\u7EA7 <xsl:stylesheet> \u5143\u7D20\u5916\u90E8\u3002"}, |
|
402 |
||
403 |
/* |
|
404 |
* Note to translators: JAXP is an acronym for the Java API for XML |
|
405 |
* Processing. This message indicates that the XML parser provided to |
|
406 |
* XSLTC to process the XML input document had a configuration problem. |
|
407 |
*/ |
|
408 |
{ErrorMsg.SAX_PARSER_CONFIG_ERR, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
409 |
"JAXP \u89E3\u6790\u5668\u672A\u6B63\u786E\u914D\u7F6E"}, |
12005 | 410 |
|
411 |
/* |
|
412 |
* Note to translators: The substitution text names the internal error |
|
413 |
* encountered. |
|
414 |
*/ |
|
415 |
{ErrorMsg.INTERNAL_ERR, |
|
416 |
"\u4E0D\u53EF\u6062\u590D\u7684 XSLTC \u5185\u90E8\u9519\u8BEF: ''{0}''"}, |
|
417 |
||
418 |
/* |
|
419 |
* Note to translators: The stylesheet contained an element that was |
|
420 |
* not recognized as part of the XSL syntax. The substitution text |
|
421 |
* gives the element name. |
|
422 |
*/ |
|
423 |
{ErrorMsg.UNSUPPORTED_XSL_ERR, |
|
424 |
"XSL \u5143\u7D20 ''{0}'' \u4E0D\u53D7\u652F\u6301\u3002"}, |
|
425 |
||
426 |
/* |
|
427 |
* Note to translators: The stylesheet referred to an extension to the |
|
428 |
* XSL syntax and indicated that it was defined by XSLTC, but XSTLC does |
|
429 |
* not recognized the particular extension named. The substitution text |
|
430 |
* gives the extension name. |
|
431 |
*/ |
|
432 |
{ErrorMsg.UNSUPPORTED_EXT_ERR, |
|
433 |
"XSLTC \u6269\u5C55 ''{0}'' \u65E0\u6CD5\u8BC6\u522B\u3002"}, |
|
434 |
||
435 |
/* |
|
436 |
* Note to translators: The XML document given to XSLTC as a stylesheet |
|
437 |
* was not, in fact, a stylesheet. XSLTC is able to detect that in this |
|
438 |
* case because the outermost element in the stylesheet has to be |
|
439 |
* declared with respect to the XSL namespace URI, but no declaration |
|
440 |
* for that namespace was seen. |
|
441 |
*/ |
|
442 |
{ErrorMsg.MISSING_XSLT_URI_ERR, |
|
443 |
"\u8F93\u5165\u6587\u6863\u4E0D\u662F\u6837\u5F0F\u8868 (\u672A\u5728\u6839\u5143\u7D20\u4E2D\u58F0\u660E XSL \u540D\u79F0\u7A7A\u95F4)\u3002"}, |
|
444 |
||
445 |
/* |
|
446 |
* Note to translators: XSLTC could not find the stylesheet document |
|
447 |
* with the name specified by the substitution text. |
|
448 |
*/ |
|
449 |
{ErrorMsg.MISSING_XSLT_TARGET_ERR, |
|
450 |
"\u627E\u4E0D\u5230\u6837\u5F0F\u8868\u76EE\u6807 ''{0}''\u3002"}, |
|
451 |
||
452 |
/* |
|
17534 | 453 |
* Note to translators: access to the stylesheet target is denied |
454 |
*/ |
|
455 |
{ErrorMsg.ACCESSING_XSLT_TARGET_ERR, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
456 |
"\u7531\u4E8E accessExternalStylesheet \u5C5E\u6027\u8BBE\u7F6E\u7684\u9650\u5236\u800C\u4E0D\u5141\u8BB8 ''{1}'' \u8BBF\u95EE, \u56E0\u6B64\u65E0\u6CD5\u8BFB\u53D6\u6837\u5F0F\u8868\u76EE\u6807 ''{0}''\u3002"}, |
17534 | 457 |
|
458 |
/* |
|
12005 | 459 |
* Note to translators: This message represents an internal error in |
460 |
* condition in XSLTC. The substitution text is the class name in XSLTC |
|
461 |
* that is missing some functionality. |
|
462 |
*/ |
|
463 |
{ErrorMsg.NOT_IMPLEMENTED_ERR, |
|
464 |
"\u672A\u5B9E\u73B0: ''{0}''\u3002"}, |
|
465 |
||
466 |
/* |
|
467 |
* Note to translators: The XML document given to XSLTC as a stylesheet |
|
468 |
* was not, in fact, a stylesheet. |
|
469 |
*/ |
|
470 |
{ErrorMsg.NOT_STYLESHEET_ERR, |
|
471 |
"\u8F93\u5165\u6587\u6863\u4E0D\u5305\u542B XSL \u6837\u5F0F\u8868\u3002"}, |
|
472 |
||
473 |
/* |
|
474 |
* Note to translators: The element named in the substitution text was |
|
475 |
* encountered in the stylesheet but is not recognized. |
|
476 |
*/ |
|
477 |
{ErrorMsg.ELEMENT_PARSE_ERR, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
478 |
"\u65E0\u6CD5\u89E3\u6790\u5143\u7D20 ''{0}''"}, |
12005 | 479 |
|
480 |
/* |
|
481 |
* Note to translators: "use", "<key>", "node", "node-set", "string" |
|
482 |
* and "number" are keywords in this context and should not be |
|
483 |
* translated. This message indicates that the value of the "use" |
|
484 |
* attribute was not one of the permitted values. |
|
485 |
*/ |
|
486 |
{ErrorMsg.KEY_USE_ATTR_ERR, |
|
487 |
"<key> \u7684 use \u5C5E\u6027\u5FC5\u987B\u662F node, node-set, string \u6216 number\u3002"}, |
|
488 |
||
489 |
/* |
|
490 |
* Note to translators: An XML document can specify the version of the |
|
491 |
* XML specification to which it adheres. This message indicates that |
|
492 |
* the version specified for the output document was not valid. |
|
493 |
*/ |
|
494 |
{ErrorMsg.OUTPUT_VERSION_ERR, |
|
495 |
"\u8F93\u51FA XML \u6587\u6863\u7248\u672C\u5E94\u4E3A 1.0"}, |
|
496 |
||
497 |
/* |
|
498 |
* Note to translators: The operator in a comparison operation was |
|
499 |
* not recognized. |
|
500 |
*/ |
|
501 |
{ErrorMsg.ILLEGAL_RELAT_OP_ERR, |
|
502 |
"\u5173\u7CFB\u8868\u8FBE\u5F0F\u7684\u8FD0\u7B97\u7B26\u672A\u77E5"}, |
|
503 |
||
504 |
/* |
|
505 |
* Note to translators: An attribute set defines as a set of XML |
|
506 |
* attributes that can be added to an element in the output XML document |
|
507 |
* as a group. This message is reported if the name specified was not |
|
508 |
* used to declare an attribute set. The substitution text is the name |
|
509 |
* that is in error. |
|
510 |
*/ |
|
511 |
{ErrorMsg.ATTRIBSET_UNDEF_ERR, |
|
512 |
"\u5C1D\u8BD5\u4F7F\u7528\u4E0D\u5B58\u5728\u7684\u5C5E\u6027\u96C6 ''{0}''\u3002"}, |
|
513 |
||
514 |
/* |
|
515 |
* Note to translators: The term "attribute value template" is a term |
|
516 |
* defined by XSLT which describes the value of an attribute that is |
|
517 |
* determined by an XPath expression. The message indicates that the |
|
518 |
* expression was syntactically incorrect; the substitution text |
|
519 |
* contains the expression that was in error. |
|
520 |
*/ |
|
521 |
{ErrorMsg.ATTR_VAL_TEMPLATE_ERR, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
522 |
"\u65E0\u6CD5\u89E3\u6790\u5C5E\u6027\u503C\u6A21\u677F ''{0}''\u3002"}, |
12005 | 523 |
|
524 |
/* |
|
525 |
* Note to translators: ??? |
|
526 |
*/ |
|
527 |
{ErrorMsg.UNKNOWN_SIG_TYPE_ERR, |
|
528 |
"\u7C7B ''{0}'' \u7684\u7B7E\u540D\u4E2D\u7684\u6570\u636E\u7C7B\u578B\u672A\u77E5\u3002"}, |
|
529 |
||
530 |
/* |
|
531 |
* Note to translators: The substitution text refers to data types. |
|
532 |
* The message is displayed if a value in a particular context needs to |
|
533 |
* be converted to type {1}, but that's not possible for a value of |
|
534 |
* type {0}. |
|
535 |
*/ |
|
536 |
{ErrorMsg.DATA_CONVERSION_ERR, |
|
537 |
"\u65E0\u6CD5\u5C06\u6570\u636E\u7C7B\u578B ''{0}'' \u8F6C\u6362\u4E3A ''{1}''\u3002"}, |
|
538 |
||
539 |
/* |
|
540 |
* Note to translators: "Templates" is a Java class name that should |
|
541 |
* not be translated. |
|
542 |
*/ |
|
543 |
{ErrorMsg.NO_TRANSLET_CLASS_ERR, |
|
544 |
"\u6B64 Templates \u4E0D\u5305\u542B\u6709\u6548\u7684 translet \u7C7B\u5B9A\u4E49\u3002"}, |
|
545 |
||
546 |
/* |
|
547 |
* Note to translators: "Templates" is a Java class name that should |
|
548 |
* not be translated. |
|
549 |
*/ |
|
550 |
{ErrorMsg.NO_MAIN_TRANSLET_ERR, |
|
551 |
"\u6B64 Templates \u4E0D\u5305\u542B\u540D\u4E3A ''{0}'' \u7684\u7C7B\u3002"}, |
|
552 |
||
553 |
/* |
|
554 |
* Note to translators: The substitution text is the name of a class. |
|
555 |
*/ |
|
556 |
{ErrorMsg.TRANSLET_CLASS_ERR, |
|
557 |
"\u65E0\u6CD5\u52A0\u8F7D translet \u7C7B ''{0}''\u3002"}, |
|
558 |
||
559 |
{ErrorMsg.TRANSLET_OBJECT_ERR, |
|
560 |
"\u5DF2\u52A0\u8F7D Translet \u7C7B, \u4F46\u65E0\u6CD5\u521B\u5EFA translet \u5B9E\u4F8B\u3002"}, |
|
561 |
||
562 |
/* |
|
563 |
* Note to translators: "ErrorListener" is a Java interface name that |
|
564 |
* should not be translated. The message indicates that the user tried |
|
565 |
* to set an ErrorListener object on object of the class named in the |
|
566 |
* substitution text with "null" Java value. |
|
567 |
*/ |
|
568 |
{ErrorMsg.ERROR_LISTENER_NULL_ERR, |
|
569 |
"\u5C1D\u8BD5\u5C06 ''{0}'' \u7684 ErrorListener \u8BBE\u7F6E\u4E3A\u7A7A\u503C"}, |
|
570 |
||
571 |
/* |
|
572 |
* Note to translators: StreamSource, SAXSource and DOMSource are Java |
|
573 |
* interface names that should not be translated. |
|
574 |
*/ |
|
575 |
{ErrorMsg.JAXP_UNKNOWN_SOURCE_ERR, |
|
576 |
"XSLTC \u4EC5\u652F\u6301 StreamSource, SAXSource \u548C DOMSource"}, |
|
577 |
||
578 |
/* |
|
579 |
* Note to translators: "Source" is a Java class name that should not |
|
580 |
* be translated. The substitution text is the name of Java method. |
|
581 |
*/ |
|
582 |
{ErrorMsg.JAXP_NO_SOURCE_ERR, |
|
583 |
"\u4F20\u9012\u5230 ''{0}'' \u7684 Source \u5BF9\u8C61\u4E0D\u5305\u542B\u4EFB\u4F55\u5185\u5BB9\u3002"}, |
|
584 |
||
585 |
/* |
|
586 |
* Note to translators: The message indicates that XSLTC failed to |
|
587 |
* compile the stylesheet into a translet (class file). |
|
588 |
*/ |
|
589 |
{ErrorMsg.JAXP_COMPILE_ERR, |
|
590 |
"\u65E0\u6CD5\u7F16\u8BD1\u6837\u5F0F\u8868"}, |
|
591 |
||
592 |
/* |
|
593 |
* Note to translators: "TransformerFactory" is a class name. In this |
|
594 |
* context, an attribute is a property or setting of the |
|
595 |
* TransformerFactory object. The substitution text is the name of the |
|
596 |
* unrecognised attribute. The method used to retrieve the attribute is |
|
597 |
* "getAttribute", so it's not clear whether it would be best to |
|
598 |
* translate the term "attribute". |
|
599 |
*/ |
|
600 |
{ErrorMsg.JAXP_INVALID_ATTR_ERR, |
|
601 |
"TransformerFactory \u65E0\u6CD5\u8BC6\u522B\u5C5E\u6027 ''{0}''\u3002"}, |
|
602 |
||
39081
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
603 |
{ErrorMsg.JAXP_INVALID_ATTR_VALUE_ERR, |
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
604 |
"\u4E3A ''{0}'' \u5C5E\u6027\u6307\u5B9A\u7684\u503C\u4E0D\u6B63\u786E\u3002"}, |
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
605 |
|
12005 | 606 |
/* |
607 |
* Note to translators: "setResult()" and "startDocument()" are Java |
|
608 |
* method names that should not be translated. |
|
609 |
*/ |
|
610 |
{ErrorMsg.JAXP_SET_RESULT_ERR, |
|
611 |
"\u5FC5\u987B\u5148\u8C03\u7528 setResult(), \u518D\u8C03\u7528 startDocument()\u3002"}, |
|
612 |
||
613 |
/* |
|
614 |
* Note to translators: "Transformer" is a Java interface name that |
|
615 |
* should not be translated. A Transformer object should contained a |
|
616 |
* reference to a translet object in order to be used for |
|
617 |
* transformations; this message is produced if that requirement is not |
|
618 |
* met. |
|
619 |
*/ |
|
620 |
{ErrorMsg.JAXP_NO_TRANSLET_ERR, |
|
621 |
"Transformer \u6CA1\u6709\u5185\u5D4C\u7684 translet \u5BF9\u8C61\u3002"}, |
|
622 |
||
623 |
/* |
|
624 |
* Note to translators: The XML document that results from a |
|
625 |
* transformation needs to be sent to an output handler object; this |
|
626 |
* message is produced if that requirement is not met. |
|
627 |
*/ |
|
628 |
{ErrorMsg.JAXP_NO_HANDLER_ERR, |
|
629 |
"\u8F6C\u6362\u7ED3\u679C\u6CA1\u6709\u5B9A\u4E49\u7684\u8F93\u51FA\u5904\u7406\u7A0B\u5E8F\u3002"}, |
|
630 |
||
631 |
/* |
|
632 |
* Note to translators: "Result" is a Java interface name in this |
|
633 |
* context. The substitution text is a method name. |
|
634 |
*/ |
|
635 |
{ErrorMsg.JAXP_NO_RESULT_ERR, |
|
636 |
"\u4F20\u9012\u5230 ''{0}'' \u7684 Result \u5BF9\u8C61\u65E0\u6548\u3002"}, |
|
637 |
||
638 |
/* |
|
639 |
* Note to translators: "Transformer" is a Java interface name. The |
|
640 |
* user's program attempted to access an unrecognized property with the |
|
641 |
* name specified in the substitution text. The method used to retrieve |
|
642 |
* the property is "getOutputProperty", so it's not clear whether it |
|
643 |
* would be best to translate the term "property". |
|
644 |
*/ |
|
645 |
{ErrorMsg.JAXP_UNKNOWN_PROP_ERR, |
|
646 |
"\u5C1D\u8BD5\u8BBF\u95EE\u65E0\u6548\u7684 Transformer \u5C5E\u6027 ''{0}''\u3002"}, |
|
647 |
||
648 |
/* |
|
649 |
* Note to translators: SAX2DOM is the name of a Java class that should |
|
650 |
* not be translated. This is an adapter in the sense that it takes a |
|
651 |
* DOM object and converts it to something that uses the SAX API. |
|
652 |
*/ |
|
653 |
{ErrorMsg.SAX2DOM_ADAPTER_ERR, |
|
654 |
"\u65E0\u6CD5\u521B\u5EFA SAX2DOM \u9002\u914D\u5668: ''{0}''\u3002"}, |
|
655 |
||
656 |
/* |
|
657 |
* Note to translators: "XSLTCSource.build()" is a Java method name. |
|
658 |
* "systemId" is an XML term that is short for "system identification". |
|
659 |
*/ |
|
660 |
{ErrorMsg.XSLTC_SOURCE_ERR, |
|
661 |
"\u8C03\u7528 XSLTCSource.build() \u65F6\u672A\u8BBE\u7F6E systemId\u3002"}, |
|
662 |
||
663 |
{ ErrorMsg.ER_RESULT_NULL, |
|
664 |
"Result \u4E0D\u80FD\u4E3A\u7A7A\u503C"}, |
|
665 |
||
666 |
/* |
|
667 |
* Note to translators: This message indicates that the value argument |
|
668 |
* of setParameter must be a valid Java Object. |
|
669 |
*/ |
|
670 |
{ErrorMsg.JAXP_INVALID_SET_PARAM_VALUE, |
|
671 |
"\u53C2\u6570 {0} \u7684\u503C\u5FC5\u987B\u662F\u6709\u6548 Java \u5BF9\u8C61"}, |
|
672 |
||
673 |
||
674 |
{ErrorMsg.COMPILE_STDIN_ERR, |
|
675 |
"-i \u9009\u9879\u5FC5\u987B\u4E0E -o \u9009\u9879\u4E00\u8D77\u4F7F\u7528\u3002"}, |
|
676 |
||
677 |
||
678 |
/* |
|
679 |
* Note to translators: This message contains usage information for a |
|
680 |
* means of invoking XSLTC from the command-line. The message is |
|
681 |
* formatted for presentation in English. The strings <output>, |
|
682 |
* <directory>, etc. indicate user-specified argument values, and can |
|
683 |
* be translated - the argument <package> refers to a Java package, so |
|
684 |
* it should be handled in the same way the term is handled for JDK |
|
685 |
* documentation. |
|
686 |
*/ |
|
687 |
{ErrorMsg.COMPILE_USAGE_STR, |
|
688 |
"\u63D0\u8981\n java com.sun.org.apache.xalan.internal.xsltc.cmdline.Compile [-o <\u8F93\u51FA>]\n [-d <\u76EE\u5F55>] [-j <jarfile>] [-p <\u7A0B\u5E8F\u5305>]\n [-n] [-x] [-u] [-v] [-h] { <\u6837\u5F0F\u8868> | -i }\n\n\u9009\u9879\n -o <\u8F93\u51FA> \u4E3A\u751F\u6210\u7684 translet \u5206\u914D\n \u540D\u79F0 <\u8F93\u51FA>\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B, translet \u540D\u79F0\n \u6D3E\u751F\u81EA <\u6837\u5F0F\u8868> \u540D\u79F0\u3002\u5982\u679C\u8981\u7F16\u8BD1\u591A\u4E2A\u6837\u5F0F\u8868, \n \u5219\u5FFD\u7565\u6B64\u9009\u9879\u3002\n -d <\u76EE\u5F55> \u6307\u5B9A translet \u7684\u76EE\u6807\u76EE\u5F55\n -j <jarfile> \u5C06 translet \u7C7B\u6253\u5305\u5230\u5177\u6709 <jarfile>\n \u6307\u5B9A\u7684\u540D\u79F0\u7684 jar \u6587\u4EF6\u4E2D\n -p <\u7A0B\u5E8F\u5305> \u4E3A\u751F\u6210\u7684\u6240\u6709 translet \u7C7B\n \u6307\u5B9A\u7A0B\u5E8F\u5305\u540D\u79F0\u524D\u7F00\u3002\n -n \u542F\u7528\u6A21\u677F\u5185\u5D4C (\u9ED8\u8BA4\u884C\u4E3A\n \u901A\u5E38\u53EF\u63D0\u4F9B\u8F83\u597D\u7684\u6027\u80FD)\u3002\n -x \u542F\u7528\u5176\u4ED6\u8C03\u8BD5\u6D88\u606F\u8F93\u51FA\n -u \u5C06 <\u6837\u5F0F\u8868> \u53C2\u6570\u89E3\u91CA\u4E3A URL\n -i \u5F3A\u5236\u7F16\u8BD1\u5668\u4ECE stdin \u8BFB\u53D6\u6837\u5F0F\u8868\n -v \u8F93\u51FA\u7F16\u8BD1\u5668\u7684\u7248\u672C\n -h \u8F93\u51FA\u6B64\u7528\u6CD5\u8BED\u53E5\n"}, |
|
689 |
||
690 |
/* |
|
691 |
* Note to translators: This message contains usage information for a |
|
692 |
* means of invoking XSLTC from the command-line. The message is |
|
693 |
* formatted for presentation in English. The strings <jarfile>, |
|
694 |
* <document>, etc. indicate user-specified argument values, and can |
|
695 |
* be translated - the argument <class> refers to a Java class, so it |
|
696 |
* should be handled in the same way the term is handled for JDK |
|
697 |
* documentation. |
|
698 |
*/ |
|
699 |
{ErrorMsg.TRANSFORM_USAGE_STR, |
|
700 |
"\u63D0\u8981\n java com.sun.org.apache.xalan.internal.xsltc.cmdline.Transform [-j <jarfile>]\n [-x] [-n <\u8FED\u4EE3\u6570>] {-u <document_url> | <\u6587\u6863>}\n <\u7C7B> [<param1>=<value1> ...]\n\n \u4F7F\u7528 translet <\u7C7B> \u8F6C\u6362\n <\u6587\u6863> \u6307\u5B9A\u7684 XML \u6587\u6863\u3002translet <\u7C7B> \u4F4D\u4E8E\n \u7528\u6237\u7684 CLASSPATH \u6216\u9009\u62E9\u6027\u6307\u5B9A\u7684 <jarfile> \u4E2D\u3002\n\u9009\u9879\n -j <jarfile> \u6307\u5B9A\u8981\u4ECE\u4E2D\u52A0\u8F7D translet \u7684 jarfile\n -x \u542F\u7528\u5176\u4ED6\u8C03\u8BD5\u6D88\u606F\u8F93\u51FA\n -n <\u8FED\u4EE3\u6570> \u8FD0\u884C <\u8FED\u4EE3\u6570> \u6B21\u8F6C\u6362\u5E76\n \u663E\u793A\u914D\u7F6E\u6587\u4EF6\u4FE1\u606F\n -u <document_url> \u4EE5 URL \u5F62\u5F0F\u6307\u5B9A XML \u8F93\u5165\u6587\u6863\n"}, |
|
701 |
||
702 |
||
703 |
||
704 |
/* |
|
705 |
* Note to translators: "<xsl:sort>", "<xsl:for-each>" and |
|
706 |
* "<xsl:apply-templates>" are keywords that should not be translated. |
|
707 |
* The message indicates that an xsl:sort element must be a child of |
|
708 |
* one of the other kinds of elements mentioned. |
|
709 |
*/ |
|
710 |
{ErrorMsg.STRAY_SORT_ERR, |
|
711 |
"<xsl:sort> \u53EA\u80FD\u5728 <xsl:for-each> \u6216 <xsl:apply-templates> \u4E2D\u4F7F\u7528\u3002"}, |
|
712 |
||
713 |
/* |
|
714 |
* Note to translators: The message indicates that the encoding |
|
715 |
* requested for the output document was on that requires support that |
|
716 |
* is not available from the Java Virtual Machine being used to execute |
|
717 |
* the program. |
|
718 |
*/ |
|
719 |
{ErrorMsg.UNSUPPORTED_ENCODING, |
|
720 |
"\u6B64 JVM \u4E2D\u4E0D\u652F\u6301\u8F93\u51FA\u7F16\u7801 ''{0}''\u3002"}, |
|
721 |
||
722 |
/* |
|
723 |
* Note to translators: The message indicates that the XPath expression |
|
724 |
* named in the substitution text was not well formed syntactically. |
|
725 |
*/ |
|
726 |
{ErrorMsg.SYNTAX_ERR, |
|
727 |
"''{0}'' \u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\u3002"}, |
|
728 |
||
729 |
/* |
|
730 |
* Note to translators: The substitution text is the name of a Java |
|
731 |
* class. The term "constructor" here is the Java term. The message is |
|
732 |
* displayed if XSLTC could not find a constructor for the specified |
|
733 |
* class. |
|
734 |
*/ |
|
735 |
{ErrorMsg.CONSTRUCTOR_NOT_FOUND, |
|
736 |
"\u627E\u4E0D\u5230\u5916\u90E8\u6784\u9020\u5668 ''{0}''\u3002"}, |
|
737 |
||
738 |
/* |
|
739 |
* Note to translators: "static" is the Java keyword. The substitution |
|
740 |
* text is the name of a function. The first argument of that function |
|
741 |
* is not of the required type. |
|
742 |
*/ |
|
743 |
{ErrorMsg.NO_JAVA_FUNCT_THIS_REF, |
|
744 |
"\u975E static Java \u51FD\u6570 ''{0}'' \u7684\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E0D\u662F\u6709\u6548\u7684\u5BF9\u8C61\u5F15\u7528\u3002"}, |
|
745 |
||
746 |
/* |
|
747 |
* Note to translators: An XPath expression was not of the type |
|
748 |
* required in a particular context. The substitution text is the |
|
749 |
* expression that was in error. |
|
750 |
*/ |
|
751 |
{ErrorMsg.TYPE_CHECK_ERR, |
|
752 |
"\u68C0\u67E5\u8868\u8FBE\u5F0F ''{0}'' \u7684\u7C7B\u578B\u65F6\u51FA\u9519\u3002"}, |
|
753 |
||
754 |
/* |
|
755 |
* Note to translators: An XPath expression was not of the type |
|
756 |
* required in a particular context. However, the location of the |
|
757 |
* problematic expression is unknown. |
|
758 |
*/ |
|
759 |
{ErrorMsg.TYPE_CHECK_UNK_LOC_ERR, |
|
760 |
"\u68C0\u67E5\u672A\u77E5\u4F4D\u7F6E\u7684\u8868\u8FBE\u5F0F\u7C7B\u578B\u65F6\u51FA\u9519\u3002"}, |
|
761 |
||
762 |
/* |
|
763 |
* Note to translators: The substitution text is the name of a command- |
|
764 |
* line option that was not recognized. |
|
765 |
*/ |
|
766 |
{ErrorMsg.ILLEGAL_CMDLINE_OPTION_ERR, |
|
767 |
"\u547D\u4EE4\u884C\u9009\u9879 ''{0}'' \u65E0\u6548\u3002"}, |
|
768 |
||
769 |
/* |
|
770 |
* Note to translators: The substitution text is the name of a command- |
|
771 |
* line option. |
|
772 |
*/ |
|
773 |
{ErrorMsg.CMDLINE_OPT_MISSING_ARG_ERR, |
|
774 |
"\u547D\u4EE4\u884C\u9009\u9879 ''{0}'' \u7F3A\u5C11\u6240\u9700\u53C2\u6570\u3002"}, |
|
775 |
||
776 |
/* |
|
777 |
* Note to translators: This message is used to indicate the severity |
|
778 |
* of another message. The substitution text contains two error |
|
779 |
* messages. The spacing before the second substitution text indents |
|
780 |
* it the same amount as the first in English. |
|
781 |
*/ |
|
782 |
{ErrorMsg.WARNING_PLUS_WRAPPED_MSG, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
783 |
"WARNING: ''{0}''\n :{1}"}, |
12005 | 784 |
|
785 |
/* |
|
786 |
* Note to translators: This message is used to indicate the severity |
|
787 |
* of another message. The substitution text is an error message. |
|
788 |
*/ |
|
789 |
{ErrorMsg.WARNING_MSG, |
|
790 |
"WARNING: ''{0}''"}, |
|
791 |
||
792 |
/* |
|
793 |
* Note to translators: This message is used to indicate the severity |
|
794 |
* of another message. The substitution text contains two error |
|
795 |
* messages. The spacing before the second substitution text indents |
|
796 |
* it the same amount as the first in English. |
|
797 |
*/ |
|
798 |
{ErrorMsg.FATAL_ERR_PLUS_WRAPPED_MSG, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
799 |
"FATAL ERROR: ''{0}''\n :{1}"}, |
12005 | 800 |
|
801 |
/* |
|
802 |
* Note to translators: This message is used to indicate the severity |
|
803 |
* of another message. The substitution text is an error message. |
|
804 |
*/ |
|
805 |
{ErrorMsg.FATAL_ERR_MSG, |
|
806 |
"FATAL ERROR: ''{0}''"}, |
|
807 |
||
808 |
/* |
|
809 |
* Note to translators: This message is used to indicate the severity |
|
810 |
* of another message. The substitution text contains two error |
|
811 |
* messages. The spacing before the second substitution text indents |
|
812 |
* it the same amount as the first in English. |
|
813 |
*/ |
|
814 |
{ErrorMsg.ERROR_PLUS_WRAPPED_MSG, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
815 |
"ERROR: ''{0}''\n :{1}"}, |
12005 | 816 |
|
817 |
/* |
|
818 |
* Note to translators: This message is used to indicate the severity |
|
819 |
* of another message. The substitution text is an error message. |
|
820 |
*/ |
|
821 |
{ErrorMsg.ERROR_MSG, |
|
822 |
"ERROR: ''{0}''"}, |
|
823 |
||
824 |
/* |
|
825 |
* Note to translators: The substitution text is the name of a class. |
|
826 |
*/ |
|
827 |
{ErrorMsg.TRANSFORM_WITH_TRANSLET_STR, |
|
828 |
"\u4F7F\u7528 translet ''{0}'' \u8FDB\u884C\u8F6C\u6362 "}, |
|
829 |
||
830 |
/* |
|
831 |
* Note to translators: The first substitution is the name of a class, |
|
832 |
* while the second substitution is the name of a jar file. |
|
833 |
*/ |
|
834 |
{ErrorMsg.TRANSFORM_WITH_JAR_STR, |
|
835 |
"\u4F7F\u7528 translet ''{0}'' \u4ECE jar \u6587\u4EF6 ''{1}'' \u8FDB\u884C\u8F6C\u6362"}, |
|
836 |
||
837 |
/* |
|
838 |
* Note to translators: "TransformerFactory" is the name of a Java |
|
839 |
* interface and must not be translated. The substitution text is |
|
840 |
* the name of the class that could not be instantiated. |
|
841 |
*/ |
|
842 |
{ErrorMsg.COULD_NOT_CREATE_TRANS_FACT, |
|
843 |
"\u65E0\u6CD5\u521B\u5EFA TransformerFactory \u7C7B ''{0}'' \u7684\u5B9E\u4F8B\u3002"}, |
|
844 |
||
845 |
/* |
|
846 |
* Note to translators: This message is produced when the user |
|
847 |
* specified a name for the translet class that contains characters |
|
848 |
* that are not permitted in a Java class name. The substitution |
|
849 |
* text "{0}" specifies the name the user requested, while "{1}" |
|
850 |
* specifies the name the processor used instead. |
|
851 |
*/ |
|
852 |
{ErrorMsg.TRANSLET_NAME_JAVA_CONFLICT, |
|
853 |
"\u540D\u79F0 ''{0}'' \u5305\u542B\u4E0D\u5141\u8BB8\u5728 Java \u7C7B\u540D\u4E2D\u4F7F\u7528\u7684\u5B57\u7B26, \u56E0\u6B64\u65E0\u6CD5\u5C06\u6B64\u540D\u79F0\u7528\u4F5C translet \u7C7B\u7684\u540D\u79F0\u3002\u5DF2\u6539\u7528\u540D\u79F0 ''{1}''\u3002"}, |
|
854 |
||
855 |
/* |
|
856 |
* Note to translators: The following message is used as a header. |
|
857 |
* All the error messages are collected together and displayed beneath |
|
858 |
* this message. |
|
859 |
*/ |
|
860 |
{ErrorMsg.COMPILER_ERROR_KEY, |
|
861 |
"\u7F16\u8BD1\u5668\u9519\u8BEF:"}, |
|
862 |
||
863 |
/* |
|
864 |
* Note to translators: The following message is used as a header. |
|
865 |
* All the warning messages are collected together and displayed |
|
866 |
* beneath this message. |
|
867 |
*/ |
|
868 |
{ErrorMsg.COMPILER_WARNING_KEY, |
|
869 |
"\u7F16\u8BD1\u5668\u8B66\u544A:"}, |
|
870 |
||
871 |
/* |
|
872 |
* Note to translators: The following message is used as a header. |
|
873 |
* All the error messages that are produced when the stylesheet is |
|
874 |
* applied to an input document are collected together and displayed |
|
875 |
* beneath this message. A 'translet' is the compiled form of a |
|
876 |
* stylesheet (see above). |
|
877 |
*/ |
|
878 |
{ErrorMsg.RUNTIME_ERROR_KEY, |
|
879 |
"Translet \u9519\u8BEF:"}, |
|
880 |
||
881 |
/* |
|
882 |
* Note to translators: An attribute whose value is constrained to |
|
883 |
* be a "QName" or a list of "QNames" had a value that was incorrect. |
|
884 |
* 'QName' is an XML syntactic term that must not be translated. The |
|
885 |
* substitution text contains the actual value of the attribute. |
|
886 |
*/ |
|
887 |
{ErrorMsg.INVALID_QNAME_ERR, |
|
888 |
"\u5176\u503C\u5FC5\u987B\u4E3A QName \u6216\u7531\u7A7A\u683C\u5206\u9694\u7684 QName \u5217\u8868\u7684\u5C5E\u6027\u5177\u6709\u503C ''{0}''"}, |
|
889 |
||
890 |
/* |
|
891 |
* Note to translators: An attribute whose value is required to |
|
892 |
* be an "NCName". |
|
893 |
* 'NCName' is an XML syntactic term that must not be translated. The |
|
894 |
* substitution text contains the actual value of the attribute. |
|
895 |
*/ |
|
896 |
{ErrorMsg.INVALID_NCNAME_ERR, |
|
897 |
"\u5176\u503C\u5FC5\u987B\u4E3A NCName \u7684\u5C5E\u6027\u5177\u6709\u503C ''{0}''"}, |
|
898 |
||
899 |
/* |
|
900 |
* Note to translators: An attribute with an incorrect value was |
|
901 |
* encountered. The permitted value is one of the literal values |
|
902 |
* "xml", "html" or "text"; it is also permitted to have the form of |
|
903 |
* a QName that is not also an NCName. The terms "method", |
|
904 |
* "xsl:output", "xml", "html" and "text" are keywords that must not |
|
905 |
* be translated. The term "qname-but-not-ncname" is an XML syntactic |
|
906 |
* term. The substitution text contains the actual value of the |
|
907 |
* attribute. |
|
908 |
*/ |
|
909 |
{ErrorMsg.INVALID_METHOD_IN_OUTPUT, |
|
910 |
"<xsl:output> \u5143\u7D20\u7684 method \u5C5E\u6027\u5177\u6709\u503C ''{0}''\u3002\u8BE5\u503C\u5FC5\u987B\u662F ''xml'', ''html'', ''text'' \u6216 qname-but-not-ncname \u4E4B\u4E00"}, |
|
911 |
||
912 |
{ErrorMsg.JAXP_GET_FEATURE_NULL_NAME, |
|
913 |
"TransformerFactory.getFeature(String name) \u4E2D\u7684\u529F\u80FD\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\u503C\u3002"}, |
|
914 |
||
915 |
{ErrorMsg.JAXP_SET_FEATURE_NULL_NAME, |
|
916 |
"TransformerFactory.setFeature(String name, boolean value) \u4E2D\u7684\u529F\u80FD\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\u503C\u3002"}, |
|
917 |
||
918 |
{ErrorMsg.JAXP_UNSUPPORTED_FEATURE, |
|
919 |
"\u65E0\u6CD5\u5BF9\u6B64 TransformerFactory \u8BBE\u7F6E\u529F\u80FD ''{0}''\u3002"}, |
|
920 |
||
921 |
{ErrorMsg.JAXP_SECUREPROCESSING_FEATURE, |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
922 |
"FEATURE_SECURE_PROCESSING: \u5B58\u5728 Security Manager \u65F6, \u65E0\u6CD5\u5C06\u6B64\u529F\u80FD\u8BBE\u7F6E\u4E3A\u201C\u5047\u201D\u3002"}, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
923 |
|
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
924 |
/* |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
925 |
* Note to translators: This message describes an internal error in the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
926 |
* processor. The term "byte code" is a Java technical term for the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
927 |
* executable code in a Java method, and "try-catch-finally block" |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
928 |
* refers to the Java keywords with those names. "Outlined" is a |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
929 |
* technical term internal to XSLTC and should not be translated. |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
930 |
*/ |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
931 |
{ErrorMsg.OUTLINE_ERR_TRY_CATCH, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
932 |
"\u5185\u90E8 XSLTC \u9519\u8BEF: \u751F\u6210\u7684\u5B57\u8282\u4EE3\u7801\u5305\u542B try-catch-finally \u5757, \u65E0\u6CD5\u8FDB\u884C Outlined\u3002"}, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
933 |
|
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
934 |
/* |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
935 |
* Note to translators: This message describes an internal error in the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
936 |
* processor. The terms "OutlineableChunkStart" and |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
937 |
* "OutlineableChunkEnd" are the names of classes internal to XSLTC and |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
938 |
* should not be translated. The message indicates that for every |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
939 |
* "start" there must be a corresponding "end", and vice versa, and |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
940 |
* that if one of a pair of "start" and "end" appears between another |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
941 |
* pair of corresponding "start" and "end", then the other half of the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
942 |
* pair must also be between that same enclosing pair. |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
943 |
*/ |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
944 |
{ErrorMsg.OUTLINE_ERR_UNBALANCED_MARKERS, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
945 |
"\u5185\u90E8 XSLTC \u9519\u8BEF: OutlineableChunkStart \u548C OutlineableChunkEnd \u6807\u8BB0\u5FC5\u987B\u914D\u5BF9\u5E76\u4E14\u6B63\u786E\u5D4C\u5957\u3002"}, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
946 |
|
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
947 |
/* |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
948 |
* Note to translators: This message describes an internal error in the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
949 |
* processor. The term "byte code" is a Java technical term for the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
950 |
* executable code in a Java method. The "method" that is being |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
951 |
* referred to is a Java method in a translet that XSLTC is generating |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
952 |
* in processing a stylesheet. The "instruction" that is being |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
953 |
* referred to is one of the instrutions in the Java byte code in that |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
954 |
* method. "Outlined" is a technical term internal to XSLTC and |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
955 |
* should not be translated. |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
956 |
*/ |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
957 |
{ErrorMsg.OUTLINE_ERR_DELETED_TARGET, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
958 |
"\u5185\u90E8 XSLTC \u9519\u8BEF: \u5C5E\u4E8E\u5DF2\u8FDB\u884C Outlined \u7684\u5B57\u8282\u4EE3\u7801\u5757\u7684\u6307\u4EE4\u5728\u539F\u59CB\u65B9\u6CD5\u4E2D\u4ECD\u88AB\u5F15\u7528\u3002" |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
959 |
}, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
960 |
|
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
961 |
|
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
962 |
/* |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
963 |
* Note to translators: This message describes an internal error in the |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
964 |
* processor. The "method" that is being referred to is a Java method |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
965 |
* in a translet that XSLTC is generating. |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
966 |
* |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
967 |
*/ |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
968 |
{ErrorMsg.OUTLINE_ERR_METHOD_TOO_BIG, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
969 |
"\u5185\u90E8 XSLTC \u9519\u8BEF: translet \u4E2D\u7684\u65B9\u6CD5\u8D85\u8FC7\u4E86 Java \u865A\u62DF\u673A\u7684\u65B9\u6CD5\u957F\u5EA6\u9650\u5236 64 KB\u3002\u8FD9\u901A\u5E38\u662F\u7531\u4E8E\u6837\u5F0F\u8868\u4E2D\u7684\u6A21\u677F\u975E\u5E38\u5927\u9020\u6210\u7684\u3002\u8BF7\u5C1D\u8BD5\u4F7F\u7528\u8F83\u5C0F\u7684\u6A21\u677F\u91CD\u65B0\u6784\u5EFA\u6837\u5F0F\u8868\u3002" |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
970 |
}, |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
971 |
|
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
972 |
{ErrorMsg.DESERIALIZE_TRANSLET_ERR, "\u542F\u7528\u4E86 Java \u5B89\u5168\u65F6, \u5C06\u7981\u7528\u5BF9\u53CD\u5E8F\u5217\u5316 TemplatesImpl \u7684\u652F\u6301\u3002\u53EF\u4EE5\u901A\u8FC7\u5C06 jdk.xml.enableTemplatesImplDeserialization \u7CFB\u7EDF\u5C5E\u6027\u8BBE\u7F6E\u4E3A\u201C\u771F\u201D\u6765\u8986\u76D6\u6B64\u8BBE\u7F6E\u3002"} |
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
17534
diff
changeset
|
973 |
|
12005 | 974 |
}; |
975 |
||
976 |
} |
|
977 |
} |