Commit dd3b5c8e authored by Aurel's avatar Aurel

make ERP5Type object use translation domains

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5822 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5841c398
...@@ -50,11 +50,13 @@ if ERP5UserManager is None: ...@@ -50,11 +50,13 @@ if ERP5UserManager is None:
from RoleProviderBase import RoleProviderBase from RoleProviderBase import RoleProviderBase
from RoleInformation import ori from RoleInformation import ori
from TranslationProviderBase import TranslationProviderBase
from zLOG import LOG from zLOG import LOG
ERP5TYPE_SECURITY_GROUP_ID_GENERATION_SCRIPT = 'ERP5Type_asSecurityGroupId' ERP5TYPE_SECURITY_GROUP_ID_GENERATION_SCRIPT = 'ERP5Type_asSecurityGroupId'
class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ): class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase, TranslationProviderBase ):
""" """
ERP5 Types are based on FactoryTypeInformation ERP5 Types are based on FactoryTypeInformation
...@@ -75,6 +77,7 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ): ...@@ -75,6 +77,7 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ):
manage_options = ( SimpleItemWithProperties.manage_options[:1] manage_options = ( SimpleItemWithProperties.manage_options[:1]
+ ActionProviderBase.manage_options + ActionProviderBase.manage_options
+ RoleProviderBase.manage_options + RoleProviderBase.manage_options
+ TranslationProviderBase.manage_options
+ SimpleItemWithProperties.manage_options[1:] + SimpleItemWithProperties.manage_options[1:]
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment