|
|
@@ -25,12 +25,12 @@
|
|
|
*/
|
|
|
return array(
|
|
|
// Zend_Validate_Alnum
|
|
|
- "Invalid type given, value should be float, string, or integer" => "Invalid type given, value should be float, string, or integer",
|
|
|
+ "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
|
|
|
"'%value%' contains characters which are non alphabetic and no digits" => "'%value%' contains characters which are non alphabetic and no digits",
|
|
|
"'%value%' is an empty string" => "'%value%' is an empty string",
|
|
|
|
|
|
// Zend_Validate_Alpha
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' contains non alphabetic characters" => "'%value%' contains non alphabetic characters",
|
|
|
"'%value%' is an empty string" => "'%value%' is an empty string",
|
|
|
|
|
|
@@ -38,7 +38,7 @@ return array(
|
|
|
"'%value%' failed checksum validation" => "'%value%' failed checksum validation",
|
|
|
"'%value%' contains invalid characters" => "'%value%' contains invalid characters",
|
|
|
"'%value%' should have a length of %length% characters" => "'%value%' should have a length of %length% characters",
|
|
|
- "Invalid type given, value should be string" => "Invalid type given, value should be string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
|
|
|
// Zend_Validate_Between
|
|
|
"'%value%' is not between '%min%' and '%max%', inclusively" => "'%value%' is not between '%min%' and '%max%', inclusively",
|
|
|
@@ -46,41 +46,41 @@ return array(
|
|
|
|
|
|
// Zend_Validate_Callback
|
|
|
"'%value%' is not valid" => "'%value%' is not valid",
|
|
|
- "Failure within the callback, exception returned" => "Failure within the callback, exception returned",
|
|
|
+ "An exception has been raised within the callback" => "An exception has been raised within the callback",
|
|
|
|
|
|
// Zend_Validate_Ccnum
|
|
|
"'%value%' must contain between 13 and 19 digits" => "'%value%' must contain between 13 and 19 digits",
|
|
|
"Luhn algorithm (mod-10 checksum) failed on '%value%'" => "Luhn algorithm (mod-10 checksum) failed on '%value%'",
|
|
|
|
|
|
// Zend_Validate_CreditCard
|
|
|
- "Luhn algorithm (mod-10 checksum) failed on '%value%'" => "Luhn algorithm (mod-10 checksum) failed on '%value%'",
|
|
|
+ "'%value%' seems to contain an invalid checksum" => "'%value%' seems to contain an invalid checksum",
|
|
|
"'%value%' must contain only digits" => "'%value%' must contain only digits",
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' contains an invalid amount of digits" => "'%value%' contains an invalid amount of digits",
|
|
|
"'%value%' is not from an allowed institute" => "'%value%' is not from an allowed institute",
|
|
|
- "Validation of '%value%' has been failed by the service" => "Validation of '%value%' has been failed by the service",
|
|
|
- "The service returned a failure while validating '%value%'" => "The service returned a failure while validating '%value%'",
|
|
|
+ "'%value%' seems to be an invalid creditcard number" => "'%value%' seems to be an invalid creditcard number",
|
|
|
+ "An exception has been raised while validating '%value%'" => "An exception has been raised while validating '%value%'",
|
|
|
|
|
|
// Zend_Validate_Date
|
|
|
- "Invalid type given, value should be string, integer, array or Zend_Date" => "Invalid type given, value should be string, integer, array or Zend_Date",
|
|
|
+ "Invalid type given. String, integer, array or Zend_Date expected" => "Invalid type given. String, integer, array or Zend_Date expected",
|
|
|
"'%value%' does not appear to be a valid date" => "'%value%' does not appear to be a valid date",
|
|
|
"'%value%' does not fit the date format '%format%'" => "'%value%' does not fit the date format '%format%'",
|
|
|
|
|
|
// Zend_Validate_Db_Abstract
|
|
|
- "No record matching %value% was found" => "No record matching %value% was found",
|
|
|
- "A record matching %value% was found" => "A record matching %value% was found",
|
|
|
+ "No record matching '%value%' was found" => "No record matching '%value%' was found",
|
|
|
+ "A record matching '%value%' was found" => "A record matching '%value%' was found",
|
|
|
|
|
|
// Zend_Validate_Digits
|
|
|
- "Invalid type given, value should be string, integer or float" => "Invalid type given, value should be string, integer or float",
|
|
|
- "'%value%' contains characters which are not digits; but only digits are allowed" => "'%value%' contains characters which are not digits; but only digits are allowed",
|
|
|
+ "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
|
|
|
+ "'%value%' must contain only digits" => "'%value%' must contain only digits",
|
|
|
"'%value%' is an empty string" => "'%value%' is an empty string",
|
|
|
|
|
|
// Zend_Validate_EmailAddress
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' is no valid email address in the basic format local-part@hostname" => "'%value%' is no valid email address in the basic format local-part@hostname",
|
|
|
"'%hostname%' is no valid hostname for email address '%value%'" => "'%hostname%' is no valid hostname for email address '%value%'",
|
|
|
"'%hostname%' does not appear to have a valid MX record for the email address '%value%'" => "'%hostname%' does not appear to have a valid MX record for the email address '%value%'",
|
|
|
- "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network." => "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network.",
|
|
|
+ "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network" => "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network",
|
|
|
"'%localPart%' can not be matched against dot-atom format" => "'%localPart%' can not be matched against dot-atom format",
|
|
|
"'%localPart%' can not be matched against quoted-string format" => "'%localPart%' can not be matched against quoted-string format",
|
|
|
"'%localPart%' is no valid local part for email address '%value%'" => "'%localPart%' is no valid local part for email address '%value%'",
|
|
|
@@ -93,23 +93,23 @@ return array(
|
|
|
// Zend_Validate_File_Crc32
|
|
|
"File '%value%' does not match the given crc32 hashes" => "File '%value%' does not match the given crc32 hashes",
|
|
|
"A crc32 hash could not be evaluated for the given file" => "A crc32 hash could not be evaluated for the given file",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_ExcludeExtension
|
|
|
"File '%value%' has a false extension" => "File '%value%' has a false extension",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_ExcludeMimeType
|
|
|
"File '%value%' has a false mimetype of '%type%'" => "File '%value%' has a false mimetype of '%type%'",
|
|
|
"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",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_Exists
|
|
|
"File '%value%' does not exist" => "File '%value%' does not exist",
|
|
|
|
|
|
// Zend_Validate_File_Extension
|
|
|
"File '%value%' has a false extension" => "File '%value%' has a false extension",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_FilesSize
|
|
|
"All files in sum should have a maximum size of '%max%' but '%size%' were detected" => "All files in sum should have a maximum size of '%max%' but '%size%' were detected",
|
|
|
@@ -119,7 +119,7 @@ return array(
|
|
|
// Zend_Validate_File_Hash
|
|
|
"File '%value%' does not match the given hashes" => "File '%value%' does not match the given hashes",
|
|
|
"A hash could not be evaluated for the given file" => "A hash could not be evaluated for the given file",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_ImageSize
|
|
|
"Maximum allowed width for image '%value%' should be '%maxwidth%' but '%width%' detected" => "Maximum allowed width for image '%value%' should be '%maxwidth%' but '%width%' detected",
|
|
|
@@ -127,27 +127,27 @@ return array(
|
|
|
"Maximum allowed height for image '%value%' should be '%maxheight%' but '%height%' detected" => "Maximum allowed height for image '%value%' should be '%maxheight%' but '%height%' detected",
|
|
|
"Minimum expected height for image '%value%' should be '%minheight%' but '%height%' detected" => "Minimum expected height for image '%value%' should be '%minheight%' but '%height%' detected",
|
|
|
"The size of image '%value%' could not be detected" => "The size of image '%value%' could not be detected",
|
|
|
- "File '%value%' can not be read" => "File '%value%' can not be read",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// 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 be detected" => "The mimetype of file '%value%' could not be detected",
|
|
|
- "File '%value%' can not be read" => "File '%value%' can not be read",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// 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 be detected" => "The mimetype of file '%value%' could not be detected",
|
|
|
- "File '%value%' can not be read" => "File '%value%' can not be read",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_Md5
|
|
|
"File '%value%' does not match the given md5 hashes" => "File '%value%' does not match the given md5 hashes",
|
|
|
"A md5 hash could not be evaluated for the given file" => "A md5 hash could not be evaluated for the given file",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// 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 be detected" => "The mimetype of file '%value%' could not be detected",
|
|
|
- "File '%value%' can not be read" => "File '%value%' can not be read",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_NotExists
|
|
|
"File '%value%' exists" => "File '%value%' exists",
|
|
|
@@ -155,12 +155,12 @@ return array(
|
|
|
// Zend_Validate_File_Sha1
|
|
|
"File '%value%' does not match the given sha1 hashes" => "File '%value%' does not match the given sha1 hashes",
|
|
|
"A sha1 hash could not be evaluated for the given file" => "A sha1 hash could not be evaluated for the given file",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_Size
|
|
|
"Maximum allowed size for file '%value%' is '%max%' but '%size%' detected" => "Maximum allowed size for file '%value%' is '%max%' but '%size%' detected",
|
|
|
"Minimum expected size for file '%value%' is '%min%' but '%size%' detected" => "Minimum expected size for file '%value%' is '%min%' but '%size%' detected",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_File_Upload
|
|
|
"File '%value%' exceeds the defined ini size" => "File '%value%' exceeds the defined ini size",
|
|
|
@@ -177,21 +177,21 @@ return array(
|
|
|
// Zend_Validate_File_WordCount
|
|
|
"Too much words, maximum '%max%' are allowed but '%count%' were counted" => "Too much words, maximum '%max%' are allowed but '%count%' were counted",
|
|
|
"Too less words, minimum '%min%' are expected but '%count%' were counted" => "Too less words, minimum '%min%' are expected but '%count%' were counted",
|
|
|
- "File '%value%' could not be found" => "File '%value%' could not be found",
|
|
|
+ "File '%value%' is not readable or does not exist" => "File '%value%' is not readable or does not exist",
|
|
|
|
|
|
// Zend_Validate_Float
|
|
|
- "Invalid type given, value should be float, string, or integer" => "Invalid type given, value should be float, string, or integer",
|
|
|
+ "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
|
|
|
"'%value%' does not appear to be a float" => "'%value%' does not appear to be a float",
|
|
|
|
|
|
// Zend_Validate_GreaterThan
|
|
|
"'%value%' is not greater than '%min%'" => "'%value%' is not greater than '%min%'",
|
|
|
|
|
|
// Zend_Validate_Hex
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' has not only hexadecimal digit characters" => "'%value%' has not only hexadecimal digit characters",
|
|
|
|
|
|
// Zend_Validate_Hostname
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' appears to be an IP address, but IP addresses are not allowed" => "'%value%' appears to be an IP address, but IP addresses are not allowed",
|
|
|
"'%value%' appears to be a DNS hostname but cannot match TLD against known list" => "'%value%' appears to be a DNS hostname but cannot match TLD against known list",
|
|
|
"'%value%' appears to be a DNS hostname but contains a dash in an invalid position" => "'%value%' appears to be a DNS hostname but contains a dash in an invalid position",
|
|
|
@@ -215,51 +215,51 @@ return array(
|
|
|
"'%value%' was not found in the haystack" => "'%value%' was not found in the haystack",
|
|
|
|
|
|
// Zend_Validate_Int
|
|
|
- "Invalid type given, value should be string or integer" => "Invalid type given, value should be string or integer",
|
|
|
+ "Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
|
|
|
"'%value%' does not appear to be an integer" => "'%value%' does not appear to be an integer",
|
|
|
|
|
|
// Zend_Validate_Ip
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' does not appear to be a valid IP address" => "'%value%' does not appear to be a valid IP address",
|
|
|
|
|
|
// Zend_Validate_Isbn
|
|
|
- "Invalid type given, value should be string or integer" => "Invalid type given, value should be string or integer",
|
|
|
+ "Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
|
|
|
"'%value%' is no valid ISBN number" => "'%value%' is no valid ISBN number",
|
|
|
|
|
|
// Zend_Validate_LessThan
|
|
|
"'%value%' is not less than '%max%'" => "'%value%' is not less than '%max%'",
|
|
|
|
|
|
// Zend_Validate_NotEmpty
|
|
|
- "Invalid type given, value should be float, string, array, boolean or integer" => "Invalid type given, value should be float, string, array, boolean or integer",
|
|
|
+ "Invalid type given. String, integer, float, boolean or array expected" => "Invalid type given. String, integer, float, boolean or array expected",
|
|
|
"Value is required and can't be empty" => "Value is required and can't be empty",
|
|
|
|
|
|
// Zend_Validate_PostCode
|
|
|
- "Invalid type given. The value should be a string or a integer" => "Invalid type given. The value should be a string or a integer",
|
|
|
+ "Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
|
|
|
"'%value%' does not appear to be a postal code" => "'%value%' does not appear to be a postal code",
|
|
|
|
|
|
// Zend_Validate_Regex
|
|
|
- "Invalid type given, value should be string, integer or float" => "Invalid type given, value should be string, integer or float",
|
|
|
+ "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
|
|
|
"'%value%' does not match against pattern '%pattern%'" => "'%value%' does not match against pattern '%pattern%'",
|
|
|
"There was an internal error while using the pattern '%pattern%'" => "There was an internal error while using the pattern '%pattern%'",
|
|
|
|
|
|
// Zend_Validate_Sitemap_Changefreq
|
|
|
"'%value%' is no valid sitemap changefreq" => "'%value%' is no valid sitemap changefreq",
|
|
|
- "Invalid type given, the value should be a string" => "Invalid type given, the value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
|
|
|
// Zend_Validate_Sitemap_Lastmod
|
|
|
"'%value%' is no valid sitemap lastmod" => "'%value%' is no valid sitemap lastmod",
|
|
|
- "Invalid type given, the value should be a string" => "Invalid type given, the value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
|
|
|
// Zend_Validate_Sitemap_Loc
|
|
|
"'%value%' is no valid sitemap location" => "'%value%' is no valid sitemap location",
|
|
|
- "Invalid type given, the value should be a string" => "Invalid type given, the value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
|
|
|
// Zend_Validate_Sitemap_Priority
|
|
|
"'%value%' is no valid sitemap priority" => "'%value%' is no valid sitemap priority",
|
|
|
- "Invalid type given, the value should be a integer, a float or a numeric string" => "Invalid type given, the value should be a integer, a float or a numeric string",
|
|
|
+ "Invalid type given. Numeric string, integer or float expected" => "Invalid type given. Numeric string, integer or float expected",
|
|
|
|
|
|
// Zend_Validate_StringLength
|
|
|
- "Invalid type given, value should be a string" => "Invalid type given, value should be a string",
|
|
|
+ "Invalid type given. String expected" => "Invalid type given. String expected",
|
|
|
"'%value%' is less than %min% characters long" => "'%value%' is less than %min% characters long",
|
|
|
"'%value%' is more than %max% characters long" => "'%value%' is more than %max% characters long",
|
|
|
);
|