You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/06/03 04:51:46 UTC

svn commit: r179707 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/publication-sitemap.xmap

Author: gregor
Date: Thu Jun  2 19:51:46 2005
New Revision: 179707

URL: http://svn.apache.org/viewcvs?rev=179707&view=rev
Log:
Changed i18n to take the language of the document into account, not the request language. Patch by Paul Ercolino. This resolves http://issues.apache.org/bugzilla/show_bug.cgi?id=35099

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/publication-sitemap.xmap

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/publication-sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/publication-sitemap.xmap?rev=179707&r1=179706&r2=179707&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/publication-sitemap.xmap (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/publication-sitemap.xmap Thu Jun  2 19:51:46 2005
@@ -135,7 +135,7 @@
           <map:parameter name="language" value="{page-envelope:document-language}"/>
         </map:transform>
         <map:transform type="i18n">      
-          <map:parameter name="locale" value="{request:locale}"/>
+          <map:parameter name="locale" value="{page-envelope:document-language}"/>
         </map:transform>    
         <map:select type="parameter">
           <map:parameter name="parameter-selector-test" value="{1}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org