src/ztfy/utils/configure.zcml
branchZTK-1.1
changeset 148 d3668ecd9137
parent 145 1c7e8bef0027
child 169 b4b587dd45ca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ztfy/utils/configure.zcml	Wed Jun 20 16:29:53 2012 +0200
@@ -0,0 +1,30 @@
+<configure
+	xmlns="http://namespaces.zope.org/zope"
+	xmlns:i18n="http://namespaces.zope.org/i18n"
+	i18n_domain="ztfy.utils">
+
+	<i18n:registerTranslations directory="locales" />
+
+	<!-- IPersistent adapters copied from zc.twist package -->
+	<adapter
+		factory=".zodb.transactionManager" />
+
+	<!-- Encodings management -->
+	<utility
+		name="ZTFY encodings"
+		component=".encoding.EncodingsVocabulary" />
+
+	<!-- Custom schema fields -->
+	<adapter
+		factory=".schema.DottedDecimalDataConverter"
+		trusted="True" />
+
+	<!-- Sub-packages -->
+	<include package=".tal" />
+
+	<include package=".catalog" />
+	<include package=".timezone" />
+
+	<include package=".browser" />
+
+</configure>