You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ro...@apache.org on 2004/03/12 15:49:17 UTC
cvs commit: cocoon-lenya/src/webapp/lenya info.xmap
roku 2004/03/12 06:49:17
Modified: src/webapp/lenya info.xmap
Log:
- Moved i18n transfomration into a resource called i18n
- Added i18n for info tree
Revision Changes Path
1.53 +8 -3 cocoon-lenya/src/webapp/lenya/info.xmap
Index: info.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/info.xmap,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- info.xmap 25 Feb 2004 16:30:19 -0000 1.52
+++ info.xmap 12 Mar 2004 14:49:17 -0000 1.53
@@ -51,6 +51,12 @@
</map:otherwise>
</map:select>
</map:resource>
+
+ <map:resource name="i18n">
+ <map:transform type="i18n">
+ <map:parameter name="locale" value="{request:locale}"/>
+ </map:transform>
+ </map:resource>
</map:resources>
<map:pipelines>
@@ -62,6 +68,7 @@
<!-- {publication-id}/{area}/sitetree.xml -->
<map:match pattern="*/*/sitetree.xml">
<map:generate src="pubs/{1}/content/{2}/sitetree.xml"/>
+ <map:call resource="i18n"/>
<map:transform type="access-control-sitetree">
<map:parameter name="publication-id" value="{1}"/>
<map:parameter name="area" value="{2}"/>
@@ -282,9 +289,7 @@
<map:transform src="cocoon://lenya-page/{../1}/info/default.xml"/>
- <map:transform type="i18n">
- <map:parameter name="locale" value="{request:locale}"/>
- </map:transform>
+ <map:call resource="i18n"/>
<map:serialize type="html-iso-8859-1"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org