Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4881' into develop
Browse files Browse the repository at this point in the history
Forward port #4881
  • Loading branch information
weierophinney committed Aug 19, 2013
2 parents b1fbbfb + 14f38e7 commit 92e6189
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Zend/I18n/Validator/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PhoneNumber extends AbstractValidator
protected $messageTemplates = array(
self::NO_MATCH => 'The input does not match a phone number format',
self::UNSUPPORTED => 'The country provided is currently unsupported',
self::INVALID => 'Invalid type given. String expected',
self::INVALID => 'Invalid type given. String expected',
);

/**
Expand Down
2 changes: 1 addition & 1 deletion resources/languages/en/Zend_Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// Zend\I18n\Validator\PhoneNumber
"The input does not match a phone number format" => "The input does not match a phone number format",
"The country provided is currently unsupported" => "The country provided is currently unsupported",
"Invalid type given. String expected" => "Invalid type given. String expected",
"Invalid type given. String expected" => "Invalid type given. String expected",

// Zend\I18n\Validator\PostCode
"Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
Expand Down
9 changes: 9 additions & 0 deletions resources/languages/it/Zend_Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"The input contains non alphabetic characters" => "L'input contiene caratteri non alfabetici",
"The input is an empty string" => "L'input è una stringa vuota",

// Zend\I18n\Validator\DateTime
"Invalid type given. String expected" => "Tipo di dato non valido. Era attesto un dato di tipo string",
"The input does not appear to be a valid datetime" => "L'input non sembra essere una combinazione valida di data e orario",

// Zend\I18n\Validator\Float
"Invalid type given. String, integer or float expected" => "Tipo di dato non valido. Era atteso un dato di tipo string, float o integer",
"The input does not appear to be a float" => "L'input non sembra essere un dato di tipo float",
Expand All @@ -29,6 +33,11 @@
"Invalid type given. String or integer expected" => "Tipo di dato non valido. Era atteso un dato di tipo string o integer",
"The input does not appear to be an integer" => "L'input non sembra essere un intero",

// Zend\I18n\Validator\PhoneNumber
"The input does not match a phone number format" => "L'input non corrisponde ad un formato di numero telefonico",
"The country provided is currently unsupported" => "La nazionalità fornita non è correntemente supportata",
"Invalid type given. String expected" => "Tipo di dato non valido. Era attesto un dato di tipo string",

// Zend\I18n\Validator\PostCode
"Invalid type given. String or integer expected" => "Tipo di dato non valido. Era atteso un dato di tipo string o integer",
"The input does not appear to be a postal code" => "L'input non sembra essere un codice postale",
Expand Down

0 comments on commit 92e6189

Please sign in to comment.