From 1c9788f4190bfea3d9948a57532c3a9a0f607333 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 22 Aug 2014 17:15:27 +0200 Subject: [PATCH] make description property translatable, like title and short_title. --- .../DublinCore/description_property.xml | 10 ++++++++++ .../SimpleItem/description_property.xml | 10 ++++++++++ .../ERP5/bootstrap/erp5_property_sheets/bt/revision | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/DublinCore/description_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/DublinCore/description_property.xml index 0a4797e5a3..83355ff96f 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/DublinCore/description_property.xml +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/DublinCore/description_property.xml @@ -53,6 +53,16 @@ <key> <string>property_default</string> </key> <value> <string>python: \'\'</string> </value> </item> + <item> + <key> <string>translatable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>translation_domain</string> </key> + <value> + <none/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/SimpleItem/description_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/SimpleItem/description_property.xml index 0a4797e5a3..83355ff96f 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/SimpleItem/description_property.xml +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/SimpleItem/description_property.xml @@ -53,6 +53,16 @@ <key> <string>property_default</string> </key> <value> <string>python: \'\'</string> </value> </item> + <item> + <key> <string>translatable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>translation_domain</string> </key> + <value> + <none/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/bt/revision b/product/ERP5/bootstrap/erp5_property_sheets/bt/revision index 85322d0b54..e3f1e9b791 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/bt/revision +++ b/product/ERP5/bootstrap/erp5_property_sheets/bt/revision @@ -1 +1 @@ -79 +80 \ No newline at end of file -- 2.30.9