cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources messages_es.properties
larryi 2004/01/16 18:38:32 Modified:jasper2/src/share/org/apache/jasper/resources messages_es.properties Log: Updates and additions to Spanish translations. Supplied by: Jesús Marín Revision ChangesPath 1.46 +320 -177 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages_es.properties Index: messages_es.properties === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages_es.properties,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- messages_es.properties4 Dec 2003 19:37:58 - 1.45 +++ messages_es.properties17 Jan 2004 02:38:32 - 1.46 @@ -3,14 +3,18 @@ # Default localized string information # Localized para Locale es_ES -jsp.error.bad.servlet.engine=¡Version incorrecta del motor servlet! +jsp.error.bad.servlet.engine=¡Versión incorrecta del motor servlet! jsp.error.no.scratch.dir=El motor JSP no tiene configurado un directorio de trabajo.\ -\n Añada \"jsp.initparams=scratchdir=\" \ +\n Añada \"jsp.initparams=scratchdir=\" \ \n en el fichero servlets.properties para este contexto. jsp.error.bad.scratch.dir=El directorio de trabajo especificado: {0} no es utilizable. jsp.message.scratch.dir.is=El directorio de trabajo para el motor JSP es: {0} jsp.message.parent_class_loader_is=El cargador de clases es: {0} jsp.message.dont.modify.servlets=IMPORTANTE: No modifique los servlets generados +jsp.error.nojavac=\n\nNo se ha hallado compilador Java para compilar el fuente generado para el JSP. \ +\nEsto se puede resolver normálmente copiando manuálmente $JAVA_HOME/lib/tools.jar desde el JDK \ +\nal directorio common/lib del servidor Tomcat, seguido de un rearranque de Tomcat. \ +\nSi usa un compilador Java alternativo, revise por favor su trayectoria de instalación y de acceso. jsp.error.not.impl.comments=Error Interno: Comments no implementado jsp.error.not.impl.directives=Error Interno: Directives no implementado jsp.error.not.impl.declarations=Error Interno: Declarations no implementado @@ -22,90 +26,151 @@ jsp.error.not.impl.plugin=Error Interno: plugin no implementado jsp.error.not.impl.forward=Error Interno: forward no implementado jsp.error.not.impl.include=Error Interno: include no implementado -jsp.error.classname=No puede determinar el nombre de clase desde el fichero .class -jsp.warning.bad.type=Aviso: typo no valido en archivo .class -jsp.error.data.file.write=Error mientras escribia el archivo de datos -jsp.error.page.invalid.contenttype=Directiva Page: valor incorrecto para contentType -jsp.error.page.invalid.session=Directiva Page: valor incorrecto para session -jsp.error.page.invalid.buffer=Directiva Page: valor incorrecto para buffer -jsp.error.page.invalid.autoflush==Directiva Page: valor incorrecto para autoFlush -jsp.error.page.invalid.isthreadsafe==Directiva Page: valor incorrecto para isThreadSafe -jsp.error.page.invalid.info==Directiva Page: valor incorrecto para info -jsp.error.page.invalid.iserrorpage==Directiva Page: valor incorrecto para isErrorPage -jsp.error.page.defafterusar.language=Directiva Page: No puede define language after a scriptlet -jsp.error.page.nomapping.language=Directiva Page: No hay mapeado para language: -jsp.error.page.bad_b_and_a_combo=Directiva Page: Combinacion ilegal de buffer=\"none\" y autoFlush=\"false\" +jsp.error.unavailable=JSP ha sido marcado como no disponible +jsp.error.usebean.missing.attribute=useBean: falta atributo id o está mal digitado +jsp.error.usebean.missing.type=useBean ({0}): Se debe de especificar atributo class o type: +jsp.error.usebean.duplicate=useBean: Nombre de bean duplicado: {0} +jsp.error.usebean.prohibited.as.session=No puedo usar como bean de sesión {0} ya que está prohibido \ +por directiva jsp definida previamente: +jsp.error.usebean.not.both=useBean: No puede especificar ambos atributos class y beanName: +jsp.error.usebean.bad.type.cast=useBean ({0}): Tipo ({1}) no es asignable desde clase ({2}) +jsp.error.invalid.scope=Valor ilegal de atributo \'scope\': {0} (debe de ser uno de \"page\", \"request\", \"session\", o \"application\") +jsp.error.classname=No pude determinar el nombre de clase desde el fichero .class +jsp.warning.bad.type=Aviso: tipo incorrecto en archivo .class +jsp.error.data.file.write=Error mientras escribía el archivo de datos +jsp.error.page.invalid.buffer=Directiva Page: medida de buffer inválida +jsp.error.page.conflict.contenttype=Directiva Page: es ilegal tener múltiples ocurrencias de 'contentType' con valores distintos (viejo: {0}, nuevo: {1}) +jsp.error.page.invalid.contenttype=Directiva Page: valor incorrecto para contentType +jsp.error.page.conflict.session=Directiva Page: es ilegal
cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources messages_es.properties messages_ja.properties
luehe 2002/08/01 14:17:58 Modified:jasper2/src/share/org/apache/jasper/compiler PageDataImpl.java TagLibraryInfoImpl.java Validator.java jasper2/src/share/org/apache/jasper/resources messages_es.properties messages_ja.properties Log: Implemented taglib directive changes: - 'uri' attribute is no longer considered mandatory. - Use new 'tagdir' attribute if present. Revision ChangesPath 1.6 +9 -5 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageDataImpl.java Index: PageDataImpl.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageDataImpl.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- PageDataImpl.java 22 Jul 2002 23:02:55 - 1.5 +++ PageDataImpl.java 1 Aug 2002 21:17:58 - 1.6 @@ -209,10 +209,14 @@ public void visit(Node.TaglibDirective n) throws JasperException { Attributes attrs = n.getAttributes(); if (attrs != null) { - String uri = attrs.getValue("uri"); + String location = attrs.getValue("uri"); + if (location == null) { + // JSP 2.0 CLARIFICATION NEEDED + location = attrs.getValue("tagdir"); + } String prefix = attrs.getValue("prefix"); rootAttrs.addAttribute("", "", "xmlns:" + prefix, "CDATA", -uri); +location); } } } 1.9 +3 -23 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java Index: TagLibraryInfoImpl.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- TagLibraryInfoImpl.java 31 Jul 2002 21:42:27 - 1.8 +++ TagLibraryInfoImpl.java 1 Aug 2002 21:17:58 - 1.9 @@ -467,7 +467,6 @@ } TagAttributeInfo createAttribute(TreeNode elem) { -//p("createAttribute\n" + elem); String name = null; boolean required = false, rtexprvalue = false, reqTime = false; String type = null; @@ -500,8 +499,6 @@ } } -// p("name=" + name + ", required=" + required + ", type=" + type + -// ", rtexprvalue=" + rtexprvalue); return new TagAttributeInfo(name, required, type, rtexprvalue); } @@ -642,7 +639,6 @@ Class tlvClass = ctxt.getClassLoader().loadClass(validatorClass); tlv = (TagLibraryValidator)tlvClass.newInstance(); - //p("got validator class: " + tlv); } catch (Exception ex) { Constants.message("jsp.warning.tlvclass.is.null", new Object[] { @@ -712,18 +708,6 @@ return new FunctionInfo(name, klass, signature); } -/* -static void copy(InputStream in, String fileName) -throws IOException, FileNotFoundException -{ -byte[] buf = new byte[1024]; - -FileOutputStream out = new FileOutputStream(fileName); -int nRead; -while ((nRead = in.read(buf, 0, buf.length)) != -1) -out.write(buf, 0, nRead); -} -*/ //* // Until javax.servlet.jsp.tagext.TagLibraryInfo is fixed @@ -753,8 +737,4 @@ } protected TagLibraryValidator tagLibraryValidator; - -private void p(String s) { - System.out.println("[TagLibraryInfoImpl] " + s); -} } 1.17 +12 -4 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java Index: Validator.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Validator.java31 Jul 2002 21:42:27 - 1.16 +++ Validator.java1 Aug 2002 21:17:58 - 1.17 @@ -334,7 +334,8 @@ new JspUtil.ValidAttribute("file", true) }; private static final JspUtil.ValidAttribute[] taglibDirectiveAttrs = { - new JspUtil.ValidAttribute("uri", true), + new JspUtil.ValidAttribute("uri"), + new JspUtil.ValidAttribute("tagdir"), new JspUtil.ValidAttribute("prefix", true) }; private sta