⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errormessages_zh_tw.java

📁 java1.6众多例子参考
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/* * Copyright 2001-2004 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: ErrorMessages_zh_TW.java,v 1.2.4.1 2005/09/15 10:16:08 pvedula Exp $ */package com.sun.org.apache.xalan.internal.xsltc.compiler.util;import java.util.ListResourceBundle;/** * @author Morten Jorgensen */public class ErrorMessages_zh_TW extends ListResourceBundle {/* * XSLTC compile-time error messages. * * General notes to translators and definitions: * *   1) XSLTC is the name of the product.  It is an acronym for "XSLT Compiler". *      XSLT is an acronym for "XML Stylesheet Language: Transformations". * *   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 axis is a particular "dimension" in a tree representation of an XML *      document; the nodes in the tree are divided along different axes. *      Traversing the "child" axis, for instance, means that the program *      would visit each child of a particular node; traversing the "descendant" *      axis means that the program would visit the child nodes of a particular *      node, their children, and so on until the leaf nodes of the tree are *      reached. * *   5) An iterator is an object that traverses nodes in a tree along a *      particular axis, one at a time. * *   6) 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. * *   7) 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. * *   8) DOM is an acronym for Document Object Model.  It is a tree *      representation of an XML document. * *      SAX is an acronym for the Simple API for XML processing.  It is an API *      used inform an XML processor (in this case XSLTC) of the structure and *      content of an XML document. * *      Input to the stylesheet processor can come from an XML parser in the *      form of a DOM tree or through the SAX API. * *   9) DTD is a document type declaration.  It is a way of specifying the *      grammar for an XML file, the names and types of elements, attributes, *      etc. * *  10) 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. * *  11) Translet is an invented term that refers to the class file that contains *      the compiled form of a stylesheet. */    // These message should be read from a locale-specific resource bundle    /** Get the lookup table for error messages.        *     * @return The message lookup table.     */    public Object[][] getContents()    {      return new Object[][] {        {ErrorMsg.MULTIPLE_STYLESHEET_ERR,        "\u540c\u4e00\u500b\u6a94\u6848\u4e2d\u5b9a\u7fa9\u4e00\u500b\u4ee5\u4e0a\u7684\u6a23\u5f0f\u8868\u3002"},        /*         * Note to translators:  The substitution text is the name of a         * template.  The same name was used on two different templates in the         * same stylesheet.         */        {ErrorMsg.TEMPLATE_REDEF_ERR,        "\u6b64\u6a23\u5f0f\u8868\u4e2d\u5df2\u7d93\u6709\u5b9a\u7fa9\u7bc4\u672c ''{0}''\u3002"},        /*         * Note to translators:  The substitution text is the name of a         * template.  A reference to the template name was encountered, but the         * template is undefined.         */        {ErrorMsg.TEMPLATE_UNDEF_ERR,        "\u6b64\u6a23\u5f0f\u8868\u4e2d\u5c1a\u672a\u5b9a\u7fa9\u7bc4\u672c ''{0}''\u3002"},        /*         * Note to translators:  The substitution text is the name of a variable         * that was defined more than once.         */        {ErrorMsg.VARIABLE_REDEF_ERR,        "\u540c\u4e00\u7bc4\u570d\u4e2d\u5b9a\u7fa9\u4e86\u591a\u500b\u8b8a\u6578 ''{0}''\u3002"},        /*         * Note to translators:  The substitution text is the name of a variable         * or parameter.  A reference to the variable or parameter was found,         * but it was never defined.         */        {ErrorMsg.VARIABLE_UNDEF_ERR,        "\u8b8a\u6578\u6216\u53c3\u6578 ''{0}'' \u5c1a\u672a\u5b9a\u7fa9\u3002"},        /*         * Note to translators:  The word "class" here refers to a Java class.         * Processing the stylesheet required a class to be loaded, but it could         * not be found.  The substitution text is the name of the class.         */        {ErrorMsg.CLASS_NOT_FOUND_ERR,        "\u627e\u4e0d\u5230\u985e\u5225 ''{0}''\u3002"},        /*         * Note to translators:  The word "method" here refers to a Java method.         * Processing the stylesheet required a reference to the method named by         * the substitution text, but it could not be found.  "public" is the         * Java keyword.         */        {ErrorMsg.METHOD_NOT_FOUND_ERR,        "\u627e\u4e0d\u5230\u5916\u90e8\u65b9\u6cd5 ''{0}''\uff08\u5fc5\u9808\u662f\u516c\u7528\u7684\uff09\u3002"},        /*         * Note to translators:  The word "method" here refers to a Java method.         * Processing the stylesheet required a reference to the method named by         * the substitution text, but no method with the required types of         * arguments or return type could be found.         */        {ErrorMsg.ARGUMENT_CONVERSION_ERR,        "\u7121\u6cd5\u5c07\u547c\u53eb\u4e2d\u7684\u5f15\u6578/\u50b3\u56de\u985e\u578b\u8f49\u63db\u70ba\u65b9\u6cd5 ''{0}''"},        /*         * Note to translators:  The file or URI named in the substitution text         * is missing.         */        {ErrorMsg.FILE_NOT_FOUND_ERR,        "\u627e\u4e0d\u5230\u6a94\u6848\u6216 URI ''{0}''\u3002"},        /*         * Note to translators:  This message is displayed when the URI         * mentioned in the substitution text is not well-formed syntactically.         */        {ErrorMsg.INVALID_URI_ERR,        "URI ''{0}'' \u7121\u6548\u3002"},        /*         * Note to translators:  The file or URI named in the substitution text         * exists but could not be opened.         */        {ErrorMsg.FILE_ACCESS_ERR,        "\u7121\u6cd5\u958b\u555f\u6a94\u6848\u6216 URI ''{0}''\u3002"},        /*         * Note to translators: <xsl:stylesheet> and <xsl:transform> are         * keywords that should not be translated.         */        {ErrorMsg.MISSING_ROOT_ERR,        "\u539f\u9810\u671f\u70ba <xsl:stylesheet> \u6216 <xsl:transform> \u5143\u7d20\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.         */        {ErrorMsg.NAMESPACE_UNDEF_ERR,        "\u5c1a\u672a\u5ba3\u544a\u540d\u7a31\u7a7a\u9593\u5b57\u9996 ''{0}''\u3002"},        /*         * Note to translators:  The Java function named in the stylesheet could         * not be found.         */        {ErrorMsg.FUNCTION_RESOLVE_ERR,        "\u7121\u6cd5\u89e3\u6790\u5c0d\u51fd\u6578 ''{0}'' \u7684\u547c\u53eb\u3002"},        /*         * Note to translators:  The substitution text is the name of a         * function.  A literal string here means a constant string value.         */        {ErrorMsg.NEED_LITERAL_ERR,        "''{0}'' \u7684\u5f15\u6578\u5fc5\u9808\u662f\u6587\u5b57\u5b57\u4e32\u3002"},        /*         * Note to translators:  This message indicates there was a syntactic         * error in the form of an XPath expression.  The substitution text is         * the expression.         */        {ErrorMsg.XPATH_PARSER_ERR,        "\u5256\u6790 XPath \u8868\u793a\u5f0f ''{0}'' \u6642\u767c\u751f\u932f\u8aa4\u3002"},        /*         * Note to translators:  An element in the stylesheet requires a         * particular attribute named by the substitution text, but that         * attribute was not specified in the stylesheet.         */        {ErrorMsg.REQUIRED_ATTR_ERR,        "\u907a\u6f0f\u5fc5\u8981\u7684\u5c6c\u6027 ''{0}''\u3002"},        /*         * Note to translators:  This message indicates that a character not         * permitted in an XPath expression was encountered.  The substitution         * text is the offending character.         */        {ErrorMsg.ILLEGAL_CHAR_ERR,        "XPath \u8868\u793a\u5f0f\u4e2d\u5305\u542b\u4e0d\u5408\u6cd5\u5b57\u5143 ''{0}''"},        /*         * Note to translators:  A processing instruction is a mark-up item in         * an XML document that request some behaviour of an XML processor.  The         * form of the name of was invalid in this case, and the substitution         * text is the name.         */        {ErrorMsg.ILLEGAL_PI_ERR,        "\u8655\u7406\u6307\u793a\u7684\u540d\u7a31 ''{0}'' \u4e0d\u5408\u6cd5\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.         */        {ErrorMsg.STRAY_ATTRIBUTE_ERR,        "\u5c6c\u6027 ''{0}'' \u8d85\u51fa\u5143\u7d20\u5916\u3002"},        /*         * Note to translators:  An attribute that wasn't recognized was         * specified on an element in the stylesheet.  The attribute is named         * by the substitution         * text.         */        {ErrorMsg.ILLEGAL_ATTRIBUTE_ERR,        "\u5c6c\u6027 ''{0}'' \u4e0d\u5408\u6cd5\u3002"},        /*         * Note to translators:  "import" and "include" are keywords that should         * not be translated.  This messages indicates that the stylesheet         * named in the substitution text imported or included itself either         * directly or indirectly.         */        {ErrorMsg.CIRCULAR_INCLUDE_ERR,        "\u5faa\u74b0\u532f\u5165/\u4f75\u5165\u3002\u6a23\u5f0f\u8868 ''{0}'' \u5df2\u7d93\u8f09\u5165\u3002"},        /*         * Note to translators:  A result-tree fragment is a portion of a         * resulting XML document represented as a tree.  "<xsl:sort>" is a         * keyword and should not be translated.         */        {ErrorMsg.RESULT_TREE_SORT_ERR,        "\u7d50\u679c\u6a39\u7247\u6bb5\u7121\u6cd5\u6392\u5e8f\uff08<xsl:sort> \u5143\u7d20\u88ab\u5ffd\u7565\uff09\u3002\u60a8\u5fc5\u9808\u65bc\u5efa\u7acb\u7d50\u679c\u6a39\u6642\uff0c\u5c07\u7bc0\u9ede\u6392\u5e8f\u3002"},        /*         * Note to translators:  A name can be given to a particular style to be         * used to format decimal values.  The substitution text gives the name         * of such a style for which more than one declaration was encountered.         */        {ErrorMsg.SYMBOLS_REDEF_ERR,        "\u5df2\u7d93\u6709\u5b9a\u7fa9\u5341\u9032\u4f4d\u683c\u5f0f ''{0}''\u3002"},        /*         * Note to translators:  The stylesheet version named in the

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -