You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ra...@apache.org on 2010/11/16 18:41:07 UTC

svn commit: r1035707 - /lenya/branches/BRANCH_2_1_X/src/modules/tinymce/sitemap.xmap

Author: rainer
Date: Tue Nov 16 17:41:06 2010
New Revision: 1035707

URL: http://svn.apache.org/viewvc?rev=1035707&view=rev
Log:
TinyMCE Integration: pass shortened locale parameter to xslt transform,
e.g. "de" instead of "de_DE", since the TinyMCE language packs use only
the country part.


Modified:
    lenya/branches/BRANCH_2_1_X/src/modules/tinymce/sitemap.xmap

Modified: lenya/branches/BRANCH_2_1_X/src/modules/tinymce/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_1_X/src/modules/tinymce/sitemap.xmap?rev=1035707&r1=1035706&r2=1035707&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_1_X/src/modules/tinymce/sitemap.xmap (original)
+++ lenya/branches/BRANCH_2_1_X/src/modules/tinymce/sitemap.xmap Tue Nov 16 17:41:06 2010
@@ -84,7 +84,7 @@
                   <map:parameter name="continuationId" value="{flow-continuation:id}"/>
                   <map:parameter name="usecaseName" value="{request-param:lenya.usecase}"/>
                   <map:parameter name="publicationId" value="{page-envelope:publication-id}"/>
-                  <map:parameter name="locale" value="{request:locale}"/>
+                  <map:parameter name="locale" value="{request:locale/language}"/>
                   <map:parameter name="content" value="{request-param:tinymce.content}"/>
                 </map:transform>
               </map:when>



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