1/*
2 * reserved comment block
3 * DO NOT REMOVE OR ALTER!
4 */
5/*
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements. See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership. The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the  "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 *     http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 */
22package com.sun.org.apache.xml.internal.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 com.sun.org.apache.xml.internal.serializer.
42 *
43 * @xsl.usage internal
44 */
45public class SerializerMessages_sv 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                "Meddelandenyckeln ''{0}'' \u00E4r inte i meddelandeklassen ''{1}''" },
76
77            {   MsgKey.BAD_MSGFORMAT,
78                "Formatet p\u00E5 meddelandet ''{0}'' i meddelandeklassen ''{1}'' underk\u00E4ndes." },
79
80            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
81                "Serializerklassen ''{0}'' implementerar inte org.xml.sax.ContentHandler." },
82
83            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
84                    "Resursen [ {0} ] kunde inte h\u00E4mtas.\n {1}" },
85
86            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
87                    "Resursen [ {0} ] kunde inte laddas: {1} \n {2} \t {3}" },
88
89            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
90                    "Buffertstorlek <=0" },
91
92            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
93                    "Ogiltigt UTF-16-surrogat uppt\u00E4ckt: {0} ?" },
94
95            {   MsgKey.ER_OIERROR,
96                "IO-fel" },
97
98            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
99                "Kan inte l\u00E4gga till attributet {0} efter underordnade noder eller innan ett element har skapats. Attributet ignoreras." },
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                "Namnrymd f\u00F6r prefix ''{0}'' har inte deklarerats." },
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                "Attributet ''{0}'' finns utanf\u00F6r elementet." },
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                "Namnrymdsdeklarationen ''{0}''=''{1}'' finns utanf\u00F6r element." },
127
128            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
129                "Kunde inte ladda ''{0}'' (kontrollera CLASSPATH), anv\u00E4nder nu enbart standardv\u00E4rden" },
130
131            {   MsgKey.ER_ILLEGAL_CHARACTER,
132                "F\u00F6rs\u00F6k att skriva utdatatecken med integralv\u00E4rdet {0} som inte \u00E4r representerat i angiven utdatakodning av {1}." },
133
134            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
135                "Kunde inte ladda egenskapsfilen ''{0}'' f\u00F6r utdatametoden ''{1}'' (kontrollera CLASSPATH)" },
136
137            {   MsgKey.ER_INVALID_PORT,
138                "Ogiltigt portnummer" },
139
140            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
141                "Port kan inte st\u00E4llas in n\u00E4r v\u00E4rd \u00E4r null" },
142
143            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
144                "V\u00E4rd \u00E4r inte en v\u00E4lformulerad adress" },
145
146            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
147                "Schemat \u00E4r inte likformigt." },
148
149            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
150                "Kan inte st\u00E4lla in schema fr\u00E5n null-str\u00E4ng" },
151
152            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
153                "S\u00F6kv\u00E4gen inneh\u00E5ller en ogiltig escape-sekvens" },
154
155            {   MsgKey.ER_PATH_INVALID_CHAR,
156                "S\u00F6kv\u00E4gen inneh\u00E5ller ett ogiltigt tecken: {0}" },
157
158            {   MsgKey.ER_FRAG_INVALID_CHAR,
159                "Fragment inneh\u00E5ller ett ogiltigt tecken" },
160
161            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
162                "Fragment kan inte st\u00E4llas in n\u00E4r s\u00F6kv\u00E4g \u00E4r null" },
163
164            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
165                "Fragment kan bara st\u00E4llas in f\u00F6r en allm\u00E4n URI" },
166
167            {   MsgKey.ER_NO_SCHEME_IN_URI,
168                "Schema saknas i URI" },
169
170            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
171                "Kan inte initiera URI med tomma parametrar" },
172
173            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
174                "Fragment kan inte anges i b\u00E5de s\u00F6kv\u00E4gen och fragmentet" },
175
176            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
177                "Fr\u00E5gestr\u00E4ng kan inte anges i b\u00E5de s\u00F6kv\u00E4gen och fr\u00E5gestr\u00E4ngen" },
178
179            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
180                "Port f\u00E5r inte anges om v\u00E4rden inte \u00E4r angiven" },
181
182            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
183                "Anv\u00E4ndarinfo f\u00E5r inte anges om v\u00E4rden inte \u00E4r angiven" },
184
185            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
186                "Varning:  Versionen av utdatadokumentet som beg\u00E4rts \u00E4r ''{0}''.  Den h\u00E4r versionen av XML st\u00F6ds inte.  Versionen av utdatadokumentet kommer att vara ''1.0''." },
187
188            {   MsgKey.ER_SCHEME_REQUIRED,
189                "Schema kr\u00E4vs!" },
190
191            /*
192             * Note to translators:  The words 'Properties' and
193             * 'SerializerFactory' in this message are Java class names
194             * and should not be translated.
195             */
196            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
197                "Egenskapsobjektet som \u00F6verf\u00F6rts till SerializerFactory har ingen ''{0}''-egenskap." },
198
199            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
200                "Varning: Kodningen ''{0}'' st\u00F6ds inte av Java runtime." },
201
202             {MsgKey.ER_FEATURE_NOT_FOUND,
203             "Parametern ''{0}'' k\u00E4nns inte igen."},
204
205             {MsgKey.ER_FEATURE_NOT_SUPPORTED,
206             "Parametern ''{0}'' k\u00E4nns igen men det beg\u00E4rda v\u00E4rdet kan inte anges."},
207
208             {MsgKey.ER_STRING_TOO_LONG,
209             "Resultatstr\u00E4ngen \u00E4r f\u00F6r l\u00E5ng och ryms inte i DOMString: ''{0}''."},
210
211             {MsgKey.ER_TYPE_MISMATCH_ERR,
212             "V\u00E4rdetypen f\u00F6r detta parameternamn \u00E4r inkompatibelt med f\u00F6rv\u00E4ntad v\u00E4rdetyp. "},
213
214             {MsgKey.ER_NO_OUTPUT_SPECIFIED,
215             "Den utdatadestination som data ska skrivas till var null."},
216
217             {MsgKey.ER_UNSUPPORTED_ENCODING,
218             "En kodning som inte st\u00F6ds har p\u00E5tr\u00E4ffats."},
219
220             {MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
221             "Noden kunde inte serialiseras."},
222
223             {MsgKey.ER_CDATA_SECTIONS_SPLIT,
224             "CDATA-sektionen inneh\u00E5ller en eller flera avslutningsmark\u00F6rer (']]>')."},
225
226             {MsgKey.ER_WARNING_WF_NOT_CHECKED,
227                 "En instans av Well-Formedness-kontrollen kunde inte skapas. Parametern well-formed har angetts till sant men Well-Formedness-kontrollen kan inte utf\u00F6ras."
228             },
229
230             {MsgKey.ER_WF_INVALID_CHARACTER,
231                 "Noden ''{0}'' inneh\u00E5ller ogiltiga XML-tecken."
232             },
233
234             { MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
235                 "Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i kommentaren."
236             },
237
238             { MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
239                 "Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i bearbetningsinstruktionsdata."
240             },
241
242             { MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
243                 "Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i inneh\u00E5llet i CDATASection."
244             },
245
246             { MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
247                 "Ett ogiltigt XML-tecken (Unicode: 0x{0}) hittades i teckendatainneh\u00E5llet f\u00F6r noden."
248             },
249
250             { MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
251                 "Ett ogiltigt XML-tecken/ogiltiga XML-tecken hittades i {0}-noden med namnet ''{1}''."
252             },
253
254             { MsgKey.ER_WF_DASH_IN_COMMENT,
255                 "Str\u00E4ngen \"--\" \u00E4r inte till\u00E5ten inom kommentarer."
256             },
257
258             {MsgKey.ER_WF_LT_IN_ATTVAL,
259                 "Attributv\u00E4rdet \"{1}\" som associeras med elementtyp \"{0}\" f\u00E5r inte inneh\u00E5lla n\u00E5got ''<''-tecken."
260             },
261
262             {MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
263                 "Den otolkade enhetsreferensen \"&{0};\" \u00E4r inte till\u00E5ten."
264             },
265
266             {MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
267                 "Den externa enhetsreferensen \"&{0};\" till\u00E5ts inte i ett attributv\u00E4rde."
268             },
269
270             {MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
271                 "Prefixet \"{0}\" kan inte bindas till namnrymden \"{1}\"."
272             },
273
274             {MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
275                 "Det lokala namnet p\u00E5 elementet \"{0}\" \u00E4r null."
276             },
277
278             {MsgKey.ER_NULL_LOCAL_ATTR_NAME,
279                 "Det lokala namnet p\u00E5 attributet \"{0}\" \u00E4r null."
280             },
281
282             { MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
283                 "Ers\u00E4ttningstexten f\u00F6r enhetsnoden \"{0}\" inneh\u00E5ller elementnoden \"{1}\" med ett obundet prefix, \"{2}\"."
284             },
285
286             { MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
287                 "Ers\u00E4ttningstexten f\u00F6r enhetsnoden \"{0}\" inneh\u00E5ller attributnoden \"{1}\" med ett obundet prefix, \"{2}\"."
288             },
289
290             { MsgKey.ER_WRITING_INTERNAL_SUBSET,
291                 "Ett fel intr\u00E4ffade vid skrivning till den interna delm\u00E4ngden."
292             },
293
294        };
295
296        return contents;
297    }
298}
299