286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 2001-2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A/*
286N/A * $Id: ErrorMessages_ca.java,v 1.1.6.1 2005/09/06 10:45:37 pvedula Exp $
286N/A */
286N/A
286N/Apackage com.sun.org.apache.xalan.internal.xsltc.runtime;
286N/A
286N/Aimport java.util.ListResourceBundle;
286N/A
286N/A/**
286N/A * @author Morten Jorgensen
286N/A */
286N/Apublic class ErrorMessages_ca extends ListResourceBundle {
286N/A
286N/A/*
286N/A * XSLTC run-time error messages.
286N/A *
286N/A * General notes to translators and definitions:
286N/A *
286N/A * 1) XSLTC is the name of the product. It is an acronym for XML Stylesheet:
286N/A * Transformations Compiler
286N/A *
286N/A * 2) A stylesheet is a description of how to transform an input XML document
286N/A * into a resultant output XML document (or HTML document or text)
286N/A *
286N/A * 3) An axis is a particular "dimension" in a tree representation of an XML
286N/A * document; the nodes in the tree are divided along different axes.
286N/A * Traversing the "child" axis, for instance, means that the program
286N/A * would visit each child of a particular node; traversing the "descendant"
286N/A * axis means that the program would visit the child nodes of a particular
286N/A * node, their children, and so on until the leaf nodes of the tree are
286N/A * reached.
286N/A *
286N/A * 4) An iterator is an object that traverses nodes in a tree along a
286N/A * particular axis, one at a time.
286N/A *
286N/A * 5) An element is a mark-up tag in an XML document; an attribute is a
286N/A * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
286N/A * "elem" is an element name, "attr" and "attr2" are attribute names with
286N/A * the values "val" and "val2", respectively.
286N/A *
286N/A * 6) A namespace declaration is a special attribute that is used to associate
286N/A * a prefix with a URI (the namespace). The meanings of element names and
286N/A * attribute names that use that prefix are defined with respect to that
286N/A * namespace.
286N/A *
286N/A * 7) DOM is an acronym for Document Object Model. It is a tree
286N/A * representation of an XML document.
286N/A *
286N/A * SAX is an acronym for the Simple API for XML processing. It is an API
286N/A * used inform an XML processor (in this case XSLTC) of the structure and
286N/A * content of an XML document.
286N/A *
286N/A * Input to the stylesheet processor can come from an XML parser in the
286N/A * form of a DOM tree or through the SAX API.
286N/A *
286N/A * 8) DTD is a document type declaration. It is a way of specifying the
286N/A * grammar for an XML file, the names and types of elements, attributes,
286N/A * etc.
286N/A *
286N/A */
286N/A
286N/A // These message should be read from a locale-specific resource bundle
286N/A private static final Object[][] _contents = new Object[][] {
286N/A
286N/A /*
286N/A * Note to translators: the substitution text in the following message
286N/A * is a class name. Used for internal errors in the processor.
286N/A */
286N/A {BasisLibrary.RUN_TIME_INTERNAL_ERR,
286N/A "S''ha produ\u00eft un error intern de temps d''execuci\u00f3 a ''{0}''"},
286N/A
286N/A /*
286N/A * Note to translators: <xsl:copy> is a keyword that should not be
286N/A * translated.
286N/A */
286N/A {BasisLibrary.RUN_TIME_COPY_ERR,
286N/A "Es produeix un error de temps d'execuci\u00f3 en executar <xsl:copy>."},
286N/A
286N/A /*
286N/A * Note to translators: The substitution text refers to data types.
286N/A * The message is displayed if a value in a particular context needs to
286N/A * be converted to type {1}, but that's not possible for a value of type
286N/A * {0}.
286N/A */
286N/A {BasisLibrary.DATA_CONVERSION_ERR,
286N/A "La conversi\u00f3 de ''{0}'' a ''{1}'' no \u00e9s v\u00e0lida."},
286N/A
286N/A /*
286N/A * Note to translators: This message is displayed if the function named
286N/A * by the substitution text is not a function that is supported. XSLTC
286N/A * is the acronym naming the product.
286N/A */
286N/A {BasisLibrary.EXTERNAL_FUNC_ERR,
286N/A "XSLTC no d\u00f3na suport a la funci\u00f3 externa ''{0}''."},
286N/A
286N/A /*
286N/A * Note to translators: This message is displayed if two values are
286N/A * compared for equality, but the data type of one of the values is
286N/A * unknown.
286N/A */
286N/A {BasisLibrary.EQUALITY_EXPR_ERR,
286N/A "L'expressi\u00f3 d'igualtat cont\u00e9 un tipus d'argument desconegut."},
286N/A
286N/A /*
286N/A * Note to translators: The substitution text for {0} will be a data
286N/A * type; the substitution text for {1} will be the name of a function.
286N/A * This is displayed if an argument of the particular data type is not
286N/A * permitted for a call to this function.
286N/A */
286N/A {BasisLibrary.INVALID_ARGUMENT_ERR,
286N/A "La crida a ''{1}'' cont\u00e9 un tipus d''argument ''{0}'' no v\u00e0lid."},
286N/A
286N/A /*
286N/A * Note to translators: There is way of specifying a format for a
286N/A * number using a pattern; the processor was unable to format the
286N/A * particular value using the specified pattern.
286N/A */
286N/A {BasisLibrary.FORMAT_NUMBER_ERR,
286N/A "S''ha intentat donar format al n\u00famero ''{0}'' mitjan\u00e7ant el patr\u00f3 ''{1}''."},
286N/A
286N/A /*
286N/A * Note to translators: The following represents an internal error
286N/A * situation in XSLTC. The processor was unable to create a copy of an
286N/A * iterator. (See definition of iterator above.)
286N/A */
286N/A {BasisLibrary.ITERATOR_CLONE_ERR,
286N/A "No es pot clonar l''iterador ''{0}''."},
286N/A
286N/A /*
286N/A * Note to translators: The following represents an internal error
286N/A * situation in XSLTC. The processor attempted to create an iterator
286N/A * for a particular axis (see definition above) that it does not
286N/A * support.
286N/A */
286N/A {BasisLibrary.AXIS_SUPPORT_ERR,
286N/A "L''iterador de l''eix ''{0}'' no t\u00e9 suport."},
286N/A
286N/A /*
286N/A * Note to translators: The following represents an internal error
286N/A * situation in XSLTC. The processor attempted to create an iterator
286N/A * for a particular axis (see definition above) that it does not
286N/A * support.
286N/A */
286N/A {BasisLibrary.TYPED_AXIS_SUPPORT_ERR,
286N/A "L''iterador de l''eix escrit ''{0}'' no t\u00e9 suport."},
286N/A
286N/A /*
286N/A * Note to translators: This message is reported if the stylesheet
286N/A * being processed attempted to construct an XML document with an
286N/A * attribute in a place other than on an element. The substitution text
286N/A * specifies the name of the attribute.
286N/A */
286N/A {BasisLibrary.STRAY_ATTRIBUTE_ERR,
286N/A "L''atribut ''{0}'' es troba fora de l''element."},
286N/A
286N/A /*
286N/A * Note to translators: As with the preceding message, a namespace
286N/A * declaration has the form of an attribute and is only permitted to
286N/A * appear on an element. The substitution text {0} is the namespace
286N/A * prefix and {1} is the URI that was being used in the erroneous
286N/A * namespace declaration.
286N/A */
286N/A {BasisLibrary.STRAY_NAMESPACE_ERR,
286N/A "La declaraci\u00f3 d''espai de noms ''{0}''=''{1}'' es troba fora de l''element."},
286N/A
286N/A /*
286N/A * Note to translators: The stylesheet contained a reference to a
286N/A * namespace prefix that was undefined. The value of the substitution
286N/A * text is the name of the prefix.
286N/A */
286N/A {BasisLibrary.NAMESPACE_PREFIX_ERR,
286N/A "L''espai de noms del prefix ''{0}'' no s''ha declarat."},
286N/A
286N/A /*
286N/A * Note to translators: The following represents an internal error.
286N/A * DOMAdapter is a Java class in XSLTC.
286N/A */
286N/A {BasisLibrary.DOM_ADAPTER_INIT_ERR,
286N/A "DOMAdapter s'ha creat mitjan\u00e7ant un tipus incorrecte de DOM d'origen."},
286N/A
286N/A /*
286N/A * Note to translators: The following message indicates that the XML
286N/A * parser that is providing input to XSLTC cannot be used because it
286N/A * does not describe to XSLTC the structure of the input XML document's
286N/A * DTD.
286N/A */
286N/A {BasisLibrary.PARSER_DTD_SUPPORT_ERR,
286N/A "L'analitzador SAX que feu servir no gestiona esdeveniments de declaraci\u00f3 de DTD."},
286N/A
286N/A /*
286N/A * Note to translators: The following message indicates that the XML
286N/A * parser that is providing input to XSLTC cannot be used because it
286N/A * does not distinguish between ordinary XML attributes and namespace
286N/A * declarations.
286N/A */
286N/A {BasisLibrary.NAMESPACES_SUPPORT_ERR,
286N/A "L'analitzador SAX que feu servir no d\u00f3na suport a espais de noms XML."},
286N/A
286N/A /*
286N/A * Note to translators: The substitution text is the URI that was in
286N/A * error.
286N/A */
286N/A {BasisLibrary.CANT_RESOLVE_RELATIVE_URI_ERR,
286N/A "No s''ha pogut resoldre la refer\u00e8ncia d''URI ''{0}''."}
286N/A };
286N/A
286N/A /** Get the lookup table for error messages.
286N/A *
286N/A * @return The message lookup table.
286N/A */
286N/A public Object[][] getContents()
286N/A {
286N/A return _contents;
286N/A }
286N/A
286N/A}