Commit 01d94e89 authored by wenjie.zheng's avatar wenjie.zheng

Add French Translation

parent d0dbb7d4
......@@ -117,6 +117,9 @@ catalog_method_filter_list = ('_filter_expression_archive',
INSTALLED_BT_FOR_DIFF = 'installed_bt_for_diff'
_MARKER = []
def _getCatalog(acquisition_context):
"""
Return the id of the SQLCatalog which correspond to the current BT.
......@@ -5817,6 +5820,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
bt_portal_types_id_list = list(self.getTemplatePortalTypeIdList())
bt_portal_type_roles_list = list(self.getTemplatePortalTypeRoleList())
bt_wf_chain_list = list(self.getTemplatePortalTypeWorkflowChainList())
Base_translateString = self.Base_translateString
for id in bt_portal_types_id_list:
portal_type = ttool.getTypeInfo(id)
......@@ -5863,6 +5867,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
bt_base_category_list.append(base_cat_id)
for act_id in action_list:
if act_id is None:
return (1, Base_translateString("ERROR: An action has an empty id on portal_type ${id}",mapping=dict(id=id)))
action_id = id+' | '+act_id
if action_id not in bt_action_list:
bt_action_list.append(action_id)
......@@ -5887,6 +5893,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
self.setTemplatePortalTypePropertySheetList(bt_property_sheet_list)
self.setTemplatePortalTypeBaseCategoryList(bt_base_category_list)
self.setTemplateActionPathList(bt_action_list)
return (0, "")
def guessPortalTypes(self, **kw):
......
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