From e3a4d7d174e274dcd599c3eb2858300ef62ab5a1 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 28 Jan 2009 16:56:15 +0000
Subject: [PATCH] 2009-01-28 Kazuhiko * set titles for states and transitions
 of category_publication_workflow.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25342 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../states/expired_protected.xml                         | 2 +-
 .../states/expired_published.xml                         | 2 +-
 .../category_publication_workflow/transitions/embed.xml  | 2 +-
 .../transitions/embed_action.xml                         | 9 +++------
 .../category_publication_workflow/transitions/expire.xml | 2 +-
 .../transitions/expire_action.xml                        | 2 +-
 .../transitions/expire_protected.xml                     | 2 +-
 .../transitions/expire_published.xml                     | 2 +-
 .../transitions/protect.xml                              | 2 +-
 .../transitions/protect_action.xml                       | 9 +++------
 .../transitions/publish.xml                              | 2 +-
 .../transitions/publish_action.xml                       | 9 +++------
 bt5/erp5_web/bt/revision                                 | 2 +-
 13 files changed, 19 insertions(+), 28 deletions(-)

diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml
index 16b953cc0e..611ab04d59 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml
@@ -25,7 +25,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Expired Protected</string> </value>
         </item>
         <item>
             <key> <string>transitions</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml
index 506aa3f358..e2a9111c5d 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml
@@ -25,7 +25,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Expired Published</string> </value>
         </item>
         <item>
             <key> <string>transitions</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed.xml
index 9e83e9b92a..ca96111fbf 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Embed Category</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed_action.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed_action.xml
index bc73d73f79..fd3f4b092b 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed_action.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/embed_action.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Embed</string> </value>
+            <value> <string>Embed Category Action</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
@@ -61,11 +61,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Guard</string>
-          <string>Guard</string>
-        </tuple>
-        <none/>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire.xml
index c125da1b15..093ca8781a 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Expire Category</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_action.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_action.xml
index 06054d5f4f..53f2062009 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_action.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_action.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Expire</string> </value>
+            <value> <string>Expire Category Action</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_protected.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_protected.xml
index 80b2052c4b..7deed2adb2 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_protected.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_protected.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Expire Protected Category</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_published.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_published.xml
index 1f7f608f54..30f4f8a3ff 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_published.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/expire_published.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Expire Published Category</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect.xml
index c304a4aa33..4cfc189c91 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Protect Category</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect_action.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect_action.xml
index 37361c8709..a729c17a92 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect_action.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/protect_action.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Protect</string> </value>
+            <value> <string>Protect Category Action</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
@@ -61,11 +61,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Guard</string>
-          <string>Guard</string>
-        </tuple>
-        <none/>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish.xml
index fdf53a6ba5..56698aed80 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Publish Category</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish_action.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish_action.xml
index ef73600a7e..e40b0e557c 100644
--- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish_action.xml
+++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/transitions/publish_action.xml
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Publish</string> </value>
+            <value> <string>Publish Category Action</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
@@ -61,11 +61,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Guard</string>
-          <string>Guard</string>
-        </tuple>
-        <none/>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index 6b9b650b30..4a533e3dd9 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-744
\ No newline at end of file
+745
\ No newline at end of file
-- 
2.30.9