[Erp5-report] r24139 - /erp5/trunk/products/ERP5/PropertySheet/
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Oct 10 14:54:01 CEST 2008
Author: jerome
Date: Fri Oct 10 14:53:58 2008
New Revision: 24139
URL: http://svn.erp5.org?rev=24139&view=rev
Log:
fix english messages and remove title PropertyExistence
Modified:
erp5/trunk/products/ERP5/PropertySheet/TaskConstraint.py
erp5/trunk/products/ERP5/PropertySheet/TaskLineConstraint.py
Modified: erp5/trunk/products/ERP5/PropertySheet/TaskConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/TaskConstraint.py?rev=24139&r1=24138&r2=24139&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/TaskConstraint.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/TaskConstraint.py Fri Oct 10 14:53:58 2008
@@ -33,13 +33,6 @@
"""
_constraints = (
- { 'id' : 'title_existence',
- 'description' : 'Title must be defined',
- 'type' : 'PropertyExistence',
- 'title' : None,
- 'message_property_not_set': 'Title must be defined',
- 'message_no_such_property' : 'Title must be defined',
- },
{ 'id' : 'source_category_membership_arity',
'description' : 'Source must be defined',
'type' : 'CategoryMembershipArity',
@@ -76,6 +69,6 @@
'type' : 'ContentExistence',
'portal_type' : ('Task Line', 'Task Report Line' ),
'message_no_subobject_portal_type' : \
- 'It is required create at least one Line.',
+ 'At least one line is required',
},
)
Modified: erp5/trunk/products/ERP5/PropertySheet/TaskLineConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/TaskLineConstraint.py?rev=24139&r1=24138&r2=24139&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/TaskLineConstraint.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/TaskLineConstraint.py Fri Oct 10 14:53:58 2008
@@ -35,8 +35,8 @@
'description' : 'Property quantity must be defined',
'type' : 'PropertyExistence',
'quantity' : None,
- "message_property_not_set" : 'Quantity must be defined at Lines',
- "message_no_such_property" : 'Quantity must be defined at Lines'
+ "message_property_not_set" : 'Quantity must be defined in lines',
+ "message_no_such_property" : 'Quantity must be defined in lines'
},
{ 'id' : 'resource',
'description' : 'Resource must be defined',
@@ -45,6 +45,6 @@
'max_arity' : '1',
'portal_type' : ( ),
'base_category' : ('resource',),
- 'message_arity_not_in_range' : 'Resource must be defined at Lines.' ,
+ 'message_arity_not_in_range' : 'Service must be defined in lines',
},
)
More information about the Erp5-report
mailing list