From e7b4b2475ea99486b47cfd601c96b3dc7b3c6023 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 11 Jul 2008 11:54:13 +0000
Subject: [PATCH] translate module titles with erp5_ui

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22447 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Budget%20Module.xml          |  4 +-
 .../Budget%20Transaction%20Module.xml         | 59 +++++++++++++++++++
 bt5/erp5_budget/bt/revision                   |  2 +-
 3 files changed, 62 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Module.xml b/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Module.xml
index 85c1d939dc..637620747c 100644
--- a/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Module.xml
+++ b/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Module.xml
@@ -311,7 +311,7 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
+            <value> <string>erp5_ui</string> </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -331,7 +331,7 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
+            <value> <string>erp5_ui</string> </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
diff --git a/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Transaction%20Module.xml b/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Transaction%20Module.xml
index 2a6ce0d4d8..fba4d957a8 100644
--- a/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Transaction%20Module.xml
+++ b/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget%20Transaction%20Module.xml
@@ -176,6 +176,25 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>_property_domain_dict</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>short_title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
         <item>
             <key> <string>_roles</string> </key>
             <value>
@@ -263,4 +282,44 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>short_title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>
diff --git a/bt5/erp5_budget/bt/revision b/bt5/erp5_budget/bt/revision
index 2ebc6516c7..f0b5c72cad 100644
--- a/bt5/erp5_budget/bt/revision
+++ b/bt5/erp5_budget/bt/revision
@@ -1 +1 @@
-56
\ No newline at end of file
+57
\ No newline at end of file
-- 
2.30.9