Commit be77dc04 authored by Jérome Perrin's avatar Jérome Perrin

inline the logic of Base_getContentTranslationPropertyValueAndLabelList,...

inline the logic of Base_getContentTranslationPropertyValueAndLabelList, because this interaction script has a proxy role that did not apply in Base_getContentTranslationPropertyValueAndLabelList,

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40231 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2a6affa9
...@@ -57,7 +57,8 @@ portal = state_change_info.getPortal()\n ...@@ -57,7 +57,8 @@ portal = state_change_info.getPortal()\n
error_message_list = []\n error_message_list = []\n
language_item_list = portal.Base_getContentTranslationLanguageValueAndLabelList()\n language_item_list = portal.Base_getContentTranslationLanguageValueAndLabelList()\n
\n \n
for property_name, original_message in document.Base_getContentTranslationPropertyValueAndLabelList():\n for property_name in document.getTypeInfo().getContentTranslationDomainPropertyNameList():\n
original_message = document.getProperty(property_name)\n
for language, language_label in language_item_list:\n for language, language_label in language_item_list:\n
try:\n try:\n
translation_original_text = document.getPropertyTranslationOriginalText(property_name, language)\n translation_original_text = document.getPropertyTranslationOriginalText(property_name, language)\n
......
37 38
\ No newline at end of file \ No newline at end of file
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