You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jy...@apache.org on 2006/03/14 22:55:33 UTC
svn commit: r385904 [2/3] -
/xalan/java/trunk/src/org/apache/xml/serializer/utils/
Modified: xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_it.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_it.java?rev=385904&r1=385903&r2=385904&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_it.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_it.java Tue Mar 14 13:55:30 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,99 +20,185 @@
package org.apache.xml.serializer.utils;
import java.util.ListResourceBundle;
-
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
public class SerializerMessages_it extends ListResourceBundle {
- public Object[][] getContents() {
- Object[][] contents = new Object[][] {
- // BAD_MSGKEY needs translation
- // BAD_MSGFORMAT needs translation
- { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
- "La classe serializer ''{0}'' non implementa org.xml.sax.ContentHandler."},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
- "Risorsa [ {0} ] non trovata.\n {1}"},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
- "Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \n {3}"},
-
- { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Dimensione buffer <=0"},
-
- { MsgKey.ER_INVALID_UTF16_SURROGATE,
- "Rilevato surrogato UTF-16 non valido: {0} ?"},
-
- { MsgKey.ER_OIERROR,
- "Errore IO"},
-
- { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
- "Impossibile aggiungere l''attributo {0} dopo i nodi secondari o prima che sia prodotto un elemento. L''attributo verr\u00e0 ignorato. "},
-
- { MsgKey.ER_NAMESPACE_PREFIX,
- "Lo spazio nomi per il prefisso ''{0}'' non \u00e8 stato dichiarato. "},
-
- // ER_STRAY_ATTRIBUTE needs translation
- { MsgKey.ER_STRAY_NAMESPACE,
- "Dichiarazione dello spazio nome ''{0}''=''{1}'' al di fuori dell''elemento. "},
-
- { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
- "Impossibile caricare ''{0}'' (verificare CLASSPATH); verranno utilizzati i valori predefiniti "},
-
- // ER_ILLEGAL_CHARACTER needs translation
- { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "Impossibile caricare il file delle propriet\u00e0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)"},
-
- { MsgKey.ER_INVALID_PORT,
- "Numero di porta non valido"},
-
- { MsgKey.ER_PORT_WHEN_HOST_NULL,
- "La porta non pu\u00f2 essere impostata se l'host \u00e8 nullo"},
-
- { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
- "Host non \u00e8 un'indirizzo corretto"},
-
- { MsgKey.ER_SCHEME_NOT_CONFORMANT,
- "Lo schema non \u00e8 conforme."},
-
- { MsgKey.ER_SCHEME_FROM_NULL_STRING,
- "Impossibile impostare lo schema da una stringa nulla"},
-
- { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
- "Il percorso contiene sequenza di escape non valida"},
-
- { MsgKey.ER_PATH_INVALID_CHAR,
- "Il percorso contiene un carattere non valido: {0}"},
-
- { MsgKey.ER_FRAG_INVALID_CHAR,
- "Il frammento contiene un carattere non valido"},
-
- { MsgKey.ER_FRAG_WHEN_PATH_NULL,
- "Il frammento non pu\u00f2 essere impostato se il percorso \u00e8 nullo"},
-
- { MsgKey.ER_FRAG_FOR_GENERIC_URI,
- "Il frammento pu\u00f2 essere impostato solo per un URI generico"},
-
- { MsgKey.ER_NO_SCHEME_IN_URI,
- "Nessuno schema trovato nell''URI: {0}"},
-
- { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
- "Impossibile inizializzare l'URI con i parametri vuoti"},
-
- { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
- "Il frammento non pu\u00f2 essere specificato sia nel percorso che nel frammento"},
- { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
- "La stringa di interrogazione non pu\u00f2 essere specificata nella stringa di interrogazione e percorso."},
+ /*
+ * This file contains error and warning messages related to
+ * Serializer Error Handling.
+ *
+ * General notes to translators:
+
+ * 1) A stylesheet is a description of how to transform an input XML document
+ * into a resultant XML document (or HTML document or text). The
+ * stylesheet itself is described in the form of an XML document.
+
+ *
+ * 2) An element is a mark-up tag in an XML document; an attribute is a
+ * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
+ * "elem" is an element name, "attr" and "attr2" are attribute names with
+ * the values "val" and "val2", respectively.
+ *
+ * 3) A namespace declaration is a special attribute that is used to associate
+ * a prefix with a URI (the namespace). The meanings of element names and
+ * attribute names that use that prefix are defined with respect to that
+ * namespace.
+ *
+ *
+ */
+
+ /** The lookup table for error messages. */
+ public Object[][] getContents() {
+ Object[][] contents = new Object[][] {
+ { MsgKey.BAD_MSGKEY,
+ "La chiave messaggio ''{0}'' non si trova nella classe del messaggio ''{1}''" },
+
+ { MsgKey.BAD_MSGFORMAT,
+ "Il formato del messaggio ''{0}'' nella classe del messaggio ''{1}'' non \u00e8 riuscito." },
+
+ { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+ "La classe del serializzatore ''{0}'' non implementa org.xml.sax.ContentHandler." },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+ "Risorsa [ {0} ] non trovata.\n {1}" },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+ "Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \t {3}" },
+
+ { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+ "Dimensione buffer <=0" },
+
+ { MsgKey.ER_INVALID_UTF16_SURROGATE,
+ "Rilevato surrogato UTF-16 non valido: {0} ?" },
+
+ { MsgKey.ER_OIERROR,
+ "Errore IO" },
+
+ { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+ "Impossibile aggiungere l''''attributo {0} dopo i nodi secondari o prima che sia prodotto un elemento. L''''attributo verr\u00e0 ignorato." },
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ { MsgKey.ER_NAMESPACE_PREFIX,
+ "Lo spazio nomi per il prefisso ''{0}'' non \u00e8 stato dichiarato." },
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * being processed attempted to construct an XML document with an
+ * attribute in a place other than on an element. The substitution text
+ * specifies the name of the attribute.
+ */
+ { MsgKey.ER_STRAY_ATTRIBUTE,
+ "L''''attributo ''{0}'' al di fuori dell''''elemento." },
+
+ /*
+ * Note to translators: As with the preceding message, a namespace
+ * declaration has the form of an attribute and is only permitted to
+ * appear on an element. The substitution text {0} is the namespace
+ * prefix and {1} is the URI that was being used in the erroneous
+ * namespace declaration.
+ */
+ { MsgKey.ER_STRAY_NAMESPACE,
+ "Dichiarazione dello spazio nome ''{0}''=''{1}'' al di fuori dell''''elemento." },
+
+ { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+ "Impossibile caricare ''{0}'' (verificare CLASSPATH), verranno utilizzati i valori predefiniti" },
+
+ { MsgKey.ER_ILLEGAL_CHARACTER,
+ "Tentare di generare l''''output del carattere di valor integrale {0} che non \u00e8 rappresentato nella codifica di output specificata di {1}." },
+
+ { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+ "Impossibile caricare il file delle propriet\u00e0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)" },
+
+ { MsgKey.ER_INVALID_PORT,
+ "Numero di porta non valido" },
+
+ { MsgKey.ER_PORT_WHEN_HOST_NULL,
+ "La porta non pu\u00f2 essere impostata se l'host \u00e8 nullo" },
+
+ { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+ "Host non \u00e8 un'indirizzo corretto" },
+
+ { MsgKey.ER_SCHEME_NOT_CONFORMANT,
+ "Lo schema non \u00e8 conforme." },
+
+ { MsgKey.ER_SCHEME_FROM_NULL_STRING,
+ "Impossibile impostare lo schema da una stringa nulla" },
+
+ { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+ "Il percorso contiene sequenza di escape non valida" },
+
+ { MsgKey.ER_PATH_INVALID_CHAR,
+ "Il percorso contiene un carattere non valido: {0}" },
+
+ { MsgKey.ER_FRAG_INVALID_CHAR,
+ "Il frammento contiene un carattere non valido" },
+
+ { MsgKey.ER_FRAG_WHEN_PATH_NULL,
+ "Il frammento non pu\u00f2 essere impostato se il percorso \u00e8 nullo" },
+
+ { MsgKey.ER_FRAG_FOR_GENERIC_URI,
+ "Il frammento pu\u00f2 essere impostato solo per un URI generico" },
+
+ { MsgKey.ER_NO_SCHEME_IN_URI,
+ "Non \u00e8 stato trovato alcuno schema nell'URI" },
+
+ { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+ "Impossibile inizializzare l'URI con i parametri vuoti" },
+
+ { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+ "Il frammento non pu\u00f2 essere specificato sia nel percorso che nel frammento" },
+
+ { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+ "La stringa di interrogazione non pu\u00f2 essere specificata nella stringa di interrogazione e percorso." },
+
+ { MsgKey.ER_NO_PORT_IF_NO_HOST,
+ "La porta non pu\u00f2 essere specificata se l'host non S specificato" },
+
+ { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+ "Userinfo non pu\u00f2 essere specificato se l'host non S specificato" },
+ { MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+ "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''." },
+
+ { MsgKey.ER_SCHEME_REQUIRED,
+ "Lo schema \u00e8 obbligatorio." },
+
+ /*
+ * Note to translators: The words 'Properties' and
+ * 'SerializerFactory' in this message are Java class names
+ * and should not be translated.
+ */
+ { MsgKey.ER_FACTORY_PROPERTY_MISSING,
+ "L''''oggetto Properties passato al SerializerFactory non ha una propriet\u00e0 ''{0}''." },
- { MsgKey.ER_NO_PORT_IF_NO_HOST,
- "La porta non pu\u00f2 essere specificata se l'host non \u00e8 specificato"},
+ { MsgKey.ER_ENCODING_NOT_SUPPORTED,
+ "Avvertenza: La codifica ''{0}'' non \u00e8 supportata da Java runtime." },
- { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
- "Userinfo non pu\u00f2 essere specificato se l'host non \u00e8 specificato"},
- { MsgKey.ER_SCHEME_REQUIRED,
- "Lo schema \u00e8 obbligatorio."}
+ };
- };
- return contents;
- }
+ return contents;
+ }
}
Modified: xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java?rev=385904&r1=385903&r2=385904&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java Tue Mar 14 13:55:30 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,99 +20,185 @@
package org.apache.xml.serializer.utils;
import java.util.ListResourceBundle;
-
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
public class SerializerMessages_ja extends ListResourceBundle {
- public Object[][] getContents() {
- Object[][] contents = new Object[][] {
- // BAD_MSGKEY needs translation
- // BAD_MSGFORMAT needs translation
- { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
- "\u30b7\u30ea\u30a2\u30e9\u30a4\u30b6\u30fc\u30fb\u30af\u30e9\u30b9 ''{0}'' \u306f org.xml.sax.ContentHandler \u3092\u30a4\u30f3\u30d7\u30ea\u30e1\u30f3\u30c8\u3057\u307e\u305b\u3093\u3002"},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
- "\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n {1}"},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
- "\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f: {1} \n {2} \n {3}"},
-
- { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "\u30d0\u30c3\u30d5\u30a1\u30fc\u30fb\u30b5\u30a4\u30ba <=0"},
-
- { MsgKey.ER_INVALID_UTF16_SURROGATE,
- "\u7121\u52b9\u306a UTF-16 \u30b5\u30ed\u30b2\u30fc\u30c8\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: {0} ?"},
-
- { MsgKey.ER_OIERROR,
- "\u5165\u51fa\u529b\u30a8\u30e9\u30fc"},
-
- { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
- "\u4e0b\u4f4d\u30ce\u30fc\u30c9\u306e\u5f8c\u307e\u305f\u306f\u30a8\u30ec\u30e1\u30f3\u30c8\u304c\u751f\u6210\u3055\u308c\u308b\u524d\u306b\u5c5e\u6027 {0} \u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002\u5c5e\u6027\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002"},
-
- { MsgKey.ER_NAMESPACE_PREFIX,
- "\u63a5\u982d\u90e8 ''{0}'' \u306e\u30cd\u30fc\u30e0\u30fb\u30b9\u30da\u30fc\u30b9\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"},
-
- // ER_STRAY_ATTRIBUTE needs translation
- { MsgKey.ER_STRAY_NAMESPACE,
- "\u30cd\u30fc\u30e0\u30fb\u30b9\u30da\u30fc\u30b9\u5ba3\u8a00 ''{0}''=''{1}'' \u304c\u30a8\u30ec\u30e1\u30f3\u30c8\u306e\u5916\u5074\u3067\u3059\u3002"},
-
- { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
- "''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u8abf\u3079\u3066\u304f\u3060\u3055\u3044)\u3002\u73fe\u5728\u306f\u5358\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002"},
-
- // ER_ILLEGAL_CHARACTER needs translation
- { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "\u51fa\u529b\u30e1\u30bd\u30c3\u30c9 ''{1}'' \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u30fb\u30d5\u30a1\u30a4\u30eb ''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u78ba\u8a8d)"},
-
- { MsgKey.ER_INVALID_PORT,
- "\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u756a\u53f7"},
-
- { MsgKey.ER_PORT_WHEN_HOST_NULL,
- "\u30db\u30b9\u30c8\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
-
- { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
- "\u30db\u30b9\u30c8\u306f\u3046\u307e\u304f\u69cb\u6210\u3055\u308c\u305f\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308a\u307e\u305b\u3093"},
-
- { MsgKey.ER_SCHEME_NOT_CONFORMANT,
- "\u30b9\u30ad\u30fc\u30e0\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002"},
-
- { MsgKey.ER_SCHEME_FROM_NULL_STRING,
- "\u30cc\u30eb\u30fb\u30b9\u30c8\u30ea\u30f3\u30b0\u304b\u3089\u306f\u30b9\u30ad\u30fc\u30e0\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
-
- { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
- "\u30d1\u30b9\u306b\u7121\u52b9\u306a\u30a8\u30b9\u30b1\u30fc\u30d7\u30fb\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
-
- { MsgKey.ER_PATH_INVALID_CHAR,
- "\u30d1\u30b9\u306b\u7121\u52b9\u6587\u5b57: {0} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
-
- { MsgKey.ER_FRAG_INVALID_CHAR,
- "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306b\u7121\u52b9\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
-
- { MsgKey.ER_FRAG_WHEN_PATH_NULL,
- "\u30d1\u30b9\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
-
- { MsgKey.ER_FRAG_FOR_GENERIC_URI,
- "\u7dcf\u79f0 URI \u306e\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
-
- { MsgKey.ER_NO_SCHEME_IN_URI,
- "\u30b9\u30ad\u30fc\u30e0\u306f URI {0} \u3067\u898b\u3064\u304b\u308a\u307e\u305b\u3093"},
-
- { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
- "URI \u306f\u7a7a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093"},
-
- { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
- "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306f\u30d1\u30b9\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306e\u4e21\u65b9\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
- { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
- "\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u306f\u30d1\u30b9\u304a\u3088\u3073\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u5185\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
+ /*
+ * This file contains error and warning messages related to
+ * Serializer Error Handling.
+ *
+ * General notes to translators:
+
+ * 1) A stylesheet is a description of how to transform an input XML document
+ * into a resultant XML document (or HTML document or text). The
+ * stylesheet itself is described in the form of an XML document.
+
+ *
+ * 2) An element is a mark-up tag in an XML document; an attribute is a
+ * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
+ * "elem" is an element name, "attr" and "attr2" are attribute names with
+ * the values "val" and "val2", respectively.
+ *
+ * 3) A namespace declaration is a special attribute that is used to associate
+ * a prefix with a URI (the namespace). The meanings of element names and
+ * attribute names that use that prefix are defined with respect to that
+ * namespace.
+ *
+ *
+ */
+
+ /** The lookup table for error messages. */
+ public Object[][] getContents() {
+ Object[][] contents = new Object[][] {
+ { MsgKey.BAD_MSGKEY,
+ "\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30ad\u30fc ''{0}'' \u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30af\u30e9\u30b9 ''{1}'' \u306b\u3042\u308a\u307e\u305b\u3093\u3002" },
+
+ { MsgKey.BAD_MSGFORMAT,
+ "\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30af\u30e9\u30b9 ''{1}'' \u306e\u30e1\u30c3\u30bb\u30fc\u30b8 ''{0}'' \u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u8a2d\u5b9a\u304c\u5931\u6557\u3057\u307e\u3057\u305f\u3002" },
+
+ { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+ "\u30b7\u30ea\u30a2\u30e9\u30a4\u30b6\u30fc\u30fb\u30af\u30e9\u30b9 ''{0}'' \u306f org.xml.sax.ContentHandler \u3092\u5b9f\u88c5\u3057\u307e\u305b\u3093\u3002" },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+ "\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n {1}" },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+ "\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f: {1} \n {2} \t {3}" },
+
+ { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+ "\u30d0\u30c3\u30d5\u30a1\u30fc\u30fb\u30b5\u30a4\u30ba <=0" },
+
+ { MsgKey.ER_INVALID_UTF16_SURROGATE,
+ "\u7121\u52b9\u306a UTF-16 \u30b5\u30ed\u30b2\u30fc\u30c8\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: {0} ?" },
+
+ { MsgKey.ER_OIERROR,
+ "\u5165\u51fa\u529b\u30a8\u30e9\u30fc" },
+
+ { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+ "\u4e0b\u4f4d\u30ce\u30fc\u30c9\u306e\u5f8c\u307e\u305f\u306f\u8981\u7d20\u304c\u751f\u6210\u3055\u308c\u308b\u524d\u306b\u5c5e\u6027 {0} \u306f\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002 \u5c5e\u6027\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002" },
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ { MsgKey.ER_NAMESPACE_PREFIX,
+ "\u63a5\u982d\u90e8 ''{0}'' \u306e\u540d\u524d\u7a7a\u9593\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002" },
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * being processed attempted to construct an XML document with an
+ * attribute in a place other than on an element. The substitution text
+ * specifies the name of the attribute.
+ */
+ { MsgKey.ER_STRAY_ATTRIBUTE,
+ "\u5c5e\u6027 ''{0}'' \u304c\u8981\u7d20\u306e\u5916\u5074\u3067\u3059\u3002" },
+
+ /*
+ * Note to translators: As with the preceding message, a namespace
+ * declaration has the form of an attribute and is only permitted to
+ * appear on an element. The substitution text {0} is the namespace
+ * prefix and {1} is the URI that was being used in the erroneous
+ * namespace declaration.
+ */
+ { MsgKey.ER_STRAY_NAMESPACE,
+ "\u540d\u524d\u7a7a\u9593\u5ba3\u8a00 ''{0}''=''{1}'' \u304c\u8981\u7d20\u306e\u5916\u5074\u3067\u3059\u3002" },
+
+ { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+ "''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044)\u3002\u73fe\u5728\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u3082\u306e\u306e\u307f\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002" },
+
+ { MsgKey.ER_ILLEGAL_CHARACTER,
+ "{1} \u306e\u6307\u5b9a\u3055\u308c\u305f\u51fa\u529b\u30a8\u30f3\u30b3\u30fc\u30c9\u3067\u8868\u305b\u306a\u3044\u6574\u6570\u5024 {0} \u306e\u6587\u5b57\u306e\u51fa\u529b\u3092\u8a66\u307f\u307e\u3057\u305f\u3002" },
+
+ { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+ "\u51fa\u529b\u30e1\u30bd\u30c3\u30c9 ''{1}'' \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u30fb\u30d5\u30a1\u30a4\u30eb ''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044)" },
+
+ { MsgKey.ER_INVALID_PORT,
+ "\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u756a\u53f7" },
+
+ { MsgKey.ER_PORT_WHEN_HOST_NULL,
+ "\u30db\u30b9\u30c8\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+ "\u30db\u30b9\u30c8\u306f\u3046\u307e\u304f\u69cb\u6210\u3055\u308c\u305f\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308a\u307e\u305b\u3093" },
+
+ { MsgKey.ER_SCHEME_NOT_CONFORMANT,
+ "\u30b9\u30ad\u30fc\u30e0\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002" },
+
+ { MsgKey.ER_SCHEME_FROM_NULL_STRING,
+ "\u30cc\u30eb\u30fb\u30b9\u30c8\u30ea\u30f3\u30b0\u304b\u3089\u306f\u30b9\u30ad\u30fc\u30e0\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+ "\u30d1\u30b9\u306b\u7121\u52b9\u306a\u30a8\u30b9\u30b1\u30fc\u30d7\u30fb\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
+
+ { MsgKey.ER_PATH_INVALID_CHAR,
+ "\u30d1\u30b9\u306b\u7121\u52b9\u6587\u5b57: {0} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
+
+ { MsgKey.ER_FRAG_INVALID_CHAR,
+ "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306b\u7121\u52b9\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
+
+ { MsgKey.ER_FRAG_WHEN_PATH_NULL,
+ "\u30d1\u30b9\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_FRAG_FOR_GENERIC_URI,
+ "\u7dcf\u79f0 URI \u306e\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_NO_SCHEME_IN_URI,
+ "\u30b9\u30ad\u30fc\u30e0\u306f URI \u3067\u898b\u3064\u304b\u308a\u307e\u305b\u3093" },
+
+ { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+ "URI \u306f\u7a7a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+ "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306f\u30d1\u30b9\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306e\u4e21\u65b9\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+ "\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u306f\u30d1\u30b9\u304a\u3088\u3073\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u5185\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+ { MsgKey.ER_NO_PORT_IF_NO_HOST,
+ "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093" },
+
+ { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+ "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f Userinfo \u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093" },
+ { MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+ "\u8b66\u544a: \u51fa\u529b\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3057\u3066 ''{0}'' \u304c\u8981\u6c42\u3055\u308c\u307e\u3057\u305f\u3002 \u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e XML \u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093\u3002 \u51fa\u529b\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f ''1.0'' \u306b\u306a\u308a\u307e\u3059\u3002" },
+
+ { MsgKey.ER_SCHEME_REQUIRED,
+ "\u30b9\u30ad\u30fc\u30e0\u304c\u5fc5\u8981\u3067\u3059\u3002" },
+
+ /*
+ * Note to translators: The words 'Properties' and
+ * 'SerializerFactory' in this message are Java class names
+ * and should not be translated.
+ */
+ { MsgKey.ER_FACTORY_PROPERTY_MISSING,
+ "SerializerFactory \u306b\u6e21\u3055\u308c\u305f Properties \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f ''{0}'' \u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u304c\u3042\u308a\u307e\u305b\u3093\u3002" },
- { MsgKey.ER_NO_PORT_IF_NO_HOST,
- "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093"},
+ { MsgKey.ER_ENCODING_NOT_SUPPORTED,
+ "\u8b66\u544a: \u30a8\u30f3\u30b3\u30fc\u30c9 ''{0}'' \u306f\u3053\u306e Java \u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002" },
- { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
- "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f Userinfo \u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093"},
- { MsgKey.ER_SCHEME_REQUIRED,
- "\u30b9\u30ad\u30fc\u30e0\u304c\u5fc5\u8981\u3067\u3059!"}
+ };
- };
- return contents;
- }
+ return contents;
+ }
}
Modified: xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java?rev=385904&r1=385903&r2=385904&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java Tue Mar 14 13:55:30 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,99 +20,185 @@
package org.apache.xml.serializer.utils;
import java.util.ListResourceBundle;
-
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
public class SerializerMessages_ko extends ListResourceBundle {
- public Object[][] getContents() {
- Object[][] contents = new Object[][] {
- // BAD_MSGKEY needs translation
- // BAD_MSGFORMAT needs translation
- { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
- "''{0}'' \uc9c1\ub82c\ud654 \ud504\ub85c\uadf8\ub7a8 \ud074\ub798\uc2a4\uac00 org.xml.sax.ContentHandler\ub97c \uad6c\ud604\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
- "[ {0} ] \uc790\uc6d0\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n {1}"},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
- "[ {0} ] \uc790\uc6d0\uc774 {1} \n {2} \n {3}\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. "},
-
- { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "\ubc84\ud37c \ud06c\uae30 <=0"},
-
- { MsgKey.ER_INVALID_UTF16_SURROGATE,
- "\uc798\ubabb\ub41c UTF-16 \ub300\ub9ac\uc790(surrogate)\uac00 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4: {0} ?"},
-
- { MsgKey.ER_OIERROR,
- "IO \uc624\ub958"},
-
- { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
- "\ud558\uc704 \ub178\ub4dc\uac00 \uc0dd\uc131\ub41c \uc774\ud6c4 \ub610\ub294 \uc694\uc18c\uac00 \uc791\uc131\ub418\uae30 \uc774\uc804\uc5d0 {0} \uc18d\uc131\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc18d\uc131\uc774 \ubb34\uc2dc\ub429\ub2c8\ub2e4."},
-
- { MsgKey.ER_NAMESPACE_PREFIX,
- "''{0}'' \uc811\ub450\ubd80\uc5d0 \ub300\ud55c \uc774\ub984 \uacf5\uac04\uc774 \uc120\uc5b8\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4."},
-
- // ER_STRAY_ATTRIBUTE needs translation
- { MsgKey.ER_STRAY_NAMESPACE,
- "''{0}''=''{1}'' \uc774\ub984 \uacf5\uac04 \uc120\uc5b8\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
- "''{0}''(CLASSPATH \ud655\uc778)\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc73c\ubbc0\ub85c, \ud604\uc7ac \uae30\ubcf8\uac12\ub9cc\uc744 \uc0ac\uc6a9 \uc911\uc785\ub2c8\ub2e4."},
-
- // ER_ILLEGAL_CHARACTER needs translation
- { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "''{1}''\ucd9c\ub825 \uba54\uc18c\ub4dc(CLASSPATH \ud655\uc778)\uc5d0 \ub300\ud55c ''{0}'' \ud2b9\uc131 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_INVALID_PORT,
- "\uc798\ubabb\ub41c \ud3ec\ud2b8 \ubc88\ud638"},
-
- { MsgKey.ER_PORT_WHEN_HOST_NULL,
- "\ud638\uc2a4\ud2b8\uac00 \ub110(null)\uc774\uba74 \ud3ec\ud2b8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
- "\ud638\uc2a4\ud2b8\uac00 \uc644\uc804\ud55c \uc8fc\uc18c\uac00 \uc544\ub2d9\ub2c8\ub2e4."},
-
- { MsgKey.ER_SCHEME_NOT_CONFORMANT,
- "\uc124\uacc4\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_SCHEME_FROM_NULL_STRING,
- "\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc124\uacc4\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
- "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc774\uc2a4\ucf00\uc774\ud504 \uc21c\uc11c\uac00 \uc788\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_PATH_INVALID_CHAR,
- "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4: {0}"},
-
- { MsgKey.ER_FRAG_INVALID_CHAR,
- "\ub2e8\ud3b8\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_FRAG_WHEN_PATH_NULL,
- "\uacbd\ub85c\uac00 \ub110(null)\uc774\uba74 \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_FRAG_FOR_GENERIC_URI,
- "\uc77c\ubc18 URI\uc5d0 \ub300\ud574\uc11c\ub9cc \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_NO_SCHEME_IN_URI,
- "URI\uc5d0 \uc124\uacc4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4: {0}"},
-
- { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
- "\ube48 \ub9e4\uac1c\ubcc0\uc218\ub85c URI\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
-
- { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
- "\uacbd\ub85c \ubc0f \ub2e8\ud3b8 \ub458 \ub2e4\uc5d0 \ub2e8\ud3b8\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
- { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
- "\uacbd\ub85c \ubc0f \uc870\ud68c \ubb38\uc790\uc5f4\uc5d0 \uc870\ud68c \ubb38\uc790\uc5f4\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+ /*
+ * This file contains error and warning messages related to
+ * Serializer Error Handling.
+ *
+ * General notes to translators:
+
+ * 1) A stylesheet is a description of how to transform an input XML document
+ * into a resultant XML document (or HTML document or text). The
+ * stylesheet itself is described in the form of an XML document.
+
+ *
+ * 2) An element is a mark-up tag in an XML document; an attribute is a
+ * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
+ * "elem" is an element name, "attr" and "attr2" are attribute names with
+ * the values "val" and "val2", respectively.
+ *
+ * 3) A namespace declaration is a special attribute that is used to associate
+ * a prefix with a URI (the namespace). The meanings of element names and
+ * attribute names that use that prefix are defined with respect to that
+ * namespace.
+ *
+ *
+ */
+
+ /** The lookup table for error messages. */
+ public Object[][] getContents() {
+ Object[][] contents = new Object[][] {
+ { MsgKey.BAD_MSGKEY,
+ "''{0}'' \uba54\uc2dc\uc9c0 \ud0a4\uac00 ''{1}'' \uba54\uc2dc\uc9c0 \ud074\ub798\uc2a4\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.BAD_MSGFORMAT,
+ "''{1}'' \uba54\uc2dc\uc9c0 \ud074\ub798\uc2a4\uc5d0 \uc788\ub294 ''{0}'' \uba54\uc2dc\uc9c0\uc758 \ud615\uc2dd\uc774 \uc798\ubabb \ub418\uc5c8\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+ "''{0}'' \uc9c1\ub82c \ud504\ub85c\uadf8\ub7a8 \ud074\ub798\uc2a4\uac00 org.xml.sax.ContentHandler\ub97c \uad6c\ud604\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+ "[ {0} ] \uc790\uc6d0\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n{1}" },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+ "[ {0} ] \uc790\uc6d0\uc774 {1} \n {2} \t {3}\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+ "\ubc84\ud37c \ud06c\uae30 <=0" },
+
+ { MsgKey.ER_INVALID_UTF16_SURROGATE,
+ "\uc798\ubabb\ub41c UTF-16 \ub300\ub9ac\uc790(surrogate)\uac00 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4: {0} ?" },
+
+ { MsgKey.ER_OIERROR,
+ "IO \uc624\ub958" },
+
+ { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+ "\ud558\uc704 \ub178\ub4dc\uac00 \uc0dd\uc131\ub41c \uc774\ud6c4 \ub610\ub294 \uc694\uc18c\uac00 \uc791\uc131\ub418\uae30 \uc774\uc804\uc5d0 {0} \uc18d\uc131\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc18d\uc131\uc774 \ubb34\uc2dc\ub429\ub2c8\ub2e4." },
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ { MsgKey.ER_NAMESPACE_PREFIX,
+ "''{0}'' \uc811\ub450\ubd80\uc5d0 \ub300\ud55c \uc774\ub984 \uacf5\uac04\uc774 \uc120\uc5b8\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4." },
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * being processed attempted to construct an XML document with an
+ * attribute in a place other than on an element. The substitution text
+ * specifies the name of the attribute.
+ */
+ { MsgKey.ER_STRAY_ATTRIBUTE,
+ "''{0}'' \uc18d\uc131\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
+
+ /*
+ * Note to translators: As with the preceding message, a namespace
+ * declaration has the form of an attribute and is only permitted to
+ * appear on an element. The substitution text {0} is the namespace
+ * prefix and {1} is the URI that was being used in the erroneous
+ * namespace declaration.
+ */
+ { MsgKey.ER_STRAY_NAMESPACE,
+ "''{0}''=''{1}'' \uc774\ub984 \uacf5\uac04 \uc120\uc5b8\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+ "''{0}''(CLASSPATH \ud655\uc778)\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc73c\ubbc0\ub85c, \ud604\uc7ac \uae30\ubcf8\uac12\ub9cc\uc744 \uc0ac\uc6a9\ud558\ub294 \uc911\uc785\ub2c8\ub2e4." },
+
+ { MsgKey.ER_ILLEGAL_CHARACTER,
+ "{1}\uc758 \uc9c0\uc815\ub41c \ucd9c\ub825 \uc778\ucf54\ub529\uc5d0 \ud45c\uc2dc\ub418\uc9c0 \uc54a\uc740 \ubb34\uacb0\uc131 \uac12 {0}\uc758 \ubb38\uc790\ub97c \ucd9c\ub825\ud558\uc2ed\uc2dc\uc624. " },
+
+ { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+ "''{1}'' \ucd9c\ub825 \uba54\uc18c\ub4dc(CLASSPATH \ud655\uc778)\uc5d0 \ub300\ud55c ''{0}'' \ud2b9\uc131 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_INVALID_PORT,
+ "\uc798\ubabb\ub41c \ud3ec\ud2b8 \ubc88\ud638" },
+
+ { MsgKey.ER_PORT_WHEN_HOST_NULL,
+ "\ud638\uc2a4\ud2b8\uac00 \ub110(null)\uc774\uba74 \ud3ec\ud2b8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+ "\ud638\uc2a4\ud2b8\uac00 \uc644\uc804\ud55c \uc8fc\uc18c\uac00 \uc544\ub2d9\ub2c8\ub2e4." },
+
+ { MsgKey.ER_SCHEME_NOT_CONFORMANT,
+ "\uc2a4\ud0a4\ub9c8\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_SCHEME_FROM_NULL_STRING,
+ "\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc2a4\ud0a4\ub9c8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+ "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc774\uc2a4\ucf00\uc774\ud504 \uc21c\uc11c\uac00 \uc788\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_PATH_INVALID_CHAR,
+ "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4: {0}" },
+
+ { MsgKey.ER_FRAG_INVALID_CHAR,
+ "\ub2e8\ud3b8\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_FRAG_WHEN_PATH_NULL,
+ "\uacbd\ub85c\uac00 \ub110(null)\uc774\uba74 \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_FRAG_FOR_GENERIC_URI,
+ "\uc77c\ubc18 URI\uc5d0 \ub300\ud574\uc11c\ub9cc \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_NO_SCHEME_IN_URI,
+ "URI\uc5d0 \uc2a4\ud0a4\ub9c8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+ "\ube48 \ub9e4\uac1c\ubcc0\uc218\ub85c URI\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+ "\uacbd\ub85c \ubc0f \ub2e8\ud3b8 \ub458 \ub2e4\uc5d0 \ub2e8\ud3b8\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+ "\uacbd\ub85c \ubc0f \uc870\ud68c \ubb38\uc790\uc5f4\uc5d0 \uc870\ud68c \ubb38\uc790\uc5f4\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_NO_PORT_IF_NO_HOST,
+ "\ud638\uc2a4\ud2b8\ub97c \uc9c0\uc815\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 \ud3ec\ud2b8\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+ { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+ "\ud638\uc2a4\ud2b8\ub97c \uc9c0\uc815\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 Userinfo\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+ { MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+ "\uacbd\uace0: \uc694\uccad\ub41c \ucd9c\ub825 \ubb38\uc11c\uc758 \ubc84\uc804\uc740 ''{0}''\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc774 XML \ubc84\uc804\uc740 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ucd9c\ub825 \ubb38\uc11c\uc758 \ubc84\uc804\uc740 ''1.0''\uc774 \ub429\ub2c8\ub2e4." },
+
+ { MsgKey.ER_SCHEME_REQUIRED,
+ "\uc2a4\ud0a4\ub9c8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4." },
+
+ /*
+ * Note to translators: The words 'Properties' and
+ * 'SerializerFactory' in this message are Java class names
+ * and should not be translated.
+ */
+ { MsgKey.ER_FACTORY_PROPERTY_MISSING,
+ "SerializerFactory\uc5d0 \uc804\ub2ec\ub41c \ud2b9\uc131 \uc624\ube0c\uc81d\ud2b8\uc5d0 ''{0}'' \ud2b9\uc131\uc774 \uc5c6\uc2b5\ub2c8\ub2e4." },
- { MsgKey.ER_NO_PORT_IF_NO_HOST,
- "\ud638\uc2a4\ud2b8\ub97c \uc9c0\uc815\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 \ud3ec\ud2b8\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+ { MsgKey.ER_ENCODING_NOT_SUPPORTED,
+ "\uacbd\uace0: ''{0}'' \uc778\ucf54\ub529\uc740 Java Runtime\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
- { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
- "\ud638\uc2a4\ud2b8\ub97c \uc9c0\uc815\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 Userinfo\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
- { MsgKey.ER_SCHEME_REQUIRED,
- "\uc124\uacc4\uac00 \ud544\uc694\ud569\ub2c8\ub2e4!"}
+ };
- };
- return contents;
- }
+ return contents;
+ }
}
Modified: xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java?rev=385904&r1=385903&r2=385904&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java Tue Mar 14 13:55:30 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,99 +20,185 @@
package org.apache.xml.serializer.utils;
import java.util.ListResourceBundle;
-
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
public class SerializerMessages_pl extends ListResourceBundle {
- public Object[][] getContents() {
- Object[][] contents = new Object[][] {
- // BAD_MSGKEY needs translation
- // BAD_MSGFORMAT needs translation
- { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
- "Klasa szereguj\u0105ca ''{0}'' nie implementuje procedury obs\u0142ugi org.xml.sax.ContentHandler."},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
- "Nie mo\u017cna znale\u017a\u0107 zasobu [ {0} ].\n {1}"},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
- "Zas\u00f3b [ {0} ] nie m\u00f3g\u0142 za\u0142adowa\u0107: {1} \n {2} \n {3}"},
-
- { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Wielko\u015b\u0107 bufora <=0"},
-
- { MsgKey.ER_INVALID_UTF16_SURROGATE,
- "Wykryto niepoprawny surogat UTF-16: {0} ?"},
-
- { MsgKey.ER_OIERROR,
- "B\u0142\u0105d we/wy"},
-
- { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
- "Nie mo\u017cna doda\u0107 atrybutu {0} po w\u0119z\u0142ach potomnych ani przed wyprodukowaniem elementu. Atrybut zostanie zignorowany."},
-
- { MsgKey.ER_NAMESPACE_PREFIX,
- "Nie zadeklarowano przestrzeni nazw dla przedrostka ''{0}''."},
-
- // ER_STRAY_ATTRIBUTE needs translation
- { MsgKey.ER_STRAY_NAMESPACE,
- "Deklaracja przestrzeni nazw ''{0}''=''{1}'' poza elementem."},
-
- { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
- "Nie mo\u017cna za\u0142adowa\u0107 ''{0}'' (sprawd\u017a CLASSPATH), u\u017cywane s\u0105 teraz warto\u015bci domy\u015blne"},
-
- // ER_ILLEGAL_CHARACTER needs translation
- { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "Nie mo\u017cna za\u0142adowa\u0107 pliku w\u0142a\u015bciwo\u015bci ''{0}'' dla metody wyj\u015bciowej ''{1}'' (sprawd\u017a CLASSPATH)"},
-
- { MsgKey.ER_INVALID_PORT,
- "Niepoprawny numer portu"},
-
- { MsgKey.ER_PORT_WHEN_HOST_NULL,
- "Nie mo\u017cna ustawi\u0107 portu, kiedy host jest pusty"},
-
- { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
- "Host nie jest poprawnie skonstruowanym adresem"},
-
- { MsgKey.ER_SCHEME_NOT_CONFORMANT,
- "Schemat nie jest zgodny."},
-
- { MsgKey.ER_SCHEME_FROM_NULL_STRING,
- "Nie mo\u017cna ustawi\u0107 schematu z pustego ci\u0105gu znak\u00f3w"},
-
- { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
- "\u015acie\u017cka zawiera niepoprawn\u0105 sekwencj\u0119 o zmienionym znaczeniu"},
-
- { MsgKey.ER_PATH_INVALID_CHAR,
- "\u015acie\u017cka zawiera niepoprawny znak {0}"},
-
- { MsgKey.ER_FRAG_INVALID_CHAR,
- "Fragment zawiera niepoprawny znak"},
-
- { MsgKey.ER_FRAG_WHEN_PATH_NULL,
- "Nie mo\u017cna ustawi\u0107 fragmentu, kiedy \u015bcie\u017cka jest pusta"},
-
- { MsgKey.ER_FRAG_FOR_GENERIC_URI,
- "Fragment mo\u017cna ustawi\u0107 tylko dla og\u00f3lnego URI"},
-
- { MsgKey.ER_NO_SCHEME_IN_URI,
- "Nie znaleziono schematu w URI {0}"},
-
- { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
- "Nie mo\u017cna zainicjowa\u0107 URI z pustymi parametrami"},
-
- { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
- "Nie mo\u017cna poda\u0107 fragmentu jednocze\u015bnie w \u015bcie\u017cce i fragmencie"},
- { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
- "Tekstu zapytania nie mo\u017cna poda\u0107 w tek\u015bcie \u015bcie\u017cki i zapytania"},
+ /*
+ * This file contains error and warning messages related to
+ * Serializer Error Handling.
+ *
+ * General notes to translators:
+
+ * 1) A stylesheet is a description of how to transform an input XML document
+ * into a resultant XML document (or HTML document or text). The
+ * stylesheet itself is described in the form of an XML document.
+
+ *
+ * 2) An element is a mark-up tag in an XML document; an attribute is a
+ * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
+ * "elem" is an element name, "attr" and "attr2" are attribute names with
+ * the values "val" and "val2", respectively.
+ *
+ * 3) A namespace declaration is a special attribute that is used to associate
+ * a prefix with a URI (the namespace). The meanings of element names and
+ * attribute names that use that prefix are defined with respect to that
+ * namespace.
+ *
+ *
+ */
+
+ /** The lookup table for error messages. */
+ public Object[][] getContents() {
+ Object[][] contents = new Object[][] {
+ { MsgKey.BAD_MSGKEY,
+ "Klucz komunikatu ''{0}'' nie znajduje si\u0119 w klasie komunikat\u00f3w ''{1}''" },
+
+ { MsgKey.BAD_MSGFORMAT,
+ "Nie powiod\u0142o si\u0119 sformatowanie komunikatu ''{0}'' w klasie komunikat\u00f3w ''{1}''." },
+
+ { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+ "Klasa szereguj\u0105ca ''{0}'' nie implementuje org.xml.sax.ContentHandler." },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+ "Nie mo\u017cna znale\u017a\u0107 zasobu [ {0} ].\n {1}" },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+ "Zas\u00f3b [ {0} ] nie m\u00f3g\u0142 za\u0142adowa\u0107: {1} \n {2} \t {3}" },
+
+ { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+ "Wielko\u015b\u0107 buforu <=0" },
+
+ { MsgKey.ER_INVALID_UTF16_SURROGATE,
+ "Wykryto niepoprawny odpowiednik UTF-16: {0} ?" },
+
+ { MsgKey.ER_OIERROR,
+ "B\u0142\u0105d we/wy" },
+
+ { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+ "Nie mo\u017cna doda\u0107 atrybutu {0} po bezpo\u015brednich w\u0119z\u0142ach potomnych ani przed wyprodukowaniem elementu. Atrybut zostanie zignorowany." },
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ { MsgKey.ER_NAMESPACE_PREFIX,
+ "Nie zadeklarowano przestrzeni nazw dla przedrostka ''{0}''." },
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * being processed attempted to construct an XML document with an
+ * attribute in a place other than on an element. The substitution text
+ * specifies the name of the attribute.
+ */
+ { MsgKey.ER_STRAY_ATTRIBUTE,
+ "Atrybut ''{0}'' znajduje si\u0119 poza elementem." },
+
+ /*
+ * Note to translators: As with the preceding message, a namespace
+ * declaration has the form of an attribute and is only permitted to
+ * appear on an element. The substitution text {0} is the namespace
+ * prefix and {1} is the URI that was being used in the erroneous
+ * namespace declaration.
+ */
+ { MsgKey.ER_STRAY_NAMESPACE,
+ "Deklaracja przestrzeni nazw ''{0}''=''{1}'' znajduje si\u0119 poza elementem." },
+
+ { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+ "Nie mo\u017cna za\u0142adowa\u0107 ''{0}'' (sprawd\u017a CLASSPATH) - u\u017cywane s\u0105 teraz warto\u015bci domy\u015blne" },
+
+ { MsgKey.ER_ILLEGAL_CHARACTER,
+ "Pr\u00f3ba wyprowadzenia znaku warto\u015bci ca\u0142kowitej {0}, kt\u00f3ry nie jest reprezentowany w podanym kodowaniu wyj\u015bciowym {1}." },
+
+ { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+ "Nie mo\u017cna za\u0142adowa\u0107 pliku w\u0142a\u015bciwo\u015bci ''{0}'' dla metody wyj\u015bciowej ''{1}'' (sprawd\u017a CLASSPATH)" },
+
+ { MsgKey.ER_INVALID_PORT,
+ "Niepoprawny numer portu" },
+
+ { MsgKey.ER_PORT_WHEN_HOST_NULL,
+ "Nie mo\u017cna ustawi\u0107 portu, kiedy host jest pusty" },
+
+ { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+ "Host nie jest poprawnie skonstruowanym adresem" },
+
+ { MsgKey.ER_SCHEME_NOT_CONFORMANT,
+ "Schemat nie jest zgodny." },
+
+ { MsgKey.ER_SCHEME_FROM_NULL_STRING,
+ "Nie mo\u017cna ustawi\u0107 schematu z pustego ci\u0105gu znak\u00f3w" },
+
+ { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+ "\u015acie\u017cka zawiera nieznan\u0105 sekwencj\u0119 o zmienionym znaczeniu" },
+
+ { MsgKey.ER_PATH_INVALID_CHAR,
+ "\u015acie\u017cka zawiera niepoprawny znak {0}" },
+
+ { MsgKey.ER_FRAG_INVALID_CHAR,
+ "Fragment zawiera niepoprawny znak" },
+
+ { MsgKey.ER_FRAG_WHEN_PATH_NULL,
+ "Nie mo\u017cna ustawi\u0107 fragmentu, kiedy \u015bcie\u017cka jest pusta" },
+
+ { MsgKey.ER_FRAG_FOR_GENERIC_URI,
+ "Fragment mo\u017cna ustawi\u0107 tylko dla og\u00f3lnego URI" },
+
+ { MsgKey.ER_NO_SCHEME_IN_URI,
+ "Nie znaleziono schematu w URI" },
+
+ { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+ "Nie mo\u017cna zainicjowa\u0107 URI z pustymi parametrami" },
+
+ { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+ "Nie mo\u017cna poda\u0107 fragmentu jednocze\u015bnie w \u015bcie\u017cce i fragmencie" },
+
+ { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+ "Tekstu zapytania nie mo\u017cna poda\u0107 w tek\u015bcie \u015bcie\u017cki i zapytania" },
+
+ { MsgKey.ER_NO_PORT_IF_NO_HOST,
+ "Nie mo\u017cna poda\u0107 portu, je\u015bli nie podano hosta" },
+
+ { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+ "Nie mo\u017cna poda\u0107 informacji o u\u017cytkowniku, je\u015bli nie podano hosta" },
+ { MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+ "Ostrze\u017cenie: Wymagan\u0105 wersj\u0105 dokumentu wyj\u015bciowego jest ''{0}''. Ta wersja XML nie jest obs\u0142ugiwana. Wersj\u0105 dokumentu wyj\u015bciowego b\u0119dzie ''1.0''." },
+
+ { MsgKey.ER_SCHEME_REQUIRED,
+ "Schemat jest wymagany!" },
+
+ /*
+ * Note to translators: The words 'Properties' and
+ * 'SerializerFactory' in this message are Java class names
+ * and should not be translated.
+ */
+ { MsgKey.ER_FACTORY_PROPERTY_MISSING,
+ "Obiekt klasy Properties przekazany do klasy SerializerFactory nie ma w\u0142a\u015bciwo\u015bci ''{0}''." },
- { MsgKey.ER_NO_PORT_IF_NO_HOST,
- "Nie mo\u017cna poda\u0107 portu, je\u015bli nie podano hosta"},
+ { MsgKey.ER_ENCODING_NOT_SUPPORTED,
+ "Ostrze\u017cenie: dekodowany ''{0}'' nie jest obs\u0142ugiwany przez \u015brodowisko wykonawcze Java." },
- { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
- "Nie mo\u017cna poda\u0107 informacji o u\u017cytkowniku, je\u015bli nie podano hosta"},
- { MsgKey.ER_SCHEME_REQUIRED,
- "Schemat jest wymagany!"}
+ };
- };
- return contents;
- }
+ return contents;
+ }
}
Modified: xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java?rev=385904&r1=385903&r2=385904&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java Tue Mar 14 13:55:30 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,99 +20,185 @@
package org.apache.xml.serializer.utils;
import java.util.ListResourceBundle;
-
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
public class SerializerMessages_pt_BR extends ListResourceBundle {
- public Object[][] getContents() {
- Object[][] contents = new Object[][] {
- // BAD_MSGKEY needs translation
- // BAD_MSGFORMAT needs translation
- { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
- "A classe de serializador ''{0}'' n\u00e3o implementa org.xml.sax.ContentHandler."},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
- "O recurso [ {0} ] n\u00e3o p\u00f4de ser encontrado.\n {1}"},
-
- { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
- "O recurso [ {0} ] n\u00e3o p\u00f4de carregar: {1} \n {2} \n {3}"},
-
- { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Tamanho do buffer <=0"},
-
- { MsgKey.ER_INVALID_UTF16_SURROGATE,
- "Detectado substituto UTF-16 inv\u00e1lido: {0} ?"},
-
- { MsgKey.ER_OIERROR,
- "Erro de E/S"},
-
- { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
- "Imposs\u00edvel incluir atributo {0} depois de n\u00f3s filhos ou antes da gera\u00e7\u00e3o de um elemento. O atributo ser\u00e1 ignorado."},
-
- { MsgKey.ER_NAMESPACE_PREFIX,
- "Namespace para prefixo ''{0}'' n\u00e3o foi declarado. "},
-
- // ER_STRAY_ATTRIBUTE needs translation
- { MsgKey.ER_STRAY_NAMESPACE,
- "Declara\u00e7\u00e3o de namespace ''{0}''=''{1}'' fora do elemento. "},
-
- { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
- "N\u00e3o foi poss\u00edvel carregar ''{0}'' (verifique CLASSPATH), utilizando agora somente os padr\u00f5es"},
-
- // ER_ILLEGAL_CHARACTER needs translation
- { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "N\u00e3o foi poss\u00edvel carregar o arquivo de propriedade ''{0}'' para o m\u00e9todo de sa\u00edda ''{1}'' (verifique CLASSPATH)"},
-
- { MsgKey.ER_INVALID_PORT,
- "N\u00famero de porta inv\u00e1lido"},
-
- { MsgKey.ER_PORT_WHEN_HOST_NULL,
- "A porta n\u00e3o pode ser definida quando o host \u00e9 nulo"},
-
- { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
- "O host n\u00e3o \u00e9 um endere\u00e7o formado corretamente"},
-
- { MsgKey.ER_SCHEME_NOT_CONFORMANT,
- "O esquema n\u00e3o est\u00e1 em conformidade."},
-
- { MsgKey.ER_SCHEME_FROM_NULL_STRING,
- "Imposs\u00edvel definir esquema a partir da cadeia nula"},
-
- { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
- "O caminho cont\u00e9m seq\u00fc\u00eancia de escape inv\u00e1lida"},
-
- { MsgKey.ER_PATH_INVALID_CHAR,
- "O caminho cont\u00e9m caractere inv\u00e1lido: {0}"},
-
- { MsgKey.ER_FRAG_INVALID_CHAR,
- "O fragmento cont\u00e9m caractere inv\u00e1lido"},
-
- { MsgKey.ER_FRAG_WHEN_PATH_NULL,
- "O fragmento n\u00e3o pode ser definido quando o caminho \u00e9 nulo"},
-
- { MsgKey.ER_FRAG_FOR_GENERIC_URI,
- "O fragmento s\u00f3 pode ser definido para um URI gen\u00e9rico"},
-
- { MsgKey.ER_NO_SCHEME_IN_URI,
- "Nenhum esquema encontrado no URI: {0}"},
-
- { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
- "Imposs\u00edvel inicializar URI com par\u00e2metros vazios"},
-
- { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
- "O fragmento n\u00e3o pode ser especificado no caminho e fragmento"},
- { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
- "A cadeia de consulta n\u00e3o pode ser especificada na cadeia de consulta e caminho"},
+ /*
+ * This file contains error and warning messages related to
+ * Serializer Error Handling.
+ *
+ * General notes to translators:
+
+ * 1) A stylesheet is a description of how to transform an input XML document
+ * into a resultant XML document (or HTML document or text). The
+ * stylesheet itself is described in the form of an XML document.
+
+ *
+ * 2) An element is a mark-up tag in an XML document; an attribute is a
+ * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
+ * "elem" is an element name, "attr" and "attr2" are attribute names with
+ * the values "val" and "val2", respectively.
+ *
+ * 3) A namespace declaration is a special attribute that is used to associate
+ * a prefix with a URI (the namespace). The meanings of element names and
+ * attribute names that use that prefix are defined with respect to that
+ * namespace.
+ *
+ *
+ */
+
+ /** The lookup table for error messages. */
+ public Object[][] getContents() {
+ Object[][] contents = new Object[][] {
+ { MsgKey.BAD_MSGKEY,
+ "A chave de mensagem ''{0}'' n\u00e3o est\u00e1 na classe de mensagem ''{1}''" },
+
+ { MsgKey.BAD_MSGFORMAT,
+ "O formato da mensagem ''{0}'' na classe de mensagem ''{1}'' falhou." },
+
+ { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+ "A classe de serializador ''{0}'' n\u00e3o implementa org.xml.sax.ContentHandler." },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+ "O recurso [ {0} ] n\u00e3o p\u00f4de ser encontrado.\n{1}" },
+
+ { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+ "O recurso [ {0} ] n\u00e3o p\u00f4de carregar: {1} \n {2} \t {3}" },
+
+ { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+ "Tamanho do buffer <=0" },
+
+ { MsgKey.ER_INVALID_UTF16_SURROGATE,
+ "Detectado substituto UTF-16 inv\u00e1lido: {0} ?" },
+
+ { MsgKey.ER_OIERROR,
+ "Erro de E/S" },
+
+ { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+ "Imposs\u00edvel incluir atributo {0} depois de n\u00f3s filhos ou antes da gera\u00e7\u00e3o de um elemento. O atributo ser\u00e1 ignorado." },
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ { MsgKey.ER_NAMESPACE_PREFIX,
+ "O espa\u00e7o de nomes do prefixo ''{0}'' n\u00e3o foi declarado. " },
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * being processed attempted to construct an XML document with an
+ * attribute in a place other than on an element. The substitution text
+ * specifies the name of the attribute.
+ */
+ { MsgKey.ER_STRAY_ATTRIBUTE,
+ "Atributo ''{0}'' fora do elemento. " },
+
+ /*
+ * Note to translators: As with the preceding message, a namespace
+ * declaration has the form of an attribute and is only permitted to
+ * appear on an element. The substitution text {0} is the namespace
+ * prefix and {1} is the URI that was being used in the erroneous
+ * namespace declaration.
+ */
+ { MsgKey.ER_STRAY_NAMESPACE,
+ "Declara\u00e7\u00e3o de espa\u00e7o de nomes ''{0}''=''{1}'' fora do elemento. " },
+
+ { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+ "N\u00e3o foi poss\u00edvel carregar ''{0}'' (verifique CLASSPATH) agora , utilizando somente os padr\u00f5es" },
+
+ { MsgKey.ER_ILLEGAL_CHARACTER,
+ "Tentativa de processar o caractere de um valor integral {0} que n\u00e3o \u00e9 representado na codifica\u00e7\u00e3o de sa\u00edda especificada de {1}." },
+
+ { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+ "N\u00e3o foi poss\u00edvel carregar o arquivo de propriedade ''{0}'' para o m\u00e9todo de sa\u00edda ''{1}'' (verifique CLASSPATH)" },
+
+ { MsgKey.ER_INVALID_PORT,
+ "N\u00famero de porta inv\u00e1lido" },
+
+ { MsgKey.ER_PORT_WHEN_HOST_NULL,
+ "A porta n\u00e3o pode ser definida quando o host \u00e9 nulo" },
+
+ { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+ "O host n\u00e3o \u00e9 um endere\u00e7o formado corretamente" },
+
+ { MsgKey.ER_SCHEME_NOT_CONFORMANT,
+ "O esquema n\u00e3o est\u00e1 em conformidade." },
+
+ { MsgKey.ER_SCHEME_FROM_NULL_STRING,
+ "Imposs\u00edvel definir esquema a partir da cadeia nula" },
+
+ { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+ "O caminho cont\u00e9m seq\u00fc\u00eancia de escape inv\u00e1lida" },
+
+ { MsgKey.ER_PATH_INVALID_CHAR,
+ "O caminho cont\u00e9m caractere inv\u00e1lido: {0}" },
+
+ { MsgKey.ER_FRAG_INVALID_CHAR,
+ "O fragmento cont\u00e9m caractere inv\u00e1lido" },
+
+ { MsgKey.ER_FRAG_WHEN_PATH_NULL,
+ "O fragmento n\u00e3o pode ser definido quando o caminho \u00e9 nulo" },
+
+ { MsgKey.ER_FRAG_FOR_GENERIC_URI,
+ "O fragmento s\u00f3 pode ser definido para um URI gen\u00e9rico" },
+
+ { MsgKey.ER_NO_SCHEME_IN_URI,
+ "Nenhum esquema encontrado no URI" },
+
+ { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+ "Imposs\u00edvel inicializar URI com par\u00e2metros vazios" },
+
+ { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+ "O fragmento n\u00e3o pode ser especificado no caminho e fragmento" },
+
+ { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+ "A cadeia de consulta n\u00e3o pode ser especificada na cadeia de consulta e caminho" },
+
+ { MsgKey.ER_NO_PORT_IF_NO_HOST,
+ "Port n\u00e3o pode ser especificado se host n\u00e3o for especificado" },
+
+ { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+ "Userinfo n\u00e3o pode ser especificado se host n\u00e3o for especificado" },
+ { MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+ "Aviso: A vers\u00e3o do documento de sa\u00edda precisa ser ''{0}''. Essa vers\u00e3o do XML n\u00e3o \u00e9 suportada. A vers\u00e3o do documento de sa\u00edda ser\u00e1 ''1.0''." },
+
+ { MsgKey.ER_SCHEME_REQUIRED,
+ "O esquema \u00e9 obrigat\u00f3rio!" },
+
+ /*
+ * Note to translators: The words 'Properties' and
+ * 'SerializerFactory' in this message are Java class names
+ * and should not be translated.
+ */
+ { MsgKey.ER_FACTORY_PROPERTY_MISSING,
+ "O objeto Properties transmitido para SerializerFactory n\u00e3o tem uma propriedade ''{0}''." },
- { MsgKey.ER_NO_PORT_IF_NO_HOST,
- "Port n\u00e3o pode ser especificado se host n\u00e3o for especificado"},
+ { MsgKey.ER_ENCODING_NOT_SUPPORTED,
+ "Aviso: A codifica\u00e7\u00e3o ''{0}'' n\u00e3o \u00e9 suportada pelo Java Runtime." },
- { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
- "Userinfo n\u00e3o pode ser especificado se host n\u00e3o for especificado"},
- { MsgKey.ER_SCHEME_REQUIRED,
- "O esquema \u00e9 obrigat\u00f3rio!"}
+ };
- };
- return contents;
- }
+ return contents;
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org