[Erp5-report] r23435 - /erp5/trunk/products/ERP5/Constraint/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 4 23:54:52 CEST 2008


Author: yusei
Date: Thu Sep  4 23:54:52 2008
New Revision: 23435

URL: http://svn.erp5.org?rev=23435&view=rev
Log:
Update English messages.

Modified:
    erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py
    erp5/trunk/products/ERP5/Constraint/AccountingTransactionBalance.py
    erp5/trunk/products/ERP5/Constraint/DocumentReferenceConstraint.py

Modified: erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py?rev=23435&r1=23434&r2=23435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py (original)
+++ erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py Thu Sep  4 23:54:52 2008
@@ -56,7 +56,7 @@
   message_inconsistent_account_type = translateString(
     'Account is member'
     ' of ${category}, this should have account_type'
-    ' in ${account_type_list}')
+    ' in ${account_type_list}.')
 
   def checkConsistency(self, obj, fixit=0):
     """Implement here the consistency checker
@@ -65,7 +65,7 @@
     if getattr(obj, 'getAccountType', _MARKER) is _MARKER:
       errors.append(self._generateError(
         obj,
-        translateString("Account does not have account_type category")))
+        translateString("Account does not have account_type category.")))
     else:
       account_type_map = getattr(self, '_account_type_map', ())
       if not account_type_map:

Modified: erp5/trunk/products/ERP5/Constraint/AccountingTransactionBalance.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Constraint/AccountingTransactionBalance.py?rev=23435&r1=23434&r2=23435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Constraint/AccountingTransactionBalance.py (original)
+++ erp5/trunk/products/ERP5/Constraint/AccountingTransactionBalance.py Thu Sep  4 23:54:52 2008
@@ -38,9 +38,9 @@
                        'message_transaction_not_balanced_for_destination' ]
   
   message_transaction_not_balanced_for_source = translateString(
-       'Transaction is not Balanced')
+       'Transaction is not balanced.')
   message_transaction_not_balanced_for_destination = translateString(
-       'Transaction is not Balanced')
+       'Transaction is not balanced.')
 
   def checkConsistency(self, obj, fixit=0):
     """Implement here the consistency checker

Modified: erp5/trunk/products/ERP5/Constraint/DocumentReferenceConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Constraint/DocumentReferenceConstraint.py?rev=23435&r1=23434&r2=23435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Constraint/DocumentReferenceConstraint.py (original)
+++ erp5/trunk/products/ERP5/Constraint/DocumentReferenceConstraint.py Thu Sep  4 23:54:52 2008
@@ -46,13 +46,13 @@
                        'message_multiple_documents_exists' ]
   
   message_property_not_defined = translateString(
-      'Property ${property_id} was not defined')
+      'Property ${property_id} was not defined.')
   message_another_document_exists = translateString(
       'Another document ${document_reference} - '
-      '${document_language} - ${document_version} already exists')
+      '${document_language} - ${document_version} already exists.')
   message_multiple_documents_exists = translateString(
       'Multiple (${document_count}) documents ${document_reference} - '
-      '${document_language} - ${document_version} already exists')
+      '${document_language} - ${document_version} already exists.')
 
   def checkConsistency(self, object, fixit=0):
     """




More information about the Erp5-report mailing list