source: products/quintagroup.themetemplate/trunk/quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/__init__.py_tmpl @ 1005

Last change on this file since 1005 was 1005, checked in by mylan, 15 years ago

Import package: Copied http://svn.quintagroup.com/products/qtheme.template/trunk@2041 + modifications concerning changed package name, namespace

File size: 700 bytes
Line 
1"""Main product initializer
2"""
3
4from zope.i18nmessageid import MessageFactory
5
6# Define a message factory for when this product is internationalised.
7# This will be imported with the special name "_" in most modules. Strings
8# like _(u"message") will then be extracted by i18n tools for translation.
9
10GLOBALS = globals()
11
12${package}MessageFactory = MessageFactory('${namespace_package}.${namespace_package2}.${package}')
13#if str($zope2product) == 'True'
14
15def initialize(context):
16    """Initializer called when used as a Zope 2 product.
17
18    This is referenced from configure.zcml. Regstrations as a "Zope 2 product"
19    is necessary for GenericSetup profiles to work, for example.
20    """
21
22#end if
Note: See TracBrowser for help on using the repository browser.