src/ztfy/utils/configure.zcml
branchZTK-1.1
changeset 148 d3668ecd9137
parent 145 1c7e8bef0027
child 169 b4b587dd45ca
equal deleted inserted replaced
147:044dc196ec8a 148:d3668ecd9137
       
     1 <configure
       
     2 	xmlns="http://namespaces.zope.org/zope"
       
     3 	xmlns:i18n="http://namespaces.zope.org/i18n"
       
     4 	i18n_domain="ztfy.utils">
       
     5 
       
     6 	<i18n:registerTranslations directory="locales" />
       
     7 
       
     8 	<!-- IPersistent adapters copied from zc.twist package -->
       
     9 	<adapter
       
    10 		factory=".zodb.transactionManager" />
       
    11 
       
    12 	<!-- Encodings management -->
       
    13 	<utility
       
    14 		name="ZTFY encodings"
       
    15 		component=".encoding.EncodingsVocabulary" />
       
    16 
       
    17 	<!-- Custom schema fields -->
       
    18 	<adapter
       
    19 		factory=".schema.DottedDecimalDataConverter"
       
    20 		trusted="True" />
       
    21 
       
    22 	<!-- Sub-packages -->
       
    23 	<include package=".tal" />
       
    24 
       
    25 	<include package=".catalog" />
       
    26 	<include package=".timezone" />
       
    27 
       
    28 	<include package=".browser" />
       
    29 
       
    30 </configure>