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_it.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_it 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                "La chiave messaggio ''{0}'' non si trova nella classe del messaggio ''{1}''" },
76
77            {   MsgKey.BAD_MSGFORMAT,
78                "Il formato del messaggio ''{0}'' nella classe del messaggio ''{1}'' non \u00e8 riuscito." },
79
80            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
81                "La classe del serializzatore ''{0}'' non implementa org.xml.sax.ContentHandler." },
82
83            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
84                    "Risorsa [ {0} ] non trovata.\n {1}" },
85
86            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
87                    "Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \t {3}" },
88
89            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
90                    "Dimensione buffer <=0" },
91
92            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
93                    "Rilevato surrogato UTF-16 non valido: {0} ?" },
94
95            {   MsgKey.ER_OIERROR,
96                "Errore IO" },
97
98            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
99                "Impossibile aggiungere l''''attributo {0} dopo i nodi secondari o prima che sia prodotto un elemento.  L''''attributo verr\u00e0 ignorato." },
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                "Lo spazio nomi per il prefisso ''{0}'' non \u00e8 stato dichiarato." },
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                "L''''attributo ''{0}'' al di fuori dell''''elemento." },
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                "Dichiarazione dello spazio nome ''{0}''=''{1}'' al di fuori dell''''elemento." },
127
128            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
129                "Impossibile caricare ''{0}'' (verificare CLASSPATH), verranno utilizzati i valori predefiniti" },
130
131            {   MsgKey.ER_ILLEGAL_CHARACTER,
132                "Tentare di generare l''''output del carattere di valor integrale {0} che non \u00e8 rappresentato nella codifica di output specificata di {1}." },
133
134            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
135                "Impossibile caricare il file delle propriet\u00e0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)" },
136
137            {   MsgKey.ER_INVALID_PORT,
138                "Numero di porta non valido" },
139
140            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
141                "La porta non pu\u00f2 essere impostata se l'host \u00e8 nullo" },
142
143            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
144                "Host non \u00e8 un'indirizzo corretto" },
145
146            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
147                "Lo schema non \u00e8 conforme." },
148
149            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
150                "Impossibile impostare lo schema da una stringa nulla" },
151
152            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
153                "Il percorso contiene sequenza di escape non valida" },
154
155            {   MsgKey.ER_PATH_INVALID_CHAR,
156                "Il percorso contiene un carattere non valido: {0}" },
157
158            {   MsgKey.ER_FRAG_INVALID_CHAR,
159                "Il frammento contiene un carattere non valido" },
160
161            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
162                "Il frammento non pu\u00f2 essere impostato se il percorso \u00e8 nullo" },
163
164            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
165                "Il frammento pu\u00f2 essere impostato solo per un URI generico" },
166
167            {   MsgKey.ER_NO_SCHEME_IN_URI,
168                "Non \u00e8 stato trovato alcuno schema nell'URI" },
169
170            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
171                "Impossibile inizializzare l'URI con i parametri vuoti" },
172
173            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
174                "Il frammento non pu\u00f2 essere specificato sia nel percorso che nel frammento" },
175
176            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
177                "La stringa di interrogazione non pu\u00f2 essere specificata nella stringa di interrogazione e percorso." },
178
179            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
180                "La porta non pu\u00f2 essere specificata se l'host non S specificato" },
181
182            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
183                "Userinfo non pu\u00f2 essere specificato se l'host non S specificato" },
184            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
185                "Attenzione:  La versione del documento di emissione \u00e8 obbligatorio che sia ''{0}''.  Questa versione di XML non \u00e8 supportata.  La versione del documento di emissione sar\u00e0 ''1.0''." },
186
187            {   MsgKey.ER_SCHEME_REQUIRED,
188                "Lo schema \u00e8 obbligatorio." },
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                "L''''oggetto Properties passato al SerializerFactory non ha una propriet\u00e0 ''{0}''." },
197
198            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
199                "Avvertenza:  La codifica ''{0}'' non \u00e8 supportata da Java runtime." },
200
201             {MsgKey.ER_FEATURE_NOT_FOUND,
202             "Il parametro ''{0}'' non \u00e8 riconosciuto."},
203
204             {MsgKey.ER_FEATURE_NOT_SUPPORTED,
205             "Il parametro ''{0}'' \u00e8 riconosciuto ma non \u00e8 possibile impostare il valore richiesto."},
206
207             {MsgKey.ER_STRING_TOO_LONG,
208             "La stringa risultante \u00e8 troppo lunga per essere inserita in DOMString: ''{0}''."},
209
210             {MsgKey.ER_TYPE_MISMATCH_ERR,
211             "Il tipo di valore per questo nome di parametro non \u00e8 compatibile con il tipo di valore previsto."},
212
213             {MsgKey.ER_NO_OUTPUT_SPECIFIED,
214             "La destinazione di output in cui scrivere i dati era nulla."},
215
216             {MsgKey.ER_UNSUPPORTED_ENCODING,
217             "\u00c8 stata rilevata una codifica non supportata."},
218
219             {MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
220             "Impossibile serializzare il nodo."},
221
222             {MsgKey.ER_CDATA_SECTIONS_SPLIT,
223             "La Sezione CDATA contiene uno o pi\u00f9 markers di termine ']]>'."},
224
225             {MsgKey.ER_WARNING_WF_NOT_CHECKED,
226                 "Impossibile creare un'istanza del controllore Well-Formedness.  Il parametro well-formed \u00e8 stato impostato su true ma non \u00e8 possibile eseguire i controlli well-formedness."
227             },
228
229             {MsgKey.ER_WF_INVALID_CHARACTER,
230                 "Il nodo ''{0}'' contiene caratteri XML non validi."
231             },
232
233             { MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
234                 "Trovato un carattere XML non valido (Unicode: 0x{0}) nel commento."
235             },
236
237             { MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
238                 "Carattere XML non valido (Unicode: 0x{0}) rilevato nell''elaborazione di instructiondata."
239             },
240
241             { MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
242                 "Carattere XML non valido (Unicode: 0x{0}) rilevato nel contenuto di CDATASection."
243             },
244
245             { MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
246                 "Carattere XML non valido (Unicode: 0x{0}) rilevato nel contenuto dati di caratteri del nodo. "
247             },
248
249             { MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
250                 "Carattere XML non valido rilevato nel nodo {0} denominato ''{1}''."
251             },
252
253             { MsgKey.ER_WF_DASH_IN_COMMENT,
254                 "La stringa \"--\" non \u00e8 consentita nei commenti."
255             },
256
257             {MsgKey.ER_WF_LT_IN_ATTVAL,
258                 "Il valore dell''''attributo \"{1}\" associato con un tipo di elemento \"{0}\" non deve contenere il carattere ''<''."
259             },
260
261             {MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
262                 "Il riferimento entit\u00e0 non analizzata \"&{0};\" non \u00e8 permesso."
263             },
264
265             {MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
266                 "Il riferimento all''''entit\u00e0 esterna \"&{0};\" non \u00e8 permesso in un valore attributo."
267             },
268
269             {MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
270                 "Il prefisso \"{0}\" non pu\u00f2 essere associato allo spazio nome \"{1}\"."
271             },
272
273             {MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
274                 "Il nome locale dell''''elemento \"{0}\" \u00e8 null."
275             },
276
277             {MsgKey.ER_NULL_LOCAL_ATTR_NAME,
278                 "Il nome locale dell''''attributo \"{0}\" \u00e8  null."
279             },
280
281             { MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
282                 "Il testo di sostituzione del nodo di entit\u00e0 \"{0}\" contiene un nodo di elemento \"{1}\" con un prefisso non associato \"{2}\"."
283             },
284
285             { MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
286                 "Il testo di sostituzione del nodo di entit\u00e0 \"{0}\" contiene un nodo di attributo \"{1}\" con un prefisso non associato \"{2}\"."
287             },
288
289        };
290
291        return contents;
292    }
293}
294