Permalink
Browse files

Pull in plone.app.i18n configuration so that the languageselector tem…

…plate is preserved. Refs #12007. Thanks davisagli!

svn path=/plonetheme.classic/trunk/; revision=51221
  • Loading branch information...
Eric Steele
Eric Steele committed Jul 13, 2011
1 parent 7ccd63c commit 3f36218d7b7e62a29fb67191eb6af49dd8242f2e
Showing with 14 additions and 7 deletions.
  1. +4 −0 CHANGES.txt
  2. +10 −7 plonetheme/classic/browser/configure.zcml
View
@@ -4,6 +4,10 @@ Changelog
1.2 - Unreleased
----------------
- Pull in plone.app.i18n configuration so that the languageselector template is
preserved. Refs http://dev.plone.org/plone/ticket/12007
[esteele]
- Merge changes from PLIP 9352.
[esteele, spliter]
@@ -25,13 +25,16 @@
/>
<!-- move language selector to the portaltop manager -->
<browser:viewlet
name="plone.app.i18n.locales.languageselector"
layer=".interfaces.IThemeSpecific"
manager="plone.app.layout.viewlets.interfaces.IPortalTop"
class="plone.app.i18n.locales.browser.selector.LanguageSelector"
permission="zope2.View"
/>
<configure package="plone.app.i18n">
<browser:viewlet
name="plone.app.i18n.locales.languageselector"
layer="plonetheme.classic.browser.interfaces.IThemeSpecific"
manager="plone.app.layout.viewlets.interfaces.IPortalTop"
class="plone.app.i18n.locales.browser.selector.LanguageSelector"
template="locales/browser/languageselector.pt"
permission="zope2.View"
/>
</configure>
<!-- move personal bar to portaltop manager, and replace template -->
<browser:viewlet

0 comments on commit 3f36218

Please sign in to comment.