You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jw...@apache.org on 2007/10/12 01:57:48 UTC

svn commit: r583988 - in /myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources: transform.xsl transform12.xsl

Author: jwaldman
Date: Thu Oct 11 16:57:47 2007
New Revision: 583988

URL: http://svn.apache.org/viewvc?rev=583988&view=rev
Log:
add 'translatable' to transform.xsl and transform12.xsl

Modified:
    myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
    myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl

Modified: myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl?rev=583988&r1=583987&r2=583988&view=diff
==============================================================================
--- myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl (original)
+++ myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl Thu Oct 11 16:57:47 2007
@@ -56,6 +56,7 @@
   <!ELEMENT preferred-component-types (#PCDATA)>
   <!ELEMENT property-editor (#PCDATA)>
   <!ELEMENT short-description (#PCDATA)>
+  <!ELEMENT translatable (#PCDATA)>
   <!ELEMENT unsupported-agents (#PCDATA)>
   <!ATTLIST component-metadata component-type CDATA #IMPLIED>
 ]>
@@ -393,7 +394,7 @@
     </xsl:element>
   </xsl:template>
   
-  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
+  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
     <xsl:element name="property-extension" >
       <xsl:element name="property-metadata" >
         <xsl:apply-templates/>
@@ -860,6 +861,12 @@
     </xsl:element>
   </xsl:template>
 
+  <xsl:template match="//mfp:property-metadata/mfp:translatable" >
+    <xsl:element name="translatable" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+  
   <xsl:template match="//mfp:accepts-child-components" >
     <xsl:element name="accepts-child-components" >
       <xsl:value-of select="text()" />

Modified: myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl?rev=583988&r1=583987&r2=583988&view=diff
==============================================================================
--- myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl (original)
+++ myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl Thu Oct 11 16:57:47 2007
@@ -377,7 +377,7 @@
     </xsl:element>
   </xsl:template>
   
-  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
+  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri() != 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]" >
     <xsl:element name="property-extension" >
       <xsl:element name="property-metadata" >
         <xsl:apply-templates/>
@@ -843,6 +843,11 @@
     </xsl:element>
   </xsl:template>
 
+  <xsl:template match="//mfp:property-metadata/mfp:translatable" >
+    <xsl:element name="translatable" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
   <xsl:template match="//mfp:accepts-child-components" >
     <xsl:element name="accepts-child-components" >
       <xsl:value-of select="text()" />