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:35:22 UTC
svn commit: r385900 [2/3] - /xalan/java/trunk/src/org/apache/xml/res/
Modified: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ko.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ko.java?rev=385900&r1=385899&r2=385900&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ko.java (original)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ko.java Tue Mar 14 13:35:20 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.
@@ -75,19 +75,6 @@
*
*/
- /** Maximum error messages, this is needed to keep track of the number of messages. */
- public static final int MAX_CODE = 61;
-
- /** Maximum warnings, this is needed to keep track of the number of warnings. */
- public static final int MAX_WARNING = 0;
-
- /** Maximum misc strings. */
- public static final int MAX_OTHERS = 4;
-
- /** Maximum total warnings and error messages. */
- public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
-
-
/*
* Message keys
*/
@@ -152,20 +139,7 @@
public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
-
- // Message keys used by the serializer
- public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND";
- public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD";
- public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO";
- public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
- public static final String ER_OIERROR = "ER_OIERROR";
- public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
- public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE";
- public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
- public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE";
- public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
- public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER";
- public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
/*
* Now fill in the message text.
@@ -188,7 +162,7 @@
{"ER0000" , "{0}" },
{ ER_FUNCTION_NOT_SUPPORTED,
- "\ud568\uc218\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4!"},
+ "\ud568\uc218\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
{ ER_CANNOT_OVERWRITE_CAUSE,
"\uc6d0\uc778\uc744 \uacb9\uccd0\uc4f8 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
@@ -203,7 +177,7 @@
"\uc624\ud504\uc14b\uc774 \uc2ac\ub86f\ubcf4\ub2e4 \ud07d\ub2c8\ub2e4."},
{ ER_COROUTINE_NOT_AVAIL,
- "Coroutine\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4, id={0}"},
+ "Coroutine\uc740 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. id={0}"},
{ ER_COROUTINE_CO_EXIT,
"CoroutineManager\uac00 co_exit() \uc694\uccad\uc744 \ubc1b\uc558\uc2b5\ub2c8\ub2e4."},
@@ -257,28 +231,28 @@
"\uad6c\ubb38 \ubd84\uc11d\uae30\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_EXCEPTION_CREATING_POOL,
- "\ud480\uc758 \uc0c8 \uc778\uc2a4\ud134\uc2a4 \uc791\uc131 \uc911 \uc608\uc678"},
+ "\ud480\uc758 \uc0c8 \uc778\uc2a4\ud134\uc2a4 \uc791\uc131 \uc911 \uc608\uc678\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4."},
{ ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc774\uc2a4\ucf00\uc774\ud504 \uc21c\uc11c\uac00 \uc788\uc2b5\ub2c8\ub2e4."},
{ ER_SCHEME_REQUIRED,
- "\uc124\uacc4\uac00 \ud544\uc694\ud569\ub2c8\ub2e4!"},
+ "\uc2a4\ud0a4\ub9c8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4."},
{ ER_NO_SCHEME_IN_URI,
- "URI\uc5d0 \uc124\uacc4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4: {0}"},
+ "URI\uc5d0 \uc2a4\ud0a4\ub9c8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4: {0}"},
{ ER_NO_SCHEME_INURI,
- "URI\uc5d0 \uc124\uacc4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."},
+ "URI\uc5d0 \uc2a4\ud0a4\ub9c8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_PATH_INVALID_CHAR,
"\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4: {0}"},
{ ER_SCHEME_FROM_NULL_STRING,
- "\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc124\uacc4\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+ "\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc2a4\ud0a4\ub9c8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_SCHEME_NOT_CONFORMANT,
- "\uc124\uacc4\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
+ "\uc2a4\ud0a4\ub9c8\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
{ ER_HOST_ADDRESS_NOT_WELLFORMED,
"\ud638\uc2a4\ud2b8\uac00 \uc644\uc804\ud55c \uc8fc\uc18c\uac00 \uc544\ub2d9\ub2c8\ub2e4."},
@@ -335,31 +309,31 @@
"Axis traverser\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4: {0}"},
{ ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
- "\ub110(null) PrintWriter\ub85c ListingErrorHandler\ub97c \uc791\uc131\ud588\uc2b5\ub2c8\ub2e4!"},
+ "\ub110(null) PrintWriter\ub85c ListingErrorHandler\ub97c \uc791\uc131\ud588\uc2b5\ub2c8\ub2e4."},
{ ER_SYSTEMID_UNKNOWN,
"SystemId\ub97c \uc54c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_LOCATION_UNKNOWN,
- "\uc624\ub958\uc758 \uc704\uce58\ub97c \uc54c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+ "\uc624\ub958 \uc704\uce58 \uc54c \uc218 \uc5c6\uc74c"},
{ ER_PREFIX_MUST_RESOLVE,
"\uc811\ub450\ubd80\ub294 \uc774\ub984 \uacf5\uac04\uc73c\ub85c \ubd84\uc11d\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4: {0}"},
{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
- "XPathContext\uc5d0\uc11c createDocument()\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4!"},
+ "XPathContext\uc5d0\uc11c createDocument()\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
- "\ud558\uc704 \uc18d\uc131\uc5d0 \uc18c\uc720\uc790 \ubb38\uc11c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4!"},
+ "\ud558\uc704 \uc18d\uc131\uc5d0 \uc18c\uc720\uc790 \ubb38\uc11c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
- "\ud558\uc704 \uc18d\uc131\uc5d0 \uc18c\uc720\uc790 \ubb38\uc11c \uc694\uc18c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4!"},
+ "\ud558\uc704 \uc18d\uc131\uc5d0 \uc18c\uc720\uc790 \ubb38\uc11c \uc694\uc18c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
- "\uacbd\uace0: \ubb38\uc11c \uc694\uc18c \uc55e\uc5d0 \ud14d\uc2a4\ud2b8\ub97c \ucd9c\ub825\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4! \ubb34\uc2dc \uc911..."},
+ "\uacbd\uace0: \ubb38\uc11c \uc694\uc18c \uc55e\uc5d0 \ud14d\uc2a4\ud2b8\ub97c \ucd9c\ub825\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ubb34\uc2dc \uc911..."},
{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
- "DOM\uc5d0 \ub458 \uc774\uc0c1\uc758 \ub8e8\ud2b8\uac00 \uc788\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4!"},
+ "DOM\uc5d0 \ub458 \uc774\uc0c1\uc758 \ub8e8\ud2b8\uac00 \uc788\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
{ ER_ARG_LOCALNAME_NULL,
"'localName' \uc778\uc218\uac00 \ub110(null)\uc785\ub2c8\ub2e4."},
@@ -368,71 +342,21 @@
// The localname is the portion after the optional colon; the message indicates
// that there is a problem with that part of the QNAME.
{ ER_ARG_LOCALNAME_INVALID,
- "QNAME\uc758 \ub85c\uceec \uc774\ub984\uc740 \uc62c\ubc14\ub978 NCName\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
+ "QNAME\uc758 \ub85c\uceec \uc774\ub984\uc740 \uc720\ud6a8\ud55c NCName\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
// Note to translators: A QNAME has the syntactic form [NCName:]NCName
// The prefix is the portion before the optional colon; the message indicates
// that there is a problem with that part of the QNAME.
{ ER_ARG_PREFIX_INVALID,
- "QNAME\uc758 \uc811\ub450\ubd80\ub294 \uc62c\ubc14\ub978 NCName\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
+ "QNAME\uc758 \uc811\ub450\ubd80\ub294 \uc720\ud6a8\ud55c NCName\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
- { "BAD_CODE", "createMessage\uc5d0 \ub300\ud55c \ub9e4\uac1c\ubcc0\uc218\uac00 \ubc94\uc704\ub97c \ubc97\uc5b4\ub0a9\ub2c8\ub2e4."},
- { "FORMAT_FAILED", "messageFormat \ud638\ucd9c \uc911 \uc608\uc678 \ubc1c\uc0dd"},
- { "line", "\ud589 #"},
- { "column","\uc5f4 #"},
-
- {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."},
-
- {ER_RESOURCE_COULD_NOT_FIND,
- "[ {0} ] \uc790\uc6d0\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n {1}" },
+ { ER_NAME_CANT_START_WITH_COLON,
+ "\uc774\ub984\uc740 \ucf5c\ub860\uc73c\ub85c \uc2dc\uc791\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. "},
- {ER_RESOURCE_COULD_NOT_LOAD,
- "[ {0} ] \uc790\uc6d0\uc774 {1} \n {2} \t {3}\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. " },
-
- {ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "\ubc84\ud37c \ud06c\uae30 <=0" },
-
- {ER_INVALID_UTF16_SURROGATE,
- "\uc798\ubabb\ub41c UTF-16 \ub300\ub9ac\uc790(surrogate)\uac00 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4: {0} ?" },
-
- {ER_OIERROR,
- "IO \uc624\ub958" },
-
- {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.
- */
- {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.
- */
- {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.
- */
- {ER_STRAY_NAMESPACE,
- "''{0}''=''{1}'' \uc774\ub984 \uacf5\uac04 \uc120\uc5b8\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
-
- {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_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." }
+ { "BAD_CODE", "createMessage\uc5d0 \ub300\ud55c \ub9e4\uac1c\ubcc0\uc218\uac00 \ubc94\uc704\ub97c \ubc97\uc5b4\ub0ac\uc2b5\ub2c8\ub2e4."},
+ { "FORMAT_FAILED", "messageFormat \ud638\ucd9c \uc911 \uc608\uc678\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4."},
+ { "line", "\ud589 #"},
+ { "column","\uc5f4 #"}
};
@@ -468,7 +392,7 @@
// Since we can't find the localized property file,
// fall back to en_US.
return (XMLErrorResources) ResourceBundle.getBundle(className,
- new Locale("ko", "US"));
+ new Locale("ko", "KR"));
}
catch (MissingResourceException e2)
{
Modified: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pl.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pl.java?rev=385900&r1=385899&r2=385900&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pl.java (original)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pl.java Tue Mar 14 13:35:20 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.
@@ -75,19 +75,6 @@
*
*/
- /** Maximum error messages, this is needed to keep track of the number of messages. */
- public static final int MAX_CODE = 61;
-
- /** Maximum warnings, this is needed to keep track of the number of warnings. */
- public static final int MAX_WARNING = 0;
-
- /** Maximum misc strings. */
- public static final int MAX_OTHERS = 4;
-
- /** Maximum total warnings and error messages. */
- public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
-
-
/*
* Message keys
*/
@@ -152,20 +139,7 @@
public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
-
- // Message keys used by the serializer
- public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND";
- public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD";
- public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO";
- public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
- public static final String ER_OIERROR = "ER_OIERROR";
- public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
- public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE";
- public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
- public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE";
- public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
- public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER";
- public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
/*
* Now fill in the message text.
@@ -221,10 +195,10 @@
"Nie mo\u017cna wywo\u0142a\u0107 parse podczas analizowania"},
{ ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
- "B\u0142\u0105d: iterator okre\u015blonego typu dla osi {0} nie jest zaimplementowany"},
+ "B\u0142\u0105d: Iterator okre\u015blonego typu dla osi {0} nie jest zaimplementowany"},
{ ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
- "B\u0142\u0105d: iterator dla osi {0} nie jest zaimplementowany"},
+ "B\u0142\u0105d: Iterator dla osi {0} nie jest zaimplementowany"},
{ ER_ITERATOR_CLONE_NOT_SUPPORTED,
"Kopia iteratora nie jest obs\u0142ugiwana"},
@@ -260,7 +234,7 @@
"wyj\u0105tek podczas tworzenia nowej instancji dla puli"},
{ ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
- "\u015acie\u017cka zawiera niepoprawn\u0105 sekwencj\u0119 o zmienionym znaczeniu"},
+ "\u015acie\u017cka zawiera nieznan\u0105 sekwencj\u0119 o zmienionym znaczeniu"},
{ ER_SCHEME_REQUIRED,
"Schemat jest wymagany!"},
@@ -305,7 +279,7 @@
"Nie mo\u017cna zmieni\u0107 {0} {1} podczas analizowania"},
{ ER_SELF_CAUSATION_NOT_PERMITTED,
- "Powodowanie siebie jest niedozwolone"},
+ "Bycie w\u0142asn\u0105 przyczyn\u0105 jest niedozwolone"},
{ ER_NO_USERINFO_IF_NO_HOST,
"Nie mo\u017cna poda\u0107 informacji o u\u017cytkowniku, je\u015bli nie podano hosta"},
@@ -329,7 +303,7 @@
"IncrementalSAXSource_Filter nie jest obecnie mo\u017cliwy do ponownego uruchomienia"},
{ ER_XMLRDR_NOT_BEFORE_STARTPARSE,
- "XMLReader nie przed \u017c\u0105daniem startParse"},
+ "XMLReader nie mo\u017ce wyst\u0105pi\u0107 przed \u017c\u0105daniem startParse"},
{ ER_AXIS_TRAVERSER_NOT_SUPPORTED,
"Nieobs\u0142ugiwane przej\u015bcie osi: {0}"},
@@ -350,13 +324,13 @@
"Funkcja createDocument() nie jest obs\u0142ugiwana w XPathContext!"},
{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
- "Potomek atrybutu nie ma dokumentu w\u0142a\u015bciciela!"},
+ "Bezpo\u015bredni element potomny atrybutu nie ma dokumentu w\u0142a\u015bciciela!"},
{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
- "Potomek atrybutu nie ma elementu dokumentu w\u0142a\u015bciciela!"},
+ "Bezpo\u015bredni element potomny atrybutu nie ma elementu dokumentu w\u0142a\u015bciciela!"},
{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
- "Ostrze\u017cenie: nie mo\u017cna wyprowadzi\u0107 tekstu przed elementem dokumentu! Ignoruj\u0119..."},
+ "Ostrze\u017cenie: Nie mo\u017cna wyprowadzi\u0107 tekstu przed elementem dokumentu! Ignorowanie..."},
{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
"Nie mo\u017cna mie\u0107 wi\u0119cej ni\u017c jeden element g\u0142\u00f3wny w DOM!"},
@@ -376,63 +350,13 @@
{ ER_ARG_PREFIX_INVALID,
"Przedrostek w QNAME powinien by\u0107 poprawn\u0105 nazw\u0105 NCName"},
+ { ER_NAME_CANT_START_WITH_COLON,
+ "Nazwa nie mo\u017ce rozpoczyna\u0107 si\u0119 od dwukropka"},
+
{ "BAD_CODE", "Parametr createMessage by\u0142 spoza zakresu"},
{ "FORMAT_FAILED", "Podczas wywo\u0142ania messageFormat zg\u0142oszony zosta\u0142 wyj\u0105tek"},
- { "line", "Wiersz: "},
- { "column","Kolumna "},
-
- {ER_SERIALIZER_NOT_CONTENTHANDLER,
- "Klasa szereguj\u0105ca ''{0}'' nie implementuje procedury obs\u0142ugi org.xml.sax.ContentHandler."},
-
- {ER_RESOURCE_COULD_NOT_FIND,
- "Nie mo\u017cna znale\u017a\u0107 zasobu [ {0} ].\n {1}" },
-
- {ER_RESOURCE_COULD_NOT_LOAD,
- "Zas\u00f3b [ {0} ] nie m\u00f3g\u0142 za\u0142adowa\u0107: {1} \n {2} \t {3}" },
-
- {ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Wielko\u015b\u0107 bufora <=0" },
-
- {ER_INVALID_UTF16_SURROGATE,
- "Wykryto niepoprawny surogat UTF-16: {0} ?" },
-
- {ER_OIERROR,
- "B\u0142\u0105d we/wy" },
-
- {ER_ILLEGAL_ATTRIBUTE_POSITION,
- "Nie mo\u017cna doda\u0107 atrybutu {0} po 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.
- */
- {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.
- */
- {ER_STRAY_ATTRIBUTE,
- "Atrybut ''{0}'' 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.
- */
- {ER_STRAY_NAMESPACE,
- "Deklaracja przestrzeni nazw ''{0}''=''{1}'' poza elementem." },
-
- {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_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)" }
+ { "line", "Nr wiersza: "},
+ { "column","Nr kolumny: "}
};
Modified: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pt_BR.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pt_BR.java?rev=385900&r1=385899&r2=385900&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pt_BR.java (original)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_pt_BR.java Tue Mar 14 13:35:20 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.
@@ -75,19 +75,6 @@
*
*/
- /** Maximum error messages, this is needed to keep track of the number of messages. */
- public static final int MAX_CODE = 61;
-
- /** Maximum warnings, this is needed to keep track of the number of warnings. */
- public static final int MAX_WARNING = 0;
-
- /** Maximum misc strings. */
- public static final int MAX_OTHERS = 4;
-
- /** Maximum total warnings and error messages. */
- public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
-
-
/*
* Message keys
*/
@@ -152,20 +139,7 @@
public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
-
- // Message keys used by the serializer
- public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND";
- public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD";
- public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO";
- public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
- public static final String ER_OIERROR = "ER_OIERROR";
- public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
- public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE";
- public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
- public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE";
- public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
- public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER";
- public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
/*
* Now fill in the message text.
@@ -215,7 +189,7 @@
"Erro de par\u00e2metro coroutine ({0})"},
{ ER_PARSER_DOTERMINATE_ANSWERS,
- "\nINESPERADO: doTerminate do analizador respondeu {0}"},
+ "\nINESPERADO: doTerminate do analisador respondeu {0}"},
{ ER_NO_PARSE_CALL_WHILE_PARSING,
"parse n\u00e3o pode ser chamado durante an\u00e1lise"},
@@ -344,7 +318,7 @@
"Localiza\u00e7\u00e3o de erro desconhecido"},
{ ER_PREFIX_MUST_RESOLVE,
- "O prefixo deve ser resolvido para um namespace: {0}"},
+ "O prefixo deve ser resolvido para um espa\u00e7o de nomes: {0}"},
{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
"createDocument() n\u00e3o suportado em XPathContext!"},
@@ -376,63 +350,13 @@
{ ER_ARG_PREFIX_INVALID,
"O prefixo em QNAME deve ser um NCName v\u00e1lido"},
+ { ER_NAME_CANT_START_WITH_COLON,
+ "O nome n\u00e3o pode come\u00e7ar com um caractere de dois pontos (:)"},
+
{ "BAD_CODE", "O par\u00e2metro para createMessage estava fora dos limites"},
{ "FORMAT_FAILED", "Exce\u00e7\u00e3o emitida durante chamada messageFormat"},
{ "line", "Linha n\u00b0"},
- { "column","Coluna n\u00b0"},
-
- {ER_SERIALIZER_NOT_CONTENTHANDLER,
- "A classe de serializador ''{0}'' n\u00e3o implementa org.xml.sax.ContentHandler."},
-
- {ER_RESOURCE_COULD_NOT_FIND,
- "O recurso [ {0} ] n\u00e3o p\u00f4de ser encontrado.\n {1}" },
-
- {ER_RESOURCE_COULD_NOT_LOAD,
- "O recurso [ {0} ] n\u00e3o p\u00f4de carregar: {1} \n {2} \t {3}" },
-
- {ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Tamanho do buffer <=0" },
-
- {ER_INVALID_UTF16_SURROGATE,
- "Detectado substituto UTF-16 inv\u00e1lido: {0} ?" },
-
- {ER_OIERROR,
- "Erro de E/S" },
-
- {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.
- */
- {ER_NAMESPACE_PREFIX,
- "Namespace para 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.
- */
- {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.
- */
- {ER_STRAY_NAMESPACE,
- "Declara\u00e7\u00e3o de namespace ''{0}''=''{1}'' fora do elemento. " },
-
- {ER_COULD_NOT_LOAD_RESOURCE,
- "N\u00e3o foi poss\u00edvel carregar ''{0}'' (verifique CLASSPATH), utilizando agora somente os padr\u00f5es"},
-
- {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)" }
+ { "column","Coluna n\u00b0"}
};
Modified: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ru.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ru.java?rev=385900&r1=385899&r2=385900&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ru.java (original)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_ru.java Tue Mar 14 13:35:20 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.
@@ -75,19 +75,6 @@
*
*/
- /** Maximum error messages, this is needed to keep track of the number of messages. */
- public static final int MAX_CODE = 61;
-
- /** Maximum warnings, this is needed to keep track of the number of warnings. */
- public static final int MAX_WARNING = 0;
-
- /** Maximum misc strings. */
- public static final int MAX_OTHERS = 4;
-
- /** Maximum total warnings and error messages. */
- public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
-
-
/*
* Message keys
*/
@@ -152,20 +139,7 @@
public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
-
- // Message keys used by the serializer
- public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND";
- public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD";
- public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO";
- public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
- public static final String ER_OIERROR = "ER_OIERROR";
- public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
- public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE";
- public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
- public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE";
- public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
- public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER";
- public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
/*
* Now fill in the message text.
@@ -194,7 +168,7 @@
"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0443"},
{ ER_NO_DEFAULT_IMPL,
- "\u041d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e"},
+ "\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 "},
{ ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
"ChunkedIntArray({0}) \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f"},
@@ -224,7 +198,7 @@
"\u041e\u0448\u0438\u0431\u043a\u0430: \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u043e\u0441\u0438 {0} \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d"},
{ ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
- "\u041e\u0448\u0438\u0431\u043a\u0430: \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u043e\u0441\u0438 {0} \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d"},
+ "\u041e\u0448\u0438\u0431\u043a\u0430: \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u043e\u0441\u0438 {0} "},
{ ER_ITERATOR_CLONE_NOT_SUPPORTED,
"\u041a\u043e\u043f\u0438\u044f \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f"},
@@ -323,7 +297,7 @@
"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c URI \u0441 \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438"},
{ ER_METHOD_NOT_SUPPORTED,
- "\u041c\u0435\u0442\u043e\u0434 \u0435\u0449\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f"},
+ "\u041c\u0435\u0442\u043e\u0434 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f "},
{ ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
"\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a IncrementalSAXSource_Filter \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d"},
@@ -356,7 +330,7 @@
"\u0423 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 child \u043d\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430!"},
{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
- "\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435: \u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0442\u0435\u043a\u0441\u0442 \u043f\u0435\u0440\u0435\u0434 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430! \u041f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d..."},
+ "\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435: \u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0442\u0435\u043a\u0441\u0442 \u043f\u0435\u0440\u0435\u0434 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430! \u041f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d..."},
{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
"\u0412 DOM \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442!"},
@@ -376,63 +350,13 @@
{ ER_ARG_PREFIX_INVALID,
"\u041f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432 QNAME \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c NCName"},
+ { ER_NAME_CANT_START_WITH_COLON,
+ "\u0418\u043c\u044f \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u044f"},
+
{ "BAD_CODE", "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 createMessage \u043b\u0435\u0436\u0438\u0442 \u0432\u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430"},
{ "FORMAT_FAILED", "\u0418\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 messageFormat"},
- { "line", "\u041d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438"},
- { "column","\u041d\u043e\u043c\u0435\u0440 \u0441\u0442\u043e\u043b\u0431\u0446\u0430"},
-
- {ER_SERIALIZER_NOT_CONTENTHANDLER,
- "\u041a\u043b\u0430\u0441\u0441 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 ''{0}'' \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 org.xml.sax.ContentHandler."},
-
- {ER_RESOURCE_COULD_NOT_FIND,
- "\u0420\u0435\u0441\u0443\u0440\u0441 [ {0} ] \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d.\n{1}" },
-
- {ER_RESOURCE_COULD_NOT_LOAD,
- "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441 [ {0} ]: {1} \n {2} \t {3}" },
-
- {ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "\u0420\u0430\u0437\u043c\u0435\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 <=0" },
-
- {ER_INVALID_UTF16_SURROGATE,
- "\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 UTF-16: {0} ?" },
-
- {ER_OIERROR,
- "\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430" },
-
- {ER_ILLEGAL_ATTRIBUTE_POSITION,
- "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 {0} \u043f\u043e\u0441\u043b\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0443\u0437\u043b\u043e\u0432 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u0410\u0442\u0440\u0438\u0431\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d. "},
-
- /*
- * 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.
- */
- {ER_NAMESPACE_PREFIX,
- "\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430 ''{0}'' \u043d\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043e." },
- /*
- * 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.
- */
- {ER_STRAY_ATTRIBUTE,
- "\u0410\u0442\u0440\u0438\u0431\u0443\u0442 ''{0}'' \u0432\u043d\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430." },
-
- /*
- * 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.
- */
- {ER_STRAY_NAMESPACE,
- "\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0435\u043d ''{0}''=''{1}'' \u0432\u043d\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430." },
-
- {ER_COULD_NOT_LOAD_RESOURCE,
- "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c ''{0}'' (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 CLASSPATH), \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e"},
-
- {ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u0432\u043e\u0439\u0441\u0442\u0432 ''{0}'' \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 ''{1}'' (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 CLASSPATH)" }
+ { "line", "\u041d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438 "},
+ { "column","\u041d\u043e\u043c\u0435\u0440 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 "}
};
Modified: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sk.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sk.java?rev=385900&r1=385899&r2=385900&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sk.java (original)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sk.java Tue Mar 14 13:35:20 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.
@@ -75,19 +75,6 @@
*
*/
- /** Maximum error messages, this is needed to keep track of the number of messages. */
- public static final int MAX_CODE = 61;
-
- /** Maximum warnings, this is needed to keep track of the number of warnings. */
- public static final int MAX_WARNING = 0;
-
- /** Maximum misc strings. */
- public static final int MAX_OTHERS = 4;
-
- /** Maximum total warnings and error messages. */
- public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
-
-
/*
* Message keys
*/
@@ -152,20 +139,7 @@
public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
-
- // Message keys used by the serializer
- public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND";
- public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD";
- public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO";
- public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
- public static final String ER_OIERROR = "ER_OIERROR";
- public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
- public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE";
- public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
- public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE";
- public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
- public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER";
- public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
/*
* Now fill in the message text.
@@ -203,7 +177,7 @@
"Offset v\u00e4\u010d\u0161\u00ed, ne\u017e z\u00e1suvka"},
{ ER_COROUTINE_NOT_AVAIL,
- "Korutina nie je dostupn\u00e1, id={0}"},
+ "Ko-rutina nie je dostupn\u00e1, id={0}"},
{ ER_COROUTINE_CO_EXIT,
"CoroutineManager obdr\u017eal po\u017eiadavku co_exit()"},
@@ -254,7 +228,7 @@
"startParse potrebuje nenulov\u00fd SAXParser"},
{ ER_COULD_NOT_INIT_PARSER,
- "nebolo mo\u017en\u00e9 inicializova\u0165 syntaktick\u00fd analyz\u00e1tor pomocou"},
+ "Nebolo mo\u017en\u00e9 inicializova\u0165 syntaktick\u00fd analyz\u00e1tor pomocou"},
{ ER_EXCEPTION_CREATING_POOL,
"v\u00fdnimka vytv\u00e1rania novej in\u0161tancie oblasti"},
@@ -284,7 +258,7 @@
"Hostite\u013e nie je spr\u00e1vne form\u00e1tovan\u00e1 adresa"},
{ ER_PORT_WHEN_HOST_NULL,
- "Nem\u00f4\u017ee by\u0165 stanoven\u00fd port, ak je hostite\u013e null"},
+ "Nem\u00f4\u017ee by\u0165 stanoven\u00fd port, ak je hostite\u013e nulov\u00fd"},
{ ER_INVALID_PORT,
"Neplatn\u00e9 \u010d\u00edslo portu"},
@@ -362,7 +336,7 @@
"Nie je mo\u017en\u00e9 ma\u0165 viac, ne\u017e jeden kore\u0148 DOM!"},
{ ER_ARG_LOCALNAME_NULL,
- "Argument 'localName' je null"},
+ "Argument 'localName' je nulov\u00fd"},
// Note to translators: A QNAME has the syntactic form [NCName:]NCName
// The localname is the portion after the optional colon; the message indicates
@@ -376,63 +350,13 @@
{ ER_ARG_PREFIX_INVALID,
"Predpona v QNAME by mala by\u0165 platn\u00fdm NCName"},
+ { ER_NAME_CANT_START_WITH_COLON,
+ "N\u00e1zov sa nem\u00f4\u017ee za\u010d\u00edna\u0165 dvojbodkou."},
+
{ "BAD_CODE", "Parameter na createMessage bol mimo ohrani\u010denia"},
{ "FORMAT_FAILED", "V\u00fdnimka po\u010das volania messageFormat"},
{ "line", "Riadok #"},
- { "column","St\u013apec #"},
-
- {ER_SERIALIZER_NOT_CONTENTHANDLER,
- "Trieda serializ\u00e1tora ''{0}'' neimplementuje org.xml.sax.ContentHandler."},
-
- {ER_RESOURCE_COULD_NOT_FIND,
- "Prostriedok [ {0} ] nemohol by\u0165 n\u00e1jden\u00fd.\n {1}" },
-
- {ER_RESOURCE_COULD_NOT_LOAD,
- "Prostriedok [ {0} ] sa nedal na\u010d\u00edta\u0165: {1} \n {2} \t {3}" },
-
- {ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Ve\u013ekos\u0165 vyrovn\u00e1vacej pam\u00e4te <=0" },
-
- {ER_INVALID_UTF16_SURROGATE,
- "Bolo zisten\u00e9 neplatn\u00e9 nahradenie UTF-16: {0} ?" },
-
- {ER_OIERROR,
- "chyba IO" },
-
- {ER_ILLEGAL_ATTRIBUTE_POSITION,
- "Nie je mo\u017en\u00e9 prida\u0165 atrib\u00fat {0} po uzloch potomka alebo pred vytvoren\u00edm elementu. Atrib\u00fat bude ignorovan\u00fd."},
-
- /*
- * 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.
- */
- {ER_NAMESPACE_PREFIX,
- "N\u00e1zvov\u00fd priestor pre predponu ''{0}'' nebol deklarovan\u00fd." },
- /*
- * 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.
- */
- {ER_STRAY_ATTRIBUTE,
- "Atrib\u00fat ''{0}'' je mimo elementu." },
-
- /*
- * 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.
- */
- {ER_STRAY_NAMESPACE,
- "Deklar\u00e1cia n\u00e1zvov\u00e9ho priestoru ''{0}''=''{1}'' je mimo elementu." },
-
- {ER_COULD_NOT_LOAD_RESOURCE,
- "Nedalo sa na\u010d\u00edta\u0165 ''{0}'' (skontrolujte CLASSPATH), pou\u017e\u00edvaj\u00fa sa predvolen\u00e9 hodnoty"},
-
- {ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "Nedal sa na\u010d\u00edta\u0165 s\u00fabor vlastnost\u00ed ''{0}'' pre v\u00fdstupn\u00fa met\u00f3du ''{1}'' (skontrolujte CLASSPATH)" }
+ { "column","St\u013apec #"}
};
Added: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sl.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sl.java?rev=385900&view=auto
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sl.java (added)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sl.java Tue Mar 14 13:35:20 2006
@@ -0,0 +1,429 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id: XMLErrorResources_sl.java,v 1.9 2004/12/16 19:29:01 minchau Exp $
+ */
+
+package org.apache.xml.res;
+
+
+import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * Set up error messages.
+ * We build a two dimensional array of message keys and
+ * message strings. In order to add a new message here,
+ * you need to first add a String constant. And you need
+ * to enter key, value pair as part of the contents
+ * array. You also need to update MAX_CODE for error strings
+ * and MAX_WARNING for warnings ( Needed for only information
+ * purpose )
+ */
+public class XMLErrorResources_sl extends ListResourceBundle
+{
+
+/*
+ * This file contains error and warning messages related to Xalan Error
+ * Handling.
+ *
+ * General notes to translators:
+ *
+ * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
+ * components.
+ * XSLT is an acronym for "XML Stylesheet Language: Transformations".
+ * XSLTC is an acronym for XSLT Compiler.
+ *
+ * 2) 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.
+ *
+ * 3) A template is a component of a stylesheet that is used to match a
+ * particular portion of an input document and specifies the form of the
+ * corresponding portion of the output document.
+ *
+ * 4) 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.
+ *
+ * 5) 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.
+ *
+ * 6) "Translet" is an invented term that describes the class file that
+ * results from compiling an XML stylesheet into a Java class.
+ *
+ * 7) XPath is a specification that describes a notation for identifying
+ * nodes in a tree-structured representation of an XML document. An
+ * instance of that notation is referred to as an XPath expression.
+ *
+ */
+
+ /*
+ * Message keys
+ */
+ public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED";
+ public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE";
+ public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL";
+ public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED";
+ public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT";
+ public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL";
+ public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT";
+ public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED";
+ public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM";
+ public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS";
+ public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING";
+ public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED";
+ public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED";
+ public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED";
+ public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE";
+ public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED";
+ public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL";
+ public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED";
+ public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL";
+ public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE";
+ public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING";
+ public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER";
+ public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER";
+ public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL";
+ public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE";
+ public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED";
+ public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI";
+ public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI";
+ public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR";
+ public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING";
+ public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT";
+ public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED";
+ public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL";
+ public static final String ER_INVALID_PORT = "ER_INVALID_PORT";
+ public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI";
+ public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL";
+ public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR";
+ public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE";
+ public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING";
+ public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED";
+ public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST";
+ public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST";
+ public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH";
+ public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH";
+ public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS";
+ public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED";
+ public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE";
+ public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE";
+ public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED";
+ public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER";
+ public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN";
+ public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN";
+ public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
+ public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED";
+ public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT";
+ public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT";
+ public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC";
+ public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT";
+ public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
+ public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
+ public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
+
+ /*
+ * Now fill in the message text.
+ * Then fill in the message text for that message code in the
+ * array. Use the new error code as the index into the array.
+ */
+
+ // Error messages...
+
+ /**
+ * Get the lookup table for error messages
+ *
+ * @return The association list.
+ */
+ public Object[][] getContents()
+ {
+ return new Object[][] {
+
+ /** Error message ID that has a null message, but takes in a single object. */
+ {"ER0000" , "{0}" },
+
+ { ER_FUNCTION_NOT_SUPPORTED,
+ "Funkcija ni podprta!"},
+
+ { ER_CANNOT_OVERWRITE_CAUSE,
+ "Vzroka ni mogo\u010de prepisati"},
+
+ { ER_NO_DEFAULT_IMPL,
+ "Privzete implementacije ni mogo\u010de najti "},
+
+ { ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
+ "ChunkedIntArray({0}) trenutno ni podprt"},
+
+ { ER_OFFSET_BIGGER_THAN_SLOT,
+ "Odmik ve\u010dji od re\u017ee"},
+
+ { ER_COROUTINE_NOT_AVAIL,
+ "Sorutina ni na voljo, id={0}"},
+
+ { ER_COROUTINE_CO_EXIT,
+ "CoroutineManager je prejel zahtevo co_exit()"},
+
+ { ER_COJOINROUTINESET_FAILED,
+ "co_joinCoroutineSet() je spodletela"},
+
+ { ER_COROUTINE_PARAM,
+ "Napaka parametra sorutine ({0})"},
+
+ { ER_PARSER_DOTERMINATE_ANSWERS,
+ "\nNEPRI\u010cAKOVANO: Odgovor raz\u010dlenjevalnika doTerminate je {0}"},
+
+ { ER_NO_PARSE_CALL_WHILE_PARSING,
+ "med raz\u010dlenjevanjem klic raz\u010dlenitve ni mo\u017een"},
+
+ { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
+ "Napaka: dolo\u010den iterator za os {0} ni implementiran"},
+
+ { ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
+ "Napaka: iterator za os {0} ni implementiran "},
+
+ { ER_ITERATOR_CLONE_NOT_SUPPORTED,
+ "Klon iteratorja ni podprt"},
+
+ { ER_UNKNOWN_AXIS_TYPE,
+ "Neznan pre\u010dni tip osi: {0}"},
+
+ { ER_AXIS_NOT_SUPPORTED,
+ "Pre\u010dnik osi ni podprt: {0}"},
+
+ { ER_NO_DTMIDS_AVAIL,
+ "Na voljo ni ve\u010d DTM ID-jev"},
+
+ { ER_NOT_SUPPORTED,
+ "Ni podprto: {0}"},
+
+ { ER_NODE_NON_NULL,
+ "Vozli\u0161\u010de ne sme biti NULL za getDTMHandleFromNode"},
+
+ { ER_COULD_NOT_RESOLVE_NODE,
+ "Ne morem razre\u0161iti vozli\u0161\u010da v obravnavo"},
+
+ { ER_STARTPARSE_WHILE_PARSING,
+ "Med raz\u010dlenjevanjem klic startParse ni mogo\u010d"},
+
+ { ER_STARTPARSE_NEEDS_SAXPARSER,
+ "startParse potrebuje ne-NULL SAXParser"},
+
+ { ER_COULD_NOT_INIT_PARSER,
+ "parserja ni mogo\u010de inicializirati z"},
+
+ { ER_EXCEPTION_CREATING_POOL,
+ "izjema pri ustvarjanju novega primerka za zalogo"},
+
+ { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+ "Pot vsebuje neveljavno zaporedje za izhod"},
+
+ { ER_SCHEME_REQUIRED,
+ "Zahtevana je shema!"},
+
+ { ER_NO_SCHEME_IN_URI,
+ "Ne najdem sheme v URI: {0}"},
+
+ { ER_NO_SCHEME_INURI,
+ "Ne najdem sheme v URI"},
+
+ { ER_PATH_INVALID_CHAR,
+ "Pot vsebuje neveljaven znak: {0}"},
+
+ { ER_SCHEME_FROM_NULL_STRING,
+ "Ne morem nastaviti sheme iz niza NULL"},
+
+ { ER_SCHEME_NOT_CONFORMANT,
+ "Shema ni skladna."},
+
+ { ER_HOST_ADDRESS_NOT_WELLFORMED,
+ "Naslov gostitelja ni pravilno oblikovan"},
+
+ { ER_PORT_WHEN_HOST_NULL,
+ "Ko je gostitelj NULL, nastavitev vrat ni mogo\u010da"},
+
+ { ER_INVALID_PORT,
+ "Neveljavna \u0161tevilka vrat"},
+
+ { ER_FRAG_FOR_GENERIC_URI,
+ "Fragment je lahko nastavljen samo za splo\u0161ni URI"},
+
+ { ER_FRAG_WHEN_PATH_NULL,
+ "Ko je pot NULL, nastavitev fragmenta ni mogo\u010da"},
+
+ { ER_FRAG_INVALID_CHAR,
+ "Fragment vsebuje neveljaven znak"},
+
+ { ER_PARSER_IN_USE,
+ "Raz\u010dlenjevalnik je \u017ee v uporabi"},
+
+ { ER_CANNOT_CHANGE_WHILE_PARSING,
+ "Med raz\u010dlenjevanjem ni mogo\u010de spremeniti {0} {1}"},
+
+ { ER_SELF_CAUSATION_NOT_PERMITTED,
+ "Samopovzro\u010ditev ni dovoljena"},
+
+ { ER_NO_USERINFO_IF_NO_HOST,
+ "Informacije o uporabniku ne morejo biti navedene, \u010de ni naveden gostitelj"},
+
+ { ER_NO_PORT_IF_NO_HOST,
+ "Vrata ne morejo biti navedena, \u010de ni naveden gostitelj"},
+
+ { ER_NO_QUERY_STRING_IN_PATH,
+ "Poizvedbeni niz ne more biti naveden v nizu poti in poizvedbenem nizu"},
+
+ { ER_NO_FRAGMENT_STRING_IN_PATH,
+ "Fragment ne more biti hkrati naveden v poti in v fragmentu"},
+
+ { ER_CANNOT_INIT_URI_EMPTY_PARMS,
+ "Ne morem inicializirat URI-ja s praznimi parametri"},
+
+ { ER_METHOD_NOT_SUPPORTED,
+ "Metoda ni ve\u010d podprta "},
+
+ { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
+ "IncrementalSAXSource_Filter v tem trenutku ni mogo\u010de ponovno zagnati"},
+
+ { ER_XMLRDR_NOT_BEFORE_STARTPARSE,
+ "XMLReader ne pred zahtevo za startParse"},
+
+ { ER_AXIS_TRAVERSER_NOT_SUPPORTED,
+ "Pre\u010dnik osi ni podprt: {0}"},
+
+ { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
+ "ListingErrorHandler ustvarjen s PrintWriter NULL!"},
+
+ { ER_SYSTEMID_UNKNOWN,
+ "Neznan sistemski ID"},
+
+ { ER_LOCATION_UNKNOWN,
+ "Mesto napake neznano"},
+
+ { ER_PREFIX_MUST_RESOLVE,
+ "Predpona se mora razre\u0161iti v imenski prostor: {0}"},
+
+ { ER_CREATEDOCUMENT_NOT_SUPPORTED,
+ "createDocument() ni podprt v XPathContext!"},
+
+ { ER_CHILD_HAS_NO_OWNER_DOCUMENT,
+ "Podrejeni predmet atributa nima lastni\u0161kega dokumenta!"},
+
+ { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
+ "Podrejeni predmet atributa nima elementa lastni\u0161kega dokumenta!"},
+
+ { ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
+ "Opozorilo: besedila ne morem prikazati pred elementom dokumenta! Ignoriram..."},
+
+ { ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
+ "Na DOM-u ne more biti ve\u010d kot en koren!"},
+
+ { ER_ARG_LOCALNAME_NULL,
+ "Argument 'lokalno ime' je NULL"},
+
+ // Note to translators: A QNAME has the syntactic form [NCName:]NCName
+ // The localname is the portion after the optional colon; the message indicates
+ // that there is a problem with that part of the QNAME.
+ { ER_ARG_LOCALNAME_INVALID,
+ "Lokalno ime v QNAME bi moralo biti veljavno NCIme"},
+
+ // Note to translators: A QNAME has the syntactic form [NCName:]NCName
+ // The prefix is the portion before the optional colon; the message indicates
+ // that there is a problem with that part of the QNAME.
+ { ER_ARG_PREFIX_INVALID,
+ "Predpona v QNAME bi morala biti valjavno NCIme"},
+
+ { ER_NAME_CANT_START_WITH_COLON,
+ "Ime se ne more za\u010deti z dvopi\u010djem"},
+
+ { "BAD_CODE", "Parameter za ustvariSporo\u010dilo presega meje"},
+ { "FORMAT_FAILED", "Med klicem messageFormat naletel na izjemo"},
+ { "line", "Vrstica #"},
+ { "column","Stolpec #"}
+
+
+ };
+ }
+
+ /**
+ * Return a named ResourceBundle for a particular locale. This method mimics the behavior
+ * of ResourceBundle.getBundle().
+ *
+ * @param className the name of the class that implements the resource bundle.
+ * @return the ResourceBundle
+ * @throws MissingResourceException
+ */
+ public static final XMLErrorResources loadResourceBundle(String className)
+ throws MissingResourceException
+ {
+
+ Locale locale = Locale.getDefault();
+ String suffix = getResourceSuffix(locale);
+
+ try
+ {
+
+ // first try with the given locale
+ return (XMLErrorResources) ResourceBundle.getBundle(className
+ + suffix, locale);
+ }
+ catch (MissingResourceException e)
+ {
+ try // try to fall back to en_US if we can't load
+ {
+
+ // Since we can't find the localized property file,
+ // fall back to en_US.
+ return (XMLErrorResources) ResourceBundle.getBundle(className,
+ new Locale("sl", "SL"));
+ }
+ catch (MissingResourceException e2)
+ {
+
+ // Now we are really in trouble.
+ // very bad, definitely very bad...not going to get very far
+ throw new MissingResourceException(
+ "Could not load any resource bundles.", className, "");
+ }
+ }
+ }
+
+ /**
+ * Return the resource file suffic for the indicated locale
+ * For most locales, this will be based the language code. However
+ * for Chinese, we do distinguish between Taiwan and PRC
+ *
+ * @param locale the locale
+ * @return an String suffix which canbe appended to a resource name
+ */
+ private static final String getResourceSuffix(Locale locale)
+ {
+
+ String suffix = "_" + locale.getLanguage();
+ String country = locale.getCountry();
+
+ if (country.equals("TW"))
+ suffix += "_" + country;
+
+ return suffix;
+ }
+
+}
Propchange: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_sl.java
------------------------------------------------------------------------------
svn:executable = *
Modified: xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_tr.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_tr.java?rev=385900&r1=385899&r2=385900&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_tr.java (original)
+++ xalan/java/trunk/src/org/apache/xml/res/XMLErrorResources_tr.java Tue Mar 14 13:35:20 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.
@@ -75,19 +75,6 @@
*
*/
- /** Maximum error messages, this is needed to keep track of the number of messages. */
- public static final int MAX_CODE = 61;
-
- /** Maximum warnings, this is needed to keep track of the number of warnings. */
- public static final int MAX_WARNING = 0;
-
- /** Maximum misc strings. */
- public static final int MAX_OTHERS = 4;
-
- /** Maximum total warnings and error messages. */
- public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
-
-
/*
* Message keys
*/
@@ -152,20 +139,7 @@
public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";
public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
-
- // Message keys used by the serializer
- public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND";
- public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD";
- public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO";
- public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
- public static final String ER_OIERROR = "ER_OIERROR";
- public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
- public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE";
- public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
- public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE";
- public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
- public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER";
- public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION";
+ public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON";
/*
* Now fill in the message text.
@@ -194,7 +168,7 @@
"Nedenin \u00fczerine yaz\u0131lamaz"},
{ ER_NO_DEFAULT_IMPL,
- "Varsay\u0131lan uygulama bulunamad\u0131"},
+ "Varsay\u0131lan uygulama bulunamad\u0131 "},
{ ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
"ChunkedIntArray({0}) \u015fu an desteklenmiyor"},
@@ -224,7 +198,7 @@
"Hata: {0} ekseni i\u00e7in tip atanm\u0131\u015f yineleyici ger\u00e7ekle\u015ftirilmedi"},
{ ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
- "Hata: {0} ekseni i\u00e7in yineleyici ger\u00e7ekle\u015ftirilmedi"},
+ "Hata: {0} ekseni i\u00e7in yineleyici ger\u00e7ekle\u015ftirilmedi "},
{ ER_ITERATOR_CLONE_NOT_SUPPORTED,
"Yineleyici e\u015fkopyas\u0131 desteklenmiyor"},
@@ -323,7 +297,7 @@
"Bo\u015f de\u011fi\u015ftirgelerle URI kullan\u0131ma haz\u0131rlanamaz"},
{ ER_METHOD_NOT_SUPPORTED,
- "Y\u00f6ntem hen\u00fcz desteklenmiyor"},
+ "Y\u00f6ntem hen\u00fcz desteklenmiyor "},
{ ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
"IncrementalSAXSource_Filter \u015fu an yeniden ba\u015flat\u0131labilir durumda de\u011fil"},
@@ -376,63 +350,13 @@
{ ER_ARG_PREFIX_INVALID,
"QNAME i\u00e7indeki \u00f6nek ge\u00e7erli bir NCName olmal\u0131d\u0131r"},
+ { ER_NAME_CANT_START_WITH_COLON,
+ "Ad iki nokta \u00fcst \u00fcste imiyle ba\u015flayamaz"},
+
{ "BAD_CODE", "createMessage i\u00e7in kullan\u0131lan de\u011fi\u015ftirge s\u0131n\u0131rlar\u0131n d\u0131\u015f\u0131nda"},
{ "FORMAT_FAILED", "messageFormat \u00e7a\u011fr\u0131s\u0131 s\u0131ras\u0131nda kural d\u0131\u015f\u0131 durum yay\u0131nland\u0131"},
{ "line", "Sat\u0131r #"},
- { "column","Kolon #"},
-
- {ER_SERIALIZER_NOT_CONTENTHANDLER,
- "Diziselle\u015ftirici s\u0131n\u0131f\u0131 ''{0}'' org.xml.sax.ContentHandler i\u015flevini uygulam\u0131yor."},
-
- {ER_RESOURCE_COULD_NOT_FIND,
- "Kaynak [ {0} ] bulunamad\u0131.\n {1}" },
-
- {ER_RESOURCE_COULD_NOT_LOAD,
- "Kaynak [ {0} ] y\u00fckleyemedi: {1} \n {2} \t {3}" },
-
- {ER_BUFFER_SIZE_LESSTHAN_ZERO,
- "Arabellek b\u00fcy\u00fckl\u00fc\u011f\u00fc <=0" },
-
- {ER_INVALID_UTF16_SURROGATE,
- "UTF-16 yerine kullan\u0131lan de\u011fer ge\u00e7ersiz: {0} ?" },
-
- {ER_OIERROR,
- "G\u00c7 hatas\u0131" },
-
- {ER_ILLEGAL_ATTRIBUTE_POSITION,
- "Alt d\u00fc\u011f\u00fcmlerden sonra ya da bir \u00f6\u011fe \u00fcretilmeden \u00f6nce {0} \u00f6zniteli\u011fi eklenemez. \u00d6znitelik yoksay\u0131lacak."},
-
- /*
- * 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.
- */
- {ER_NAMESPACE_PREFIX,
- "''{0}'' \u00f6nekine ili\u015fkin ad alan\u0131 bildirilmedi." },
- /*
- * 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.
- */
- {ER_STRAY_ATTRIBUTE,
- "''{0}'' \u00f6zniteli\u011fi \u00f6\u011fenin d\u0131\u015f\u0131nda." },
-
- /*
- * 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.
- */
- {ER_STRAY_NAMESPACE,
- "''{0}''=''{1}'' ad alan\u0131 bildirimi \u00f6\u011fenin d\u0131\u015f\u0131nda." },
-
- {ER_COULD_NOT_LOAD_RESOURCE,
- "''{0}'' y\u00fcklenemedi (CLASSPATH de\u011fi\u015fkeninizi inceleyin), yaln\u0131zca varsay\u0131lanlar kullan\u0131l\u0131yor"},
-
- {ER_COULD_NOT_LOAD_METHOD_PROPERTY,
- "''{1}'' \u00e7\u0131k\u0131\u015f y\u00f6ntemi i\u00e7in ''{0}'' \u00f6zellik dosyas\u0131 y\u00fcklenemedi (CLASSPATH de\u011fi\u015fkenini inceleyin)" }
+ { "column","Kolon #"}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org