0713bcd8bc
plone.app.discussion is an official Plone core package, thus their translations belong to plone.app.locales. This commit removes the plone.app.discussion domain and changes it for plone. This fixes: https://github.com/plone/plone.app.discussion/issues/66
73 lines
2.2 KiB
XML
73 lines
2.2 KiB
XML
<configure
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
|
i18n_domain="plone">
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
handler=".comment.notify_workflow"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
handler=".comment.notify_content_object"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
handler=".comment.notify_comment_added"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
|
|
handler=".comment.notify_content_object"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
|
|
handler=".comment.notify_comment_removed"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
handler=".subscribers.index_object"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.app.discussion.interfaces.IComment
|
|
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
|
|
handler=".subscribers.unindex_object"
|
|
/>
|
|
|
|
<subscriber
|
|
for="Products.CMFCore.interfaces.IContentish
|
|
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
|
|
handler=".comment.notify_content_object_deleted"
|
|
/>
|
|
|
|
<subscriber
|
|
for="Products.CMFCore.interfaces.IContentish
|
|
zope.lifecycleevent.interfaces.IObjectMovedEvent"
|
|
handler=".comment.notify_content_object_moved"
|
|
/>
|
|
|
|
<!-- Control panel event subscribers -->
|
|
|
|
<subscriber
|
|
for="plone.app.controlpanel.interfaces.IConfigurationChangedEvent"
|
|
handler=".browser.controlpanel.notify_configuration_changed"
|
|
/>
|
|
|
|
<subscriber
|
|
for="plone.registry.interfaces.IRecordModifiedEvent"
|
|
handler=".browser.controlpanel.notify_configuration_changed"
|
|
/>
|
|
|
|
</configure>
|