Il est plus prudent de renvoyer une copie des préférences linguistiques enregistrées...
[Plinn.git] / overrides.zcml
index 3059b05..3c01665 100644 (file)
         provides="Products.CMFCore.interfaces.IMember"
         factory="Products.Plinn.MemberDataTool.MemberAdapter"
         />
         provides="Products.CMFCore.interfaces.IMember"
         factory="Products.Plinn.MemberDataTool.MemberAdapter"
         />
+    <adapter
+        for="Products.CMFCore.interfaces.ICatalogAware
+             Products.CMFCore.interfaces.ICatalogTool"
+        provides="Products.CMFCore.interfaces.IIndexableObject"
+        factory=".catalog_adapters.PlinnIndexableObjectWrapper" />
+    <adapter
+        for="zope.publisher.interfaces.http.IHTTPRequest"
+        provides="zope.i18n.interfaces.IUserPreferredLanguages"
+        factory=".userlanguages.AuthenticatedUserLanguages"
+        />
+    
 </configure>
 </configure>