Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
f91af893
Commit
f91af893
authored
Jul 30, 2009
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved ``Products/Five/i18n.zcml`` into the ZPublisher package.
parent
60c32442
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
20 deletions
+27
-20
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/Products/Five/configure.zcml
src/Products/Five/configure.zcml
+0
-1
src/Products/Five/i18n.zcml
src/Products/Five/i18n.zcml
+2
-19
src/ZPublisher/configure.zcml
src/ZPublisher/configure.zcml
+1
-0
src/ZPublisher/i18n.zcml
src/ZPublisher/i18n.zcml
+22
-0
No files found.
doc/CHANGES.rst
View file @
f91af893
...
@@ -14,6 +14,8 @@ Restructuring
...
@@ -14,6 +14,8 @@ Restructuring
- Moved zope.security-style permission registrations from Products.Five into
- Moved zope.security-style permission registrations from Products.Five into
the AccessControl package.
the AccessControl package.
- Moved ``Products/Five/i18n.zcml`` into the ZPublisher package.
- Moved ``Products/Five/publisher.zcml`` into the ZPublisher package.
- Moved ``Products/Five/publisher.zcml`` into the ZPublisher package.
- Moved ``Products/Five/event.zcml`` into the OFS package.
- Moved ``Products/Five/event.zcml`` into the OFS package.
...
...
src/Products/Five/configure.zcml
View file @
f91af893
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
<include file="meta.zcml" />
<include file="meta.zcml" />
<include file="permissions.zcml" />
<include file="permissions.zcml" />
<include file="i18n.zcml" />
<include file="deprecated.zcml"/>
<include file="deprecated.zcml"/>
<include file="traversing.zcml"/>
<include file="traversing.zcml"/>
...
...
src/Products/Five/i18n.zcml
View file @
f91af893
<configure
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns="http://namespaces.zope.org/zope">
xmlns:i18n="http://namespaces.zope.org/i18n"
>
<utility
<include package="ZPublisher" file="i18n.zcml" />
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>
</configure>
src/ZPublisher/configure.zcml
View file @
f91af893
<configure xmlns="http://namespaces.zope.org/zope">
<configure xmlns="http://namespaces.zope.org/zope">
<include file="i18n.zcml"/>
<include file="publisher.zcml"/>
<include file="publisher.zcml"/>
</configure>
</configure>
src/ZPublisher/i18n.zcml
0 → 100644
View file @
f91af893
<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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment