57 |
# hook into the Control Panel |
# hook into the Control Panel |
58 |
cp = Zope.app().Control_Panel |
cp = Zope.app().Control_Panel |
59 |
if cp_id not in cp.objectIds(): |
if cp_id not in cp.objectIds(): |
60 |
make_translation_service(cpl) |
make_translation_service(cp) |
61 |
pkg.translation_service = getattr(cp, cp_id) |
pkg.translation_service = getattr(cp, cp_id) |
62 |
|
|
63 |
instance_version = getattr(translation_service, '_instance_version', (0, 4, 0, 0)) |
instance_version = getattr(translation_service, '_instance_version', (0, 4, 0, 0)) |