diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml
index 99ff6a0d295514576971e8ddbdaa6430daea569e..8ade5fbb427803549e7a59ac6dd459f49c75c198 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml
@@ -269,7 +269,7 @@ for table_name in spreadsheets.keys():\n
             if clean_title != cell_id:\n
               category_properties[\'title\'] = clean_title\n
 \n
-          # Detect illegal IDs\n
+          # Detect invalid IDs\n
           if path_element_id in property_id_list:\n
             invalid_spreadsheet_error_handler(translateString(\n
                 "The ID ${id} is invalid, it\'s a reserved property name",\n
diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index abe3b7cd4f63515bd2809dcf1400563c57c32489..e159f8b7e44160676e21a2e2ed4238cf7d88ccd6 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -1317,7 +1317,7 @@ def setDefaultProperties(property_holder, object=None, portal=None):
                         read_permission=read_permission,
                         write_permission=write_permission)
       else:
-        raise TypeError, '"%s" is illegal type for propertysheet' % \
+        raise TypeError, '"%s" is invalid type for propertysheet' % \
                                             prop['type']
     # Create Category Accessors
     for cat in cat_list:
@@ -1453,7 +1453,7 @@ def setDefaultProperties(property_holder, object=None, portal=None):
           #  # setattr(property_holder, prop['id'], defaults[prop['type']])
           #  pass
       else:
-          raise TypeError, '"%s" is illegal type for propertysheet' % \
+          raise TypeError, '"%s" is invalid type for propertysheet' % \
                                           prop['type']
 
 ##########################################
diff --git a/product/ZSQLCatalog/SearchText/lexer.py b/product/ZSQLCatalog/SearchText/lexer.py
index ad6ac0c1268bd7d7321014ef8fcf5993cba6494d..2da29fa7fabd3d0705b9d60a469bec6695666614 100644
--- a/product/ZSQLCatalog/SearchText/lexer.py
+++ b/product/ZSQLCatalog/SearchText/lexer.py
@@ -65,7 +65,7 @@ class lexer(object):
         LOG('lexer', 0, line)
 
   def t_error(self, t):
-    raise LexerError, 'ERROR: Illegal character %r' % (t.value[0], )
+    raise LexerError, 'ERROR: Invalid character %r' % (t.value[0], )
 
   def p_error(self, p):
     raise ParserError, 'Syntax error in input: %r' % (p, )