📄 xpatherrorresources_es.java
字号:
//{ ER_ARG_LOCALNAME_INVALID, // "Localname in QNAME should be a valid NCName"}, // 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. /** prefix in QNAME should be a valid NCName */ // public static final int ER_ARG_PREFIX_INVALID = 102; //{ ER_ARG_PREFIX_INVALID, // "Prefix in QNAME should be a valid NCName"}, // Note to translators: The substitution text is the name of a data type. The // message indicates that a value of a particular type could not be converted // to a value of type string. /** Field ER_CANT_CONVERT_TO_BOOLEAN */// public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103; { ER_CANT_CONVERT_TO_BOOLEAN, "No se puede convertir {0} a booleano."}, // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and // FIRST_ORDERED_NODE_TYPE. /** Field ER_CANT_CONVERT_TO_SINGLENODE */ //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104; { ER_CANT_CONVERT_TO_SINGLENODE, "No se puede convertir {0} a un solo nodo. Este obtenedor se aplica a los tipos ANY_UNORDERED_NODE_TYPE y FIRST_ORDERED_NODE_TYPE."}, // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and // ORDERED_NODE_SNAPSHOT_TYPE. /** Field ER_CANT_GET_SNAPSHOT_LENGTH */// public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105; { ER_CANT_GET_SNAPSHOT_LENGTH, "No se puede obtener longitud de instant\u00e1nea sobre el tipo: {0}. Este obtenedor se aplica a los tipos UNORDERED_NODE_SNAPSHOT_TYPE y ORDERED_NODE_SNAPSHOT_TYPE."}, /** Field ER_NON_ITERATOR_TYPE */ //public static final int ER_NON_ITERATOR_TYPE = 106; { ER_NON_ITERATOR_TYPE, "No se puede iterar sobre un tipo no iterador: {0}"}, // Note to translators: This message indicates that the document being operated // upon changed, so the iterator object that was being used to traverse the // document has now become invalid. /** Field ER_DOC_MUTATED */// public static final int ER_DOC_MUTATED = 107; { ER_DOC_MUTATED, "El documento ha mutado desde que se devolvi\u00f3 el resultado. El iterador no es v\u00e1lido."}, /** Field ER_INVALID_XPATH_TYPE */// public static final int ER_INVALID_XPATH_TYPE = 108; { ER_INVALID_XPATH_TYPE, "Argumento de tipo XPath no v\u00e1lido: {0}"}, /** Field ER_EMPTY_XPATH_RESULT */// public static final int ER_EMPTY_XPATH_RESULT = 109; { ER_EMPTY_XPATH_RESULT, "Objeto de resultado XPath vac\u00edo"}, /** Field ER_INCOMPATIBLE_TYPES */// public static final int ER_INCOMPATIBLE_TYPES = 110; { ER_INCOMPATIBLE_TYPES, "El tipo devuelto: {0} no se puede forzar al tipo especificado: {1}"}, /** Field ER_NULL_RESOLVER */ // public static final int ER_NULL_RESOLVER = 111; { ER_NULL_RESOLVER, "Imposible resolver prefijo con un solucionador de prefijo nulo."}, // Note to translators: The substitution text is the name of a data type. The // message indicates that a value of a particular type could not be converted // to a value of type string. /** Field ER_CANT_CONVERT_TO_STRING */// public static final int ER_CANT_CONVERT_TO_STRING = 112; { ER_CANT_CONVERT_TO_STRING, "No se puede convertir {0} a serie."}, // Note to translators: Do not translate snapshotItem, // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE. /** Field ER_NON_SNAPSHOT_TYPE */// public static final int ER_NON_SNAPSHOT_TYPE = 113; { ER_NON_SNAPSHOT_TYPE, "No se puede llamar a snapshotItem sobre el tipo: {0}. Este m\u00e9todo se aplica a los tipos UNORDERED_NODE_SNAPSHOT_TYPE y ORDERED_NODE_SNAPSHOT_TYPE."}, // Note to translators: XPathEvaluator is a Java interface name. An // XPathEvaluator is created with respect to a particular XML document, and in // this case the expression represented by this object was being evaluated with // respect to a context node from a different document. /** Field ER_WRONG_DOCUMENT */// public static final int ER_WRONG_DOCUMENT = 114; { ER_WRONG_DOCUMENT, "El nodo de contexto no pertenece al documento que est\u00e1 enlazado a este XPathEvaluator."}, // Note to translators: The XPath expression cannot be evaluated with respect // to this type of node. /** Field ER_WRONG_NODETYPE */// public static final int ER_WRONG_NODETYPE = 115; { ER_WRONG_NODETYPE, "El tipo de nodo de contexto no est\u00e1 soportado."}, /** Field ER_XPATH_ERROR */// public static final int ER_XPATH_ERROR = 116; { ER_XPATH_ERROR, "Error desconocido en XPath."}, // Warnings... /** Field WG_LOCALE_NAME_NOT_HANDLED */// public static final int WG_LOCALE_NAME_NOT_HANDLED = 1; { WG_LOCALE_NAME_NOT_HANDLED, "\u00a1No se maneja a\u00fan el nombre de entorno local en la funci\u00f3n format-number!"}, /** Field WG_PROPERTY_NOT_SUPPORTED */// public static final int WG_PROPERTY_NOT_SUPPORTED = 2; { WG_PROPERTY_NOT_SUPPORTED, "Propiedad XSL no soportada: {0}"}, /** Field WG_DONT_DO_ANYTHING_WITH_NS */// public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3; { WG_DONT_DO_ANYTHING_WITH_NS, "No hacer nada actualmente con el espacio de nombres {0} en la propiedad: {1}"}, /** Field WG_SECURITY_EXCEPTION */// public static final int WG_SECURITY_EXCEPTION = 4; { WG_SECURITY_EXCEPTION, "SecurityException al intentar acceder a la propiedad del sistema XSL: {0}"}, /** Field WG_QUO_NO_LONGER_DEFINED */// public static final int WG_QUO_NO_LONGER_DEFINED = 5; { WG_QUO_NO_LONGER_DEFINED, "La antigua sintaxis: quo(...) ya no est\u00e1 definida en XPath."}, /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */// public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6; { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, "\u00a1XPath necesita un objeto derivado para implementar nodeTest!"}, /** Field WG_FUNCTION_TOKEN_NOT_FOUND */// public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7; { WG_FUNCTION_TOKEN_NOT_FOUND, "Se\u00f1al de funci\u00f3n no encontrada."}, /** Field WG_COULDNOT_FIND_FUNCTION */// public static final int WG_COULDNOT_FIND_FUNCTION = 8; { WG_COULDNOT_FIND_FUNCTION, "No se ha podido encontrar la funci\u00f3n: {0}"}, /** Field WG_CANNOT_MAKE_URL_FROM */// public static final int WG_CANNOT_MAKE_URL_FROM = 9; { WG_CANNOT_MAKE_URL_FROM, "No se puede crear URL desde: {0}"}, /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */// public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10; { WG_EXPAND_ENTITIES_NOT_SUPPORTED, "Opci\u00f3n -E no soportada para analizador DTM"}, /** Field WG_ILLEGAL_VARIABLE_REFERENCE */// public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11; { WG_ILLEGAL_VARIABLE_REFERENCE, "\u00a1VariableReference dada para la variable est\u00e1 fuera de contexto o sin definici\u00f3n! Nombre = {0}"}, /** Field WG_UNSUPPORTED_ENCODING */// public static final int WG_UNSUPPORTED_ENCODING = 12; { WG_UNSUPPORTED_ENCODING, "Codificaci\u00f3n no soportada: {0}"}, // Other miscellaneous text used inside the code... { "ui_language", "es"}, { "help_language", "es"}, { "language", "es"}, { "BAD_CODE", "El par\u00e1metro para createMessage estaba fuera de los l\u00edmites"}, { "FORMAT_FAILED", "Se ha generado una excepci\u00f3n durante la llamada messageFormat"}, { "version", ">>>>>>> Xalan versi\u00f3n"}, { "version2", "<<<<<<<"}, { "yes", "s\u00ed"}, { "line", "L\u00ednea n\u00fam."}, { "column", "Columna n\u00fam."}, { "xsldone", "XSLProcessor: terminado"}, { "xpath_option", "Opciones de xpath:"}, { "optionIN", "[-in URLXMLEntrada]"}, { "optionSelect", "[-select expresi\u00f3n xpath]"}, { "optionMatch", "[-match patr\u00f3n de coincidencia (para diagn\u00f3sticos de coincidencia)]"}, { "optionAnyExpr", "O simplemente una expresi\u00f3n xpath realizar\u00e1 un vuelco de diagn\u00f3stico"}, { "noParsermsg1", "El proceso XSL no ha sido satisfactorio."}, { "noParsermsg2", "** No se ha podido encontrar el analizador **"}, { "noParsermsg3", "Compruebe la classpath."}, { "noParsermsg4", "Si no dispone del analizador XML para Java de IBM, puede bajarlo de "}, { "noParsermsg5", "IBM AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"}, { "gtone", ">1" }, { "zero", "0" }, { "one", "1" }, { "two" , "2" }, { "three", "3" } }; } /** Field BAD_CODE */ public static final String BAD_CODE = "BAD_CODE"; /** Field FORMAT_FAILED */ public static final String FORMAT_FAILED = "FORMAT_FAILED"; /** Field ERROR_RESOURCES */ public static final String ERROR_RESOURCES = "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; /** Field ERROR_STRING */ public static final String ERROR_STRING = "#error"; /** Field ERROR_HEADER */ public static final String ERROR_HEADER = "Error: "; /** Field WARNING_HEADER */ public static final String WARNING_HEADER = "Aviso: "; /** Field XSL_HEADER */ public static final String XSL_HEADER = "XSL "; /** Field XML_HEADER */ public static final String XML_HEADER = "XML "; /** Field QUERY_HEADER */ public static final String QUERY_HEADER = "PATTERN "; /** * Return a named ResourceBundle for a particular locale. This method mimics the behavior * of ResourceBundle.getBundle(). * * @param className Name of local-specific subclass. * @return the ResourceBundle * @throws MissingResourceException */ public static final XPATHErrorResources loadResourceBundle(String className) throws MissingResourceException { Locale locale = Locale.getDefault(); String suffix = getResourceSuffix(locale); try { // first try with the given locale return (XPATHErrorResources) 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 (XPATHErrorResources) ResourceBundle.getBundle(className, new Locale("es", "ES")); } 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; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -