From 36c2e98e3a7620aa63ff8b4eae4aba83afe91b66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 25 Apr 2008 08:53:24 +0000
Subject: [PATCH] language is not a valid related key, use language_id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20810 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../GlossaryModule_createTermListForTranslation.xml           | 4 ++--
 bt5/erp5_forge/bt/revision                                    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml
index 3075d396df..bd0d0f51d6 100644
--- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml
+++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml
@@ -70,7 +70,7 @@ glossary_module = context\n
 \n
 for i in catalog(portal_type=\'Glossary Term\',\n
                  validation_state=\'validated\',\n
-                 language=\'en\'):\n
+                 language_id=\'en\'):\n
 \n
   english_term = i.getObject()\n
   \n
@@ -80,7 +80,7 @@ for i in catalog(portal_type=\'Glossary Term\',\n
   if catalog.getResultValue(portal_type=\'Glossary Term\',\n
                             reference=reference,\n
                             business_field=business_field,\n
-                            language=language) is not None:\n
+                            language_id=language) is not None:\n
     continue\n
 \n
   new_term = glossary_module.newContent(portal_type=\'Glossary Term\',\n
diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision
index 0acdeb509d..e99fdcc524 100644
--- a/bt5/erp5_forge/bt/revision
+++ b/bt5/erp5_forge/bt/revision
@@ -1 +1 @@
-216
\ No newline at end of file
+217
\ No newline at end of file
-- 
2.30.9