Commit 7a2e8be7 authored by Yusei Tahara's avatar Yusei Tahara

2008-10-6 yusei

* Set original English term to a new term when create a new term from English ones.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24010 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55b496a8
......@@ -66,6 +66,7 @@ for i in catalog(portal_type=\'Glossary Term\',\n
business_field = english_term.getBusinessField()\n
\n
if catalog.getResultValue(portal_type=\'Glossary Term\',\n
causality_uid=english_term.getUid(),\n
reference=reference,\n
business_field_title=business_field,\n
language_id=language) is not None:\n
......@@ -77,7 +78,8 @@ for i in catalog(portal_type=\'Glossary Term\',\n
language=language,\n
title=english_term.getTitle(),\n
description=english_term.getDescription(),\n
comment=english_term.getComment()\n
comment=english_term.getComment(),\n
causality=english_term.getRelativeUrl()\n
)\n
\n
portal_status_message = context.Base_translateString(\'Terms created.\')\n
......
2008-10-6 yusei
* Set original English term to a new term when create a new term from English ones.
2008-10-2 yusei
* Added a causality field to Glossary Term to specify a original English term.
......
392
\ No newline at end of file
393
\ 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