1 /* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5 /* 6 * Copyright 2001-2004 The Apache Software Foundation. 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 */ 20 21 package com.sun.org.apache.xalan.internal.xsltc.runtime; 22 23 import java.util.ListResourceBundle; 24 25 /** 26 * @author Morten Jorgensen 27 */ 28 public class ErrorMessages_fr extends ListResourceBundle { 29 30 /* 31 * XSLTC run-time error messages. 32 * 33 * General notes to translators and definitions: 34 * 35 * 1) XSLTC is the name of the product. It is an acronym for XML Stylesheet: 36 * Transformations Compiler 37 * 38 * 2) A stylesheet is a description of how to transform an input XML document 39 * into a resultant output XML document (or HTML document or text) 40 * 41 * 3) An axis is a particular "dimension" in a tree representation of an XML 42 * document; the nodes in the tree are divided along different axes. 43 * Traversing the "child" axis, for instance, means that the program 44 * would visit each child of a particular node; traversing the "descendant" 45 * axis means that the program would visit the child nodes of a particular 46 * node, their children, and so on until the leaf nodes of the tree are 47 * reached. 48 * 49 * 4) An iterator is an object that traverses nodes in a tree along a 50 * particular axis, one at a time. 51 * 52 * 5) An element is a mark-up tag in an XML document; an attribute is a 53 * modifier on the tag. For example, in <elem attr='val' attr2='val2'> 54 * "elem" is an element name, "attr" and "attr2" are attribute names with 55 * the values "val" and "val2", respectively. 56 * 57 * 6) A namespace declaration is a special attribute that is used to associate 58 * a prefix with a URI (the namespace). The meanings of element names and 59 * attribute names that use that prefix are defined with respect to that 60 * namespace. 61 * 62 * 7) DOM is an acronym for Document Object Model. It is a tree 63 * representation of an XML document. 64 * 65 * SAX is an acronym for the Simple API for XML processing. It is an API 66 * used inform an XML processor (in this case XSLTC) of the structure and 67 * content of an XML document. 68 * 69 * Input to the stylesheet processor can come from an XML parser in the 70 * form of a DOM tree or through the SAX API. 71 * 72 * 8) DTD is a document type declaration. It is a way of specifying the 73 * grammar for an XML file, the names and types of elements, attributes, 74 * etc. 75 * 76 * 9) Translet is an invented term that refers to the class file that contains 77 * the compiled form of a stylesheet. 78 */ 79 80 // These message should be read from a locale-specific resource bundle 81 /** Get the lookup table for error messages. 82 * 83 * @return The message lookup table. 84 */ 85 public Object[][] getContents() 86 { 87 return new Object[][] { 88 89 /* 90 * Note to translators: the substitution text in the following message 91 * is a class name. Used for internal errors in the processor. 92 */ 93 {BasisLibrary.RUN_TIME_INTERNAL_ERR, 94 "Erreur interne d''ex\u00E9cution dans ''{0}''"}, 95 96 /* 97 * Note to translators: <xsl:copy> is a keyword that should not be 98 * translated. 99 */ 100 {BasisLibrary.RUN_TIME_COPY_ERR, 101 "Erreur d'ex\u00E9cution de <xsl:copy>."}, 102 103 /* 104 * Note to translators: The substitution text refers to data types. 105 * The message is displayed if a value in a particular context needs to 106 * be converted to type {1}, but that's not possible for a value of type 107 * {0}. 108 */ 109 {BasisLibrary.DATA_CONVERSION_ERR, 110 "Conversion de ''{0}'' \u00E0 ''{1}'' non valide."}, 111 112 /* 113 * Note to translators: This message is displayed if the function named 114 * by the substitution text is not a function that is supported. XSLTC 115 * is the acronym naming the product. 116 */ 117 {BasisLibrary.EXTERNAL_FUNC_ERR, 118 "Fonction externe ''{0}'' non prise en charge par XSLTC."}, 119 120 /* 121 * Note to translators: This message is displayed if two values are 122 * compared for equality, but the data type of one of the values is 123 * unknown. 124 */ 125 {BasisLibrary.EQUALITY_EXPR_ERR, 126 "Type d'argument inconnu dans l'expression d'\u00E9galit\u00E9."}, 127 128 /* 129 * Note to translators: The substitution text for {0} will be a data 130 * type; the substitution text for {1} will be the name of a function. 131 * This is displayed if an argument of the particular data type is not 132 * permitted for a call to this function. 133 */ 134 {BasisLibrary.INVALID_ARGUMENT_ERR, 135 "Type d''argument ''{0}'' non valide dans l''appel de ''{1}''"}, 136 137 /* 138 * Note to translators: There is way of specifying a format for a 139 * number using a pattern; the processor was unable to format the 140 * particular value using the specified pattern. 141 */ 142 {BasisLibrary.FORMAT_NUMBER_ERR, 143 "Tentative de formatage du nombre ''{0}'' \u00E0 l''aide du mod\u00E8le ''{1}''."}, 144 145 /* 146 * Note to translators: The following represents an internal error 147 * situation in XSLTC. The processor was unable to create a copy of an 148 * iterator. (See definition of iterator above.) 149 */ 150 {BasisLibrary.ITERATOR_CLONE_ERR, 151 "Impossible de cloner l''it\u00E9rateur ''{0}''."}, 152 153 /* 154 * Note to translators: The following represents an internal error 155 * situation in XSLTC. The processor attempted to create an iterator 156 * for a particular axis (see definition above) that it does not 157 * support. 158 */ 159 {BasisLibrary.AXIS_SUPPORT_ERR, 160 "It\u00E9rateur de l''axe ''{0}'' non pris en charge."}, 161 162 /* 163 * Note to translators: The following represents an internal error 164 * situation in XSLTC. The processor attempted to create an iterator 165 * for a particular axis (see definition above) that it does not 166 * support. 167 */ 168 {BasisLibrary.TYPED_AXIS_SUPPORT_ERR, 169 "It\u00E9rateur de l''axe saisi ''{0}'' non pris en charge."}, 170 171 /* 172 * Note to translators: This message is reported if the stylesheet 173 * being processed attempted to construct an XML document with an 174 * attribute in a place other than on an element. The substitution text 175 * specifies the name of the attribute. 176 */ 177 {BasisLibrary.STRAY_ATTRIBUTE_ERR, 178 "Attribut ''{0}'' en dehors de l''\u00E9l\u00E9ment."}, 179 180 /* 181 * Note to translators: As with the preceding message, a namespace 182 * declaration has the form of an attribute and is only permitted to 183 * appear on an element. The substitution text {0} is the namespace 184 * prefix and {1} is the URI that was being used in the erroneous 185 * namespace declaration. 186 */ 187 {BasisLibrary.STRAY_NAMESPACE_ERR, 188 "La d\u00E9claration d''espace de noms ''{0}''=''{1}'' est \u00E0 l''ext\u00E9rieur de l''\u00E9l\u00E9ment."}, 189 190 /* 191 * Note to translators: The stylesheet contained a reference to a 192 * namespace prefix that was undefined. The value of the substitution 193 * text is the name of the prefix. 194 */ 195 {BasisLibrary.NAMESPACE_PREFIX_ERR, 196 "L''espace de noms du pr\u00E9fixe ''{0}'' n''a pas \u00E9t\u00E9 d\u00E9clar\u00E9."}, 197 198 /* 199 * Note to translators: The following represents an internal error. 200 * DOMAdapter is a Java class in XSLTC. 201 */ 202 {BasisLibrary.DOM_ADAPTER_INIT_ERR, 203 "DOMAdapter cr\u00E9\u00E9 avec le mauvais type de DOM source."}, 204 205 /* 206 * Note to translators: The following message indicates that the XML 207 * parser that is providing input to XSLTC cannot be used because it 208 * does not describe to XSLTC the structure of the input XML document's 209 * DTD. 210 */ 211 {BasisLibrary.PARSER_DTD_SUPPORT_ERR, 212 "L'analyseur SAX que vous utilisez ne g\u00E8re pas les \u00E9v\u00E9nements de d\u00E9claration DTD."}, 213 214 /* 215 * Note to translators: The following message indicates that the XML 216 * parser that is providing input to XSLTC cannot be used because it 217 * does not distinguish between ordinary XML attributes and namespace 218 * declarations. 219 */ 220 {BasisLibrary.NAMESPACES_SUPPORT_ERR, 221 "L'analyseur SAX que vous utilisez ne prend pas en charge les espaces de noms XML."}, 222 223 /* 224 * Note to translators: The substitution text is the URI that was in 225 * error. 226 */ 227 {BasisLibrary.CANT_RESOLVE_RELATIVE_URI_ERR, 228 "Impossible de r\u00E9soudre la r\u00E9f\u00E9rence d''URI ''{0}''."}, 229 230 /* 231 * Note to translators: The stylesheet contained an element that was 232 * not recognized as part of the XSL syntax. The substitution text 233 * gives the element name. 234 */ 235 {BasisLibrary.UNSUPPORTED_XSL_ERR, 236 "El\u00E9ment XSL ''{0}'' non pris en charge"}, 237 238 /* 239 * Note to translators: The stylesheet referred to an extension to the 240 * XSL syntax and indicated that it was defined by XSLTC, but XSLTC does 241 * not recognize the particular extension named. The substitution text 242 * gives the extension name. 243 */ 244 {BasisLibrary.UNSUPPORTED_EXT_ERR, 245 "Extension XSLTC ''{0}'' non reconnue"}, 246 247 248 /* 249 * Note to translators: This error message is produced if the translet 250 * class was compiled using a newer version of XSLTC and deployed for 251 * execution with an older version of XSLTC. The substitution text is 252 * the name of the translet class. 253 */ 254 {BasisLibrary.UNKNOWN_TRANSLET_VERSION_ERR, 255 "Le translet sp\u00E9cifi\u00E9, ''{0}'', a \u00E9t\u00E9 cr\u00E9\u00E9 \u00E0 l''aide d''une version de XSLTC plus r\u00E9cente que la version de l''ex\u00E9cution XSLTC utilis\u00E9e. Vous devez recompiler la feuille de style ou utiliser une version plus r\u00E9cente de XSLTC pour ex\u00E9cuter ce translet."}, 256 257 /* 258 * Note to translators: An attribute whose effective value is required 259 * to be a "QName" had a value that was incorrect. 260 * 'QName' is an XML syntactic term that must not be translated. The 261 * substitution text contains the actual value of the attribute. 262 */ 263 {BasisLibrary.INVALID_QNAME_ERR, 264 "Un attribut dont la valeur doit \u00EAtre un QName avait la valeur ''{0}''"}, 265 266 267 /* 268 * Note to translators: An attribute whose effective value is required 269 * to be a "NCName" had a value that was incorrect. 270 * 'NCName' is an XML syntactic term that must not be translated. The 271 * substitution text contains the actual value of the attribute. 272 */ 273 {BasisLibrary.INVALID_NCNAME_ERR, 274 "Un attribut dont la valeur doit \u00EAtre un NCName avait la valeur ''{0}''"}, 275 276 {BasisLibrary.UNALLOWED_EXTENSION_FUNCTION_ERR, 277 "L''utilisation de la fonction d''extension ''{0}'' n''est pas autoris\u00E9e lorsque la fonctionnalit\u00E9 de traitement s\u00E9curis\u00E9 est d\u00E9finie sur True."}, 278 279 {BasisLibrary.UNALLOWED_EXTENSION_ELEMENT_ERR, 280 "L''utilisation de l''\u00E9l\u00E9ment d''extension ''{0}'' n''est pas autoris\u00E9e lorsque la fonctionnalit\u00E9 de traitement s\u00E9curis\u00E9 est d\u00E9finie sur True."}, 281 }; 282 } 283 284 }