From fc9ddec3176bd59c29dc4f890587400d6a070d5d Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Tue, 7 Jun 2011 16:12:25 -0300
Subject: [PATCH] Typos

---
 .../CredentialRequest_closePersonAssignment.xml     |  2 +-
 .../CredentialRequest_updatePersonAssignment.xml    | 13 ++++++-------
 bt5/erp5_credential/bt/revision                     |  2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_closePersonAssignment.xml b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_closePersonAssignment.xml
index b5b9c79cdd..85db801421 100644
--- a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_closePersonAssignment.xml
+++ b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_closePersonAssignment.xml
@@ -50,7 +50,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>"""Close all person assignemnt \n
+            <value> <string>"""Close all person assignment \n
 Parameters:\n
 role -- Role category item (List of String, default: [])\n
 comment -- Workflow transition comment (String, default: "")\n
diff --git a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_updatePersonAssignment.xml b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_updatePersonAssignment.xml
index 84c93efde5..ee0b963ac1 100644
--- a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_updatePersonAssignment.xml
+++ b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_updatePersonAssignment.xml
@@ -50,8 +50,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>"""Create an assingment for the person depending credential request configuration\n
-Proxy: Assignee -- allow to update the related assignement"""\n
+            <value> <string>"""Create an assignment for the person depending credential request configuration\n
+Proxy: Assignee -- allow to update the related assignment"""\n
 \n
 # check the script is not called from a url\n
 if REQUEST is not None:\n
@@ -61,15 +61,14 @@ person = context.getDestinationDecisionValue(portal_type="Person")\n
 organisation = context.getDestinationDecisionValue(portal_type="Organisation")\n
 \n
 assignment_configuration = {}\n
-#Look on current assignement\n
+#Look on current assignment\n
 old_role_list = context.portal_categories.role.getCategoryChildLogicalPathItemList()[1:]\n
 #old_role_list look like [[\'title\',\'logical_path\'],]\n
-old_role_list = [ category[1] for category in old_role_list]\n
+old_role_list = [category[1] for category in old_role_list]\n
 for role in context.getRoleList():\n
   old_role_list.remove(role)\n
- \n
 \n
-#Close old assignement\n
+#Close old assignment\n
 open_assignment_list = context.CredentialRequest_closePersonAssignment(old_role_list)\n
 \n
 #Initialisation\n
@@ -79,7 +78,7 @@ delay = today+assignment_duration\n
 \n
 current_assignment_list = {}\n
 for assignment in open_assignment_list:\n
-  role = assignement.getRole()\n
+  role = assignment.getRole()\n
   if role in current_assignment_list:\n
     current_assignment_list[role].append(assignment)\n
   else:\n
diff --git a/bt5/erp5_credential/bt/revision b/bt5/erp5_credential/bt/revision
index 91a3d4243d..57065cd57b 100644
--- a/bt5/erp5_credential/bt/revision
+++ b/bt5/erp5_credential/bt/revision
@@ -1 +1 @@
-340
\ No newline at end of file
+341
\ No newline at end of file
-- 
2.30.9