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 |
/* |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
12457
diff
changeset
|
6 |
* Copyright 2001-2004 The Apache Software Foundation. |
12005 | 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 |
*/ |
|
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
12457
diff
changeset
|
20 |
/* |
39081
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
21 |
* $Id: ErrorMessages_sv.java /st_wptg_1.9.0.0.0jdk/2 2016/04/14 01:57:20 gmolloy Exp $ |
20582
594878286b70
8025215: jdk8 l10n resource file translation update 4
mfang
parents:
12457
diff
changeset
|
22 |
*/ |
12005 | 23 |
|
24 |
package com.sun.org.apache.xalan.internal.xsltc.runtime; |
|
25 |
||
26 |
import java.util.ListResourceBundle; |
|
27 |
||
28 |
/** |
|
29 |
* @author Morten Jorgensen |
|
30 |
*/ |
|
31 |
public class ErrorMessages_sv extends ListResourceBundle { |
|
32 |
||
33 |
/* |
|
34 |
* XSLTC run-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 XML Stylesheet: |
|
39 |
* Transformations Compiler |
|
40 |
* |
|
41 |
* 2) A stylesheet is a description of how to transform an input XML document |
|
42 |
* into a resultant output XML document (or HTML document or text) |
|
43 |
* |
|
44 |
* 3) An axis is a particular "dimension" in a tree representation of an XML |
|
45 |
* document; the nodes in the tree are divided along different axes. |
|
46 |
* Traversing the "child" axis, for instance, means that the program |
|
47 |
* would visit each child of a particular node; traversing the "descendant" |
|
48 |
* axis means that the program would visit the child nodes of a particular |
|
49 |
* node, their children, and so on until the leaf nodes of the tree are |
|
50 |
* reached. |
|
51 |
* |
|
52 |
* 4) An iterator is an object that traverses nodes in a tree along a |
|
53 |
* particular axis, one at a time. |
|
54 |
* |
|
55 |
* 5) An element is a mark-up tag in an XML document; an attribute is a |
|
56 |
* modifier on the tag. For example, in <elem attr='val' attr2='val2'> |
|
57 |
* "elem" is an element name, "attr" and "attr2" are attribute names with |
|
58 |
* the values "val" and "val2", respectively. |
|
59 |
* |
|
60 |
* 6) A namespace declaration is a special attribute that is used to associate |
|
61 |
* a prefix with a URI (the namespace). The meanings of element names and |
|
62 |
* attribute names that use that prefix are defined with respect to that |
|
63 |
* namespace. |
|
64 |
* |
|
65 |
* 7) DOM is an acronym for Document Object Model. It is a tree |
|
66 |
* representation of an XML document. |
|
67 |
* |
|
68 |
* SAX is an acronym for the Simple API for XML processing. It is an API |
|
69 |
* used inform an XML processor (in this case XSLTC) of the structure and |
|
70 |
* content of an XML document. |
|
71 |
* |
|
72 |
* Input to the stylesheet processor can come from an XML parser in the |
|
73 |
* form of a DOM tree or through the SAX API. |
|
74 |
* |
|
75 |
* 8) DTD is a document type declaration. It is a way of specifying the |
|
76 |
* grammar for an XML file, the names and types of elements, attributes, |
|
77 |
* etc. |
|
78 |
* |
|
79 |
* 9) Translet is an invented term that refers to the class file that contains |
|
80 |
* the compiled form of a stylesheet. |
|
81 |
*/ |
|
82 |
||
83 |
// 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
|
84 |
/** Get the lookup table for error messages. |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
85 |
* |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
86 |
* @return The message lookup table. |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
87 |
*/ |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
88 |
public Object[][] getContents() |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
89 |
{ |
b753f758ae19
8003262: reverse translation required changes in xalan resource bundles
joehw
parents:
20582
diff
changeset
|
90 |
return new Object[][] { |
12005 | 91 |
|
92 |
/* |
|
93 |
* Note to translators: the substitution text in the following message |
|
94 |
* is a class name. Used for internal errors in the processor. |
|
95 |
*/ |
|
96 |
{BasisLibrary.RUN_TIME_INTERNAL_ERR, |
|
39081
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
97 |
"Internt exekveringsfel i ''{0}''"}, |
12005 | 98 |
|
99 |
/* |
|
100 |
* Note to translators: <xsl:copy> is a keyword that should not be |
|
101 |
* translated. |
|
102 |
*/ |
|
103 |
{BasisLibrary.RUN_TIME_COPY_ERR, |
|
39081
5988dd85b28e
8157775: JDK9 preparation message drop resource updates
lana
parents:
25868
diff
changeset
|
104 |
"Exekveringsexekveringsfel av <xsl:copy>."}, |
12005 | 105 |
|
106 |
/* |
|
107 |
* Note to translators: The substitution text refers to data types. |
|
108 |
* The message is displayed if a value in a particular context needs to |
|
109 |
* be converted to type {1}, but that's not possible for a value of type |
|
110 |
* {0}. |
|
111 |
*/ |
|
112 |
{BasisLibrary.DATA_CONVERSION_ERR, |
|
113 |
"Ogiltig konvertering fr\u00E5n ''{0}'' till ''{1}''."}, |
|
114 |
||
115 |
/* |
|
116 |
* Note to translators: This message is displayed if the function named |
|
117 |
* by the substitution text is not a function that is supported. XSLTC |
|
118 |
* is the acronym naming the product. |
|
119 |
*/ |
|
120 |
{BasisLibrary.EXTERNAL_FUNC_ERR, |
|
121 |
"Den externa funktionen ''{0}'' underst\u00F6ds inte i XSLTC."}, |
|
122 |
||
123 |
/* |
|
124 |
* Note to translators: This message is displayed if two values are |
|
125 |
* compared for equality, but the data type of one of the values is |
|
126 |
* unknown. |
|
127 |
*/ |
|
128 |
{BasisLibrary.EQUALITY_EXPR_ERR, |
|
129 |
"Ok\u00E4nd argumenttyp i likhetsuttryck."}, |
|
130 |
||
131 |
/* |
|
132 |
* Note to translators: The substitution text for {0} will be a data |
|
133 |
* type; the substitution text for {1} will be the name of a function. |
|
134 |
* This is displayed if an argument of the particular data type is not |
|
135 |
* permitted for a call to this function. |
|
136 |
*/ |
|
137 |
{BasisLibrary.INVALID_ARGUMENT_ERR, |
|
138 |
"Argumenttyp ''{0}'' i anrop till ''{1}'' \u00E4r inte giltig"}, |
|
139 |
||
140 |
/* |
|
141 |
* Note to translators: There is way of specifying a format for a |
|
142 |
* number using a pattern; the processor was unable to format the |
|
143 |
* particular value using the specified pattern. |
|
144 |
*/ |
|
145 |
{BasisLibrary.FORMAT_NUMBER_ERR, |
|
146 |
"F\u00F6rs\u00F6ker formatera talet ''{0}'' med m\u00F6nstret ''{1}''."}, |
|
147 |
||
148 |
/* |
|
149 |
* Note to translators: The following represents an internal error |
|
150 |
* situation in XSLTC. The processor was unable to create a copy of an |
|
151 |
* iterator. (See definition of iterator above.) |
|
152 |
*/ |
|
153 |
{BasisLibrary.ITERATOR_CLONE_ERR, |
|
154 |
"Kan inte klona iteratorn ''{0}''."}, |
|
155 |
||
156 |
/* |
|
157 |
* Note to translators: The following represents an internal error |
|
158 |
* situation in XSLTC. The processor attempted to create an iterator |
|
159 |
* for a particular axis (see definition above) that it does not |
|
160 |
* support. |
|
161 |
*/ |
|
162 |
{BasisLibrary.AXIS_SUPPORT_ERR, |
|
163 |
"Iteratorn f\u00F6r axeln ''{0}'' underst\u00F6ds inte."}, |
|
164 |
||
165 |
/* |
|
166 |
* Note to translators: The following represents an internal error |
|
167 |
* situation in XSLTC. The processor attempted to create an iterator |
|
168 |
* for a particular axis (see definition above) that it does not |
|
169 |
* support. |
|
170 |
*/ |
|
171 |
{BasisLibrary.TYPED_AXIS_SUPPORT_ERR, |
|
172 |
"Iteratorn f\u00F6r den typade axeln ''{0}'' underst\u00F6ds inte."}, |
|
173 |
||
174 |
/* |
|
175 |
* Note to translators: This message is reported if the stylesheet |
|
176 |
* being processed attempted to construct an XML document with an |
|
177 |
* attribute in a place other than on an element. The substitution text |
|
178 |
* specifies the name of the attribute. |
|
179 |
*/ |
|
180 |
{BasisLibrary.STRAY_ATTRIBUTE_ERR, |
|
181 |
"Attributet ''{0}'' finns utanf\u00F6r elementet."}, |
|
182 |
||
183 |
/* |
|
184 |
* Note to translators: As with the preceding message, a namespace |
|
185 |
* declaration has the form of an attribute and is only permitted to |
|
186 |
* appear on an element. The substitution text {0} is the namespace |
|
187 |
* prefix and {1} is the URI that was being used in the erroneous |
|
188 |
* namespace declaration. |
|
189 |
*/ |
|
190 |
{BasisLibrary.STRAY_NAMESPACE_ERR, |
|
191 |
"Namnrymdsdeklarationen ''{0}''=''{1}'' finns utanf\u00F6r element."}, |
|
192 |
||
193 |
/* |
|
194 |
* Note to translators: The stylesheet contained a reference to a |
|
195 |
* namespace prefix that was undefined. The value of the substitution |
|
196 |
* text is the name of the prefix. |
|
197 |
*/ |
|
198 |
{BasisLibrary.NAMESPACE_PREFIX_ERR, |
|
199 |
"Namnrymd f\u00F6r prefix ''{0}'' har inte deklarerats."}, |
|
200 |
||
201 |
/* |
|
202 |
* Note to translators: The following represents an internal error. |
|
203 |
* DOMAdapter is a Java class in XSLTC. |
|
204 |
*/ |
|
205 |
{BasisLibrary.DOM_ADAPTER_INIT_ERR, |
|
206 |
"DOMAdapter har skapats med fel typ av DOM-k\u00E4lla."}, |
|
207 |
||
208 |
/* |
|
209 |
* Note to translators: The following message indicates that the XML |
|
210 |
* parser that is providing input to XSLTC cannot be used because it |
|
211 |
* does not describe to XSLTC the structure of the input XML document's |
|
212 |
* DTD. |
|
213 |
*/ |
|
214 |
{BasisLibrary.PARSER_DTD_SUPPORT_ERR, |
|
215 |
"Den SAX-parser som du anv\u00E4nder hanterar inga DTD-deklarationsh\u00E4ndelser."}, |
|
216 |
||
217 |
/* |
|
218 |
* Note to translators: The following message indicates that the XML |
|
219 |
* parser that is providing input to XSLTC cannot be used because it |
|
220 |
* does not distinguish between ordinary XML attributes and namespace |
|
221 |
* declarations. |
|
222 |
*/ |
|
223 |
{BasisLibrary.NAMESPACES_SUPPORT_ERR, |
|
224 |
"Den SAX-parser som du anv\u00E4nder saknar st\u00F6d f\u00F6r XML-namnrymder."}, |
|
225 |
||
226 |
/* |
|
227 |
* Note to translators: The substitution text is the URI that was in |
|
228 |
* error. |
|
229 |
*/ |
|
230 |
{BasisLibrary.CANT_RESOLVE_RELATIVE_URI_ERR, |
|
231 |
"Kunde inte matcha URI-referensen ''{0}''."}, |
|
232 |
||
233 |
/* |
|
234 |
* Note to translators: The stylesheet contained an element that was |
|
235 |
* not recognized as part of the XSL syntax. The substitution text |
|
236 |
* gives the element name. |
|
237 |
*/ |
|
238 |
{BasisLibrary.UNSUPPORTED_XSL_ERR, |
|
239 |
"XSL-elementet ''{0}'' st\u00F6ds inte"}, |
|
240 |
||
241 |
/* |
|
242 |
* Note to translators: The stylesheet referred to an extension to the |
|
243 |
* XSL syntax and indicated that it was defined by XSLTC, but XSLTC does |
|
244 |
* not recognize the particular extension named. The substitution text |
|
245 |
* gives the extension name. |
|
246 |
*/ |
|
247 |
{BasisLibrary.UNSUPPORTED_EXT_ERR, |
|
248 |
"XSLTC-till\u00E4gget ''{0}'' \u00E4r ok\u00E4nt"}, |
|
249 |
||
250 |
||
251 |
/* |
|
252 |
* Note to translators: This error message is produced if the translet |
|
253 |
* class was compiled using a newer version of XSLTC and deployed for |
|
254 |
* execution with an older version of XSLTC. The substitution text is |
|
255 |
* the name of the translet class. |
|
256 |
*/ |
|
257 |
{BasisLibrary.UNKNOWN_TRANSLET_VERSION_ERR, |
|
258 |
"Angiven translet, ''{0}'', har skapats med en XSLTC-version som \u00E4r senare \u00E4n den XSLTC-k\u00F6rning i bruk. F\u00F6r att kunna k\u00F6ra denna translet m\u00E5ste du omkompilera formatmallen eller anv\u00E4nda en senare version av XSLTC."}, |
|
259 |
||
260 |
/* |
|
261 |
* Note to translators: An attribute whose effective value is required |
|
262 |
* to be a "QName" had a value that was incorrect. |
|
263 |
* 'QName' is an XML syntactic term that must not be translated. The |
|
264 |
* substitution text contains the actual value of the attribute. |
|
265 |
*/ |
|
266 |
{BasisLibrary.INVALID_QNAME_ERR, |
|
267 |
"Ett attribut vars v\u00E4rde m\u00E5ste vara ett QName hade v\u00E4rdet ''{0}''"}, |
|
268 |
||
269 |
||
270 |
/* |
|
271 |
* Note to translators: An attribute whose effective value is required |
|
272 |
* to be a "NCName" had a value that was incorrect. |
|
273 |
* 'NCName' is an XML syntactic term that must not be translated. The |
|
274 |
* substitution text contains the actual value of the attribute. |
|
275 |
*/ |
|
276 |
{BasisLibrary.INVALID_NCNAME_ERR, |
|
277 |
"Ett attribut vars v\u00E4rde m\u00E5ste vara ett NCName hade v\u00E4rdet ''{0}''"}, |
|
278 |
||
279 |
{BasisLibrary.UNALLOWED_EXTENSION_FUNCTION_ERR, |
|
280 |
"Anv\u00E4ndning av till\u00E4ggsfunktionen ''{0}'' \u00E4r inte till\u00E5tet n\u00E4r s\u00E4ker bearbetning till\u00E4mpas."}, |
|
281 |
||
282 |
{BasisLibrary.UNALLOWED_EXTENSION_ELEMENT_ERR, |
|
283 |
"Anv\u00E4ndning av till\u00E4ggselementet ''{0}'' \u00E4r inte till\u00E5tet n\u00E4r s\u00E4ker bearbetning till\u00E4mpas."}, |
|
284 |
}; |
|
285 |
} |
|
286 |
||
287 |
} |