forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf menu.xmap
Date Sat, 20 Sep 2003 12:08:53 GMT
jefft       2003/09/20 05:08:53

  Modified:    src/resources/conf menu.xmap
  Log:
  Make the skinconf.xml i18n flag actually work
  
  Revision  Changes    Path
  1.12      +15 -15    xml-forrest/src/resources/conf/menu.xmap
  
  Index: menu.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/menu.xmap,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- menu.xmap	20 Sep 2003 08:23:50 -0000	1.11
  +++ menu.xmap	20 Sep 2003 12:08:53 -0000	1.12
  @@ -104,26 +104,26 @@
             </map:otherwise>
   
           </map:select>
  -	
  +
           <map:select type="config">
  -           <map:when test="{defaults:i18n}">
  +          <map:parameter name="value" value="{defaults:i18n}"/>
  +          <map:when test="true">
   
  -             <map:act type="locale">
  +            <map:act type="locale">
                 <map:transform src="resources/stylesheets/i18n.xsl"/>
  -	      <map:transform type="i18n">
  -	        <!-- We can use a default locale attribute or Request Parameter
  -	        <map:parameter name="locale" value="{defaults:locale}"/>
  -	        <map:parameter name="locale" value="{request-param:locale}"/>
  -	        -->
  -	        <map:parameter name="locale" value="{lang}{country}{variant}"/>
  -	      </map:transform>
  -
  -	    </map:act>
  +              <map:transform type="i18n">
  +                <!-- We can use a default locale attribute or Request Parameter
  +                <map:parameter name="locale" value="{defaults:locale}"/>
  +                <map:parameter name="locale" value="{request-param:locale}"/>
  +                -->
  +                <map:parameter name="locale" value="{lang}{country}{variant}"/>
  +              </map:transform>
  +            </map:act>
   
             </map:when>
           </map:select>
  -	
  -	<map:serialize type="xml"/>
  +
  +        <map:serialize type="xml"/>
   
         </map:match>
   
  
  
  

Mime
View raw message