Commit f91af893 authored by Hanno Schlichting's avatar Hanno Schlichting

Moved ``Products/Five/i18n.zcml`` into the ZPublisher package.

parent 60c32442
......@@ -14,6 +14,8 @@ Restructuring
- Moved zope.security-style permission registrations from Products.Five into
the AccessControl package.
- Moved ``Products/Five/i18n.zcml`` into the ZPublisher package.
- Moved ``Products/Five/publisher.zcml`` into the ZPublisher package.
- Moved ``Products/Five/event.zcml`` into the OFS package.
......
......@@ -3,7 +3,6 @@
<include file="meta.zcml" />
<include file="permissions.zcml" />
<include file="i18n.zcml" />
<include file="deprecated.zcml"/>
<include file="traversing.zcml"/>
......
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:i18n="http://namespaces.zope.org/i18n"
>
xmlns="http://namespaces.zope.org/zope">
<utility
provides="zope.i18n.interfaces.INegotiator"
component="zope.i18n.negotiator.negotiator"
/>
<adapter
for="zope.publisher.interfaces.http.IHTTPRequest"
provides="zope.i18n.interfaces.IUserPreferredLanguages"
factory="zope.publisher.browser.BrowserLanguages"
/>
<adapter
for="zope.publisher.interfaces.http.IHTTPRequest"
provides="zope.i18n.interfaces.IUserPreferredCharsets"
factory="zope.publisher.http.HTTPCharsets"
/>
<include package="ZPublisher" file="i18n.zcml" />
</configure>
<configure xmlns="http://namespaces.zope.org/zope">
<include file="i18n.zcml"/>
<include file="publisher.zcml"/>
</configure>
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:i18n="http://namespaces.zope.org/i18n">
<utility
provides="zope.i18n.interfaces.INegotiator"
component="zope.i18n.negotiator.negotiator"
/>
<adapter
for="zope.publisher.interfaces.http.IHTTPRequest"
provides="zope.i18n.interfaces.IUserPreferredLanguages"
factory="zope.publisher.browser.BrowserLanguages"
/>
<adapter
for="zope.publisher.interfaces.http.IHTTPRequest"
provides="zope.i18n.interfaces.IUserPreferredCharsets"
factory="zope.publisher.http.HTTPCharsets"
/>
</configure>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment