[Erp5-report] r10101 - in /erp5/trunk/products: ERP5/PropertySheet/ ERP5Type/PropertySheet/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 18 14:53:47 CEST 2006


Author: jp
Date: Mon Sep 18 14:53:45 2006
New Revision: 10101

URL: http://svn.erp5.org?rev=10101&view=rev
Log:
Moved short_title to DublinCore and SimpleItem

Modified:
    erp5/trunk/products/ERP5/PropertySheet/Document.py
    erp5/trunk/products/ERP5Type/PropertySheet/DublinCore.py
    erp5/trunk/products/ERP5Type/PropertySheet/SimpleItem.py

Modified: erp5/trunk/products/ERP5/PropertySheet/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Document.py?rev=10101&r1=10100&r2=10101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Document.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Document.py Mon Sep 18 14:53:45 2006
@@ -32,11 +32,6 @@
     """
 
     _properties = (
-        {   'id'          : 'short_title',
-            'description' : 'A short title which can be used for user interface in web sites',
-            'type'        : 'text',
-            'mode'        : 'w'
-            },
         {   'id'          : 'text_content',
             'description' : 'The content of the document considered as a text string',
             'type'        : 'text',

Modified: erp5/trunk/products/ERP5Type/PropertySheet/DublinCore.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/DublinCore.py?rev=10101&r1=10100&r2=10101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/DublinCore.py (original)
+++ erp5/trunk/products/ERP5Type/PropertySheet/DublinCore.py Mon Sep 18 14:53:45 2006
@@ -76,5 +76,12 @@
             'description' : '',
             'type'        : 'string',
             'mode'        : 'w' },
+        # Extended properties specific to ERP5 - not part of DublinCore
+        {   'id'          : 'short_title',
+            'description' : '',
+            'type'        : 'string',
+            'translatable'  : 1,
+            'translation_domain' : 'erp5_content',
+            'mode'        : 'w' },
     )
 

Modified: erp5/trunk/products/ERP5Type/PropertySheet/SimpleItem.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/SimpleItem.py?rev=10101&r1=10100&r2=10101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/SimpleItem.py (original)
+++ erp5/trunk/products/ERP5Type/PropertySheet/SimpleItem.py Mon Sep 18 14:53:45 2006
@@ -42,6 +42,12 @@
             'translatable': '1',
             'translation_domain' : 'erp5_content',
             },
+        {   'id'          : 'short_title',
+            'description' : '',
+            'type'        : 'string',
+            'translatable'  : 1,
+            'translation_domain' : 'erp5_content',
+            'mode'        : 'w' },
         {   'id'          : 'description',
             'description' : '',
             'type'        : 'text',




More information about the Erp5-report mailing list