diff --git a/phone.module b/phone.module
index 9c7396a..7f6a228 100644
--- a/phone.module
+++ b/phone.module
@@ -156,7 +156,7 @@ function phone_field_validate($entity_type, $entity, $field, $instance, $langcod
       if (!valid_phone_number($ccode, $value)) {
         $country = phone_country_info($ccode);
         $errors[$field['field_name']][$langcode][$delta][] = array(
-          'error' => t($country['error'], array('%value' => $value)),
+          'error' => 'phone_invalid_number',
+          'message' => t($country['error'], array('%value' => $value)),
         );
       }
     }
@@ -381,4 +381,3 @@ function format_phone_number($countrycode, $phonenumber, $field) {
   //Country not taken into account yet
   return FALSE;
 }
-
