Browse Source

[GENERIC] Zend_Validate:

- fixed spelling

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20360 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
1a12b80056
2 changed files with 8 additions and 8 deletions
  1. 2 2
      library/Zend/Validate/File/Upload.php
  2. 6 6
      resources/languages/en/Zend_Validate.php

+ 2 - 2
library/Zend/Validate/File/Upload.php

@@ -59,8 +59,8 @@ class Zend_Validate_File_Upload extends Zend_Validate_Abstract
         self::NO_FILE        => "File '%value%' was not uploaded",
         self::NO_TMP_DIR     => "No temporary directory was found for file '%value%'",
         self::CANT_WRITE     => "File '%value%' can't be written",
-        self::EXTENSION      => "The extension returned an error while uploading the file '%value%'",
-        self::ATTACK         => "File '%value%' was illegal uploaded, possible attack",
+        self::EXTENSION      => "A PHP extension returned an error while uploading the file '%value%'",
+        self::ATTACK         => "File '%value%' was illegally uploaded. This could be a possible attack",
         self::FILE_NOT_FOUND => "File '%value%' was not found",
         self::UNKNOWN        => "Unknown error while uploading file '%value%'"
     );

+ 6 - 6
resources/languages/en/Zend_Validate.php

@@ -21,7 +21,7 @@
  */
 
 /**
- * EN-Revision: 20359
+ * EN-Revision: 20360
  */
 return array(
     // Zend_Validate_Alnum
@@ -131,12 +131,12 @@ return array(
 
     // Zend_Validate_File_IsCompressed
     "File '%value%' is not compressed, '%type%' detected" => "File '%value%' is not compressed, '%type%' detected",
-    "The mimetype of file '%value%' could not been detected" => "The mimetype of file '%value%' could not been detected",
+    "The mimetype of file '%value%' could not be detected" => "The mimetype of file '%value%' could not be detected",
     "File '%value%' can not be read" => "File '%value%' can not be read",
 
     // Zend_Validate_File_IsImage
     "File '%value%' is no image, '%type%' detected" => "File '%value%' is no image, '%type%' detected",
-    "The mimetype of file '%value%' could not been detected" => "The mimetype of file '%value%' could not been detected",
+    "The mimetype of file '%value%' could not be detected" => "The mimetype of file '%value%' could not be detected",
     "File '%value%' can not be read" => "File '%value%' can not be read",
 
     // Zend_Validate_File_Md5
@@ -146,7 +146,7 @@ return array(
 
     // Zend_Validate_File_MimeType
     "File '%value%' has a false mimetype of '%type%'" => "File '%value%' has a false mimetype of '%type%'",
-    "The mimetype of file '%value%' could not been detected" => "The mimetype of file '%value%' could not been detected",
+    "The mimetype of file '%value%' could not be detected" => "The mimetype of file '%value%' could not be detected",
     "File '%value%' can not be read" => "File '%value%' can not be read",
 
     // Zend_Validate_File_NotExists
@@ -169,8 +169,8 @@ return array(
     "File '%value%' was not uploaded" => "File '%value%' was not uploaded",
     "No temporary directory was found for file '%value%'" => "No temporary directory was found for file '%value%'",
     "File '%value%' can't be written" => "File '%value%' can't be written",
-    "The extension returned an error while uploading the file '%value%'" => "The extension returned an error while uploading the file '%value%'",
-    "File '%value%' was illegal uploaded, possible attack" => "File '%value%' was illegal uploaded, possible attack",
+    "A PHP extension returned an error while uploading the file '%value%'" => "A PHP extension returned an error while uploading the file '%value%'",
+    "File '%value%' was illegally uploaded. This could be a possible attack" => "File '%value%' was illegally uploaded. This could be a possible attack",
     "File '%value%' was not found" => "File '%value%' was not found",
     "Unknown error while uploading file '%value%'" => "Unknown error while uploading file '%value%'",