Zend_Validate.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Translate
  17. * @subpackage Ressource
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id:$
  21. */
  22. /**
  23. * EN-Revision: 21759
  24. */
  25. return array(
  26. // Zend_Validate_Alnum
  27. "Invalid type given, value should be float, string, or integer" => "Tipo di dato non valido: il dato dev'essere di tipo float, stringa o intero.",
  28. "'%value%' contains characters which are non alphabetic and no digits" => "'%value%' contine caratteri che non sono alfanumerici",
  29. "'%value%' is an empty string" => "'%value%' è una stringa vuota",
  30. // Zend_Validate_Alpha
  31. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  32. "'%value%' contains non alphabetic characters" => "'%value%' contiene caratteri non alfabetici",
  33. "'%value%' is an empty string" => "'%value%' è una stringa vuota",
  34. // Zend_Validate_Barcode
  35. "'%value%' failed checksum validation" => "'%value%' non ha un checksum valido",
  36. "'%value%' contains invalid characters" => "'%value%' contiene caratteri non permessi",
  37. "'%value%' should have a length of %length% characters" => "'%value%' non ha la lunghezza corretta di %length% caratteri",
  38. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  39. // Zend_Validate_Between
  40. "'%value%' is not between '%min%' and '%max%', inclusively" => "'%value%' non è compreso tra '%min%' e '%max%', inclusi",
  41. "'%value%' is not strictly between '%min%' and '%max%'" => "'%value%' non è strettamente compreso tra '%min%' e '%max%'",
  42. // Zend_Validate_Callback
  43. "'%value%' is not valid" => "'%value%' non è valido",
  44. "Failure within the callback, exception returned" => "Callback fallita, eccezione ritornata",
  45. // Zend_Validate_Ccnum
  46. "'%value%' must contain between 13 and 19 digits" => "'%value%' deve contenere tra 13 e 19 cifre",
  47. "Luhn algorithm (mod-10 checksum) failed on '%value%'" => "L'algoritmo di Luhn (checksum mod-10) è fallito su '%value%'",
  48. // Zend_Validate_CreditCard
  49. "Luhn algorithm (mod-10 checksum) failed on '%value%'" => "L'algoritmo di Luhn (checksum mod-10) è fallito su '%value%'",
  50. "'%value%' must contain only digits" => "'%value%' deve contenere solo cifre",
  51. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  52. "'%value%' contains an invalid amount of digits" => "'%value%' contiene un numero non valido di cifre",
  53. "'%value%' is not from an allowed institute" => "'%value%' proviene da un istituto non supportato",
  54. "Validation of '%value%' has been failed by the service" => "'%value%' non è stato validato dal servizio",
  55. "The service returned a failure while validating '%value%'" => "Il servizio ha ritornato validazione negativa per '%value%'",
  56. // Zend_Validate_Date
  57. "Invalid type given, value should be string, integer, array or Zend_Date" => "Tipo di dato non valido, il dato dev'essere di tipo stringa, intero, array o Zend_Date",
  58. "'%value%' does not appear to be a valid date" => "'%value%' non sembra essere una data valida",
  59. "'%value%' does not fit the date format '%format%'" => "'%value%' non corrisponde al formato data '%format%'",
  60. // Zend_Validate_Db_Abstract
  61. "No record matching '%value%' was found" => "Non è stato trovato una riga con valore %value%",
  62. "A record matching '%value%' was found" => "E' già stata trovata una riga con valore %value%",
  63. // Zend_Validate_Digits
  64. "Invalid type given, value should be float, string, or integer" => "Tipo di dato non valido: il dato dev'essere di tipo float, stringa o intero.",
  65. "'%value%' contains characters which are not digits; but only digits are allowed" => "'%value%' contiene caratteri che non sono cifre, ma solo le cifre sono ammesse",
  66. "'%value%' is an empty string" => "'%value%' è una stringa vuota",
  67. // Zend_Validate_EmailAddress
  68. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  69. "'%value%' is not a valid email address in the basic format local-part@hostname" => "'%value%' non è un indirizzo email valido nel formato base local-part@hostname",
  70. "'%hostname%' is not a valid hostname for email address '%value%'" => "'%hostname%' non è un hostname valido nell'indirizzo email '%value%'",
  71. "'%hostname%' does not appear to have a valid MX record for the email address '%value%'" => "'%hostname%' non sembra avere un record MX DNS valido nell'indirizzo email %value%'",
  72. "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network." => "'%hostname%' non è in un segmento di rete routabile. L'indirizzo email '%value%' non può essere risolto nella rete pubblica.",
  73. "'%localPart%' can not be matched against dot-atom format" => "'%localPart%' non può essere validato nel formato dot-atom",
  74. "'%localPart%' can not be matched against quoted-string format" => "'%localPart%' non può essere validato nel formato quoted-string",
  75. "'%localPart%' is not a valid local part for email address '%value%'" => "'%localPart%' non è una local part valida nell'indirizzo email '%value%'",
  76. "'%value%' exceeds the allowed length" => "'%value%' supera la lunghezza consentita",
  77. // Zend_Validate_File_Count
  78. "Too many files, maximum '%max%' are allowed but '%count%' are given" => "Troppi file, sono consentiti massimo '%max%' file ma ne sono stati passati '%count%'",
  79. "Too few files, minimum '%min%' are expected but '%count%' are given" => "Troppi pochi file, sono attesi minimo '%min%' file ma ne sono stato passati solo '%count%'",
  80. // Zend_Validate_File_Crc32
  81. "File '%value%' does not match the given crc32 hashes" => "Il file '%value%' non ha un hash crc32 tra quelli consentiti",
  82. "A crc32 hash could not be evaluated for the given file" => "L'hash crc32 non può essere calcolato per il file dato",
  83. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  84. // Zend_Validate_File_ExcludeExtension
  85. "File '%value%' has a false extension" => "Il file '%value%' ha un'estensione invalida",
  86. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  87. // Zend_Validate_File_ExcludeMimeType
  88. "File '%value%' has a false mimetype of '%type%'" => " Il file '%value%' ha un mimetype non consentito: '%type%'",
  89. "The mimetype of file '%value%' could not be detected" => "Il mimetype del file '%value%' non può essere individuato",
  90. "File '%value%' can not be read" => "Il file '%value%' non può essere letto",
  91. // Zend_Validate_File_Exists
  92. "File '%value%' does not exist" => "Il file '%value%' non esiste",
  93. // Zend_Validate_File_Extension
  94. "File '%value%' has a false extension" => "Il file '%value%' ha un'estensione invalida",
  95. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  96. // Zend_Validate_File_FilesSize
  97. "All files in sum should have a maximum size of '%max%' but '%size%' were detected" => "I file devono avere in totale una dimensione massima di '%max%' ma è stata rilevata una dimensione di '%size%'",
  98. "All files in sum should have a minimum size of '%min%' but '%size%' were detected" => "I file devono avere in totale una dimensione minima di '%min%' ma è stata rilevata una dimensione di '%size%'",
  99. "One or more files can not be read" => "Uno o più file non possono essere letti",
  100. // Zend_Validate_File_Hash
  101. "File '%value%' does not match the given hashes" => "I file '%value%' non corrisponde agli hash dati",
  102. "A hash could not be evaluated for the given file" => "Un hash non può essere valutato per il file dato",
  103. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  104. // Zend_Validate_File_ImageSize
  105. "Maximum allowed width for image '%value%' should be '%maxwidth%' but '%width%' detected" => "La larghezza massima consentita per l'immagine '%value%' è '%maxwidth%' ma è stata rilevata una larghezza di '%width%'",
  106. "Minimum expected width for image '%value%' should be '%minwidth%' but '%width%' detected" => "La larghezza minima consentita per l'immagine '%value%' è '%minwidth%' ma è stata rilevata una larghezza di '%width%'",
  107. "Maximum allowed height for image '%value%' should be '%maxheight%' but '%height%' detected" => "L'altezza massima consentita per l'immagine '%value%' è '%maxheight%' ma è stata rilevata un'altezza di '%height%'",
  108. "Minimum expected height for image '%value%' should be '%minheight%' but '%height%' detected" => "L'altezza minima consentita per l'immagine '%value%' è '%minheight%' ma è stata rilevata un'altezza di '%height%'",
  109. "The size of image '%value%' could not be detected" => "Le dimensioni dell'immagine '%value%' non possono essere rilevate",
  110. "File '%value%' can not be read" => "Il file '%value%' non può essere letto",
  111. // Zend_Validate_File_IsCompressed
  112. "File '%value%' is not compressed, '%type%' detected" => "Il file '%value%' non è un file compresso, ma un file di tipo '%type%'",
  113. "The mimetype of file '%value%' could not be detected" => "Il mimetype del file '%value%' non può essere rilevato",
  114. "File '%value%' can not be read" => "Il file '%value%' non può essere letto",
  115. // Zend_Validate_File_IsImage
  116. "File '%value%' is no image, '%type%' detected" => "Il file '%value%' non è un'immagine, ma un file di tipo '%type%'",
  117. "The mimetype of file '%value%' could not be detected" => "Il mimetype del file '%value%' non può essere rilevato",
  118. "File '%value%' can not be read" => "Il file '%value%' non può essere letto",
  119. // Zend_Validate_File_Md5
  120. "File '%value%' does not match the given md5 hashes" => "Il file '%value%' non corrisponde agli hash md5 dati",
  121. "A md5 hash could not be evaluated for the given file" => "Un hash md5 non può essere valutato per il file dato",
  122. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  123. // Zend_Validate_File_MimeType
  124. "File '%value%' has a false mimetype of '%type%'" => "Il file '%value%' ha un mimetype invalido: '%type%'",
  125. "The mimetype of file '%value%' could not be detected" => "Il mimetype del file '%value%' non può essere rilevato",
  126. "File '%value%' can not be read" => "Il file '%value%' non può essere letto",
  127. // Zend_Validate_File_NotExists
  128. "File '%value%' exists" => "Il file '%value%' esiste già",
  129. // Zend_Validate_File_Sha1
  130. "File '%value%' does not match the given sha1 hashes" => "Il file '%value%' non corrisponde agli hash sha1 dati",
  131. "A sha1 hash could not be evaluated for the given file" => "Un hash sha1 non può essere valutato per il file dato",
  132. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  133. // Zend_Validate_File_Size
  134. "Maximum allowed size for file '%value%' is '%max%' but '%size%' detected" => "La dimensione massima consentita per il file '%value%' è '%max%' ma è stata rilevata una dimensione di '%size%'",
  135. "Minimum expected size for file '%value%' is '%min%' but '%size%' detected" => "La dimensione minima consentita per il file '%value%' è '%min%' ma è stata rilevata una dimensione di '%size%'",
  136. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  137. // Zend_Validate_File_Upload
  138. "File '%value%' exceeds the defined ini size" => "Il file '%value%' eccede la dimensione definita nell'ini",
  139. "File '%value%' exceeds the defined form size" => "Il file '%value%' eccede la dimensione definita nella form",
  140. "File '%value%' was only partially uploaded" => "Il file '%value%' è stato caricato solo parzialmente",
  141. "File '%value%' was not uploaded" => "Il file '%value%' non è stato caricato",
  142. "No temporary directory was found for file '%value%'" => "Non è stata trovata una directory temporanea per il file '%value%'",
  143. "File '%value%' can't be written" => "Il file '%value%' non può essere scritto",
  144. "A PHP extension returned an error while uploading the file '%value%'" => "Un'estensione di PHP ha generato un errore durante il caricamento del file '%value%'",
  145. "File '%value%' was illegally uploaded. This could be a possible attack" => "Il file '%value%' è stato caricato irregolarmente. Potrebbe trattarsi di un attacco",
  146. "File '%value%' was not found" => "Il file '%value%' non è stato trovato",
  147. "Unknown error while uploading file '%value%'" => "Errore sconosciuto durante il caricamento del file '%value%'",
  148. // Zend_Validate_File_WordCount
  149. "Too much words, maximum '%max%' are allowed but '%count%' were counted" => "Il file contiene troppe parole, ne sono consentite massimo '%max%' ma ne sono state contate '%count%'",
  150. "Too less words, minimum '%min%' are expected but '%count%' were counted" => "Il file contiene troppe poche parole, ne sono consentite minimo '%min%' ma ne sono state contate '%count%'",
  151. "File '%value%' could not be found" => "Il file '%value%' non può essere trovato",
  152. // Zend_Validate_Float
  153. "Invalid type given, value should be float, string, or integer" => "Tipo di dato non valido: il dato dev'essere di tipo float, stringa o intero.",
  154. "'%value%' does not appear to be a float" => "'%value%' non sembra essere un dato di tipo float",
  155. // Zend_Validate_GreaterThan
  156. "'%value%' is not greater than '%min%'" => "'%value%' non è maggiore di '%min%'",
  157. // Zend_Validate_Hex
  158. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  159. "'%value%' has not only hexadecimal digit characters" => "'%value%' non è composto solo da caratteri esadecimali",
  160. // Zend_Validate_Hostname
  161. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  162. "'%value%' appears to be an IP address, but IP addresses are not allowed" => "'%value%' sembra essere un indirizzo IP, ma gli indirizzi IP non sono consentiti",
  163. "'%value%' appears to be a DNS hostname but cannot match TLD against known list" => "'%value%' sembra essere un hostname DNS ma il suo TLD è sconosciuto",
  164. "'%value%' appears to be a DNS hostname but contains a dash in an invalid position" => "'%value%' sembra essere un hostname DNS ma contiene un trattino in una posizione non valida",
  165. "'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'" => "'%value%' sembra essere un hostname DNS ma non rispetta lo schema per il TLD '%tld%'",
  166. "'%value%' appears to be a DNS hostname but cannot extract TLD part" => "'%value%' sembra essere un hostname DNS ma non è possibile estrarne il TLD",
  167. "'%value%' does not match the expected structure for a DNS hostname" => "'%value%' non sembra rispettare la struttura attesa per un hostname DNS",
  168. "'%value%' does not appear to be a valid local network name" => "'%value%' non sembra essere un local network name valido",
  169. "'%value%' appears to be a local network name but local network names are not allowed" => "'%value%' sembra essere un local network name, ma i local network names non sono consentiti",
  170. "'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded" => "'%value%' sembra essere un hostname DNS ma la notazione punycode data non può essere decodificata",
  171. // Zend_Validate_Iban
  172. "Unknown country within the IBAN '%value%'" => "Country Code sconosciuto nell'IBAN '%value%'",
  173. "'%value%' has a false IBAN format" => "'%value%' ha un formato IBAN non valido",
  174. "'%value%' has failed the IBAN check" => "'%value%' ha fallito il controllo IBAN",
  175. // Zend_Validate_Identical
  176. "The token '%token%' does not match the given token '%value%'" => "Il token '%token%' non corrisponde al token dato '%value%'",
  177. "No token was provided to match against" => "Non è stato dato nessun token per il confronto",
  178. // Zend_Validate_InArray
  179. "'%value%' was not found in the haystack" => "'%value%' non è stato trovato nell'array",
  180. // Zend_Validate_Int
  181. "Invalid type given, value should be string or integer" => "Tipo di dato non valido, il dato dev'essere una stringa o un intero",
  182. "'%value%' does not appear to be an integer" => "'%value%' non sembra essere un intero",
  183. // Zend_Validate_Ip
  184. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  185. "'%value%' does not appear to be a valid IP address" => "'%value%' non sembra essere un indirizzo IP valido",
  186. // Zend_Validate_Isbn
  187. "Invalid type given, value should be string or integer" => "Tipo di dato non valido, il dato dev'essere una stringa o un intero",
  188. "'%value%' is not a valid ISBN number" => "'%value%' non è un numero ISBN valido",
  189. // Zend_Validate_LessThan
  190. "'%value%' is not less than '%max%'" => "'%value%' non è minore di '%max%'",
  191. // Zend_Validate_NotEmpty
  192. "Invalid type given, value should be float, string, array, boolean or integer" => "Tipo di dato non valido, il dato dev'essere di tipo float, stringa, array, booleano o intero",
  193. "Value is required and can't be empty" => "Il dato è richiesto e non può essere vuoto",
  194. // Zend_Validate_PostCode
  195. "Invalid type given. The value should be a string or a integer" => "Tipo di dato non valido. Il dato dev'essere una stringa o un intero",
  196. "'%value%' does not appear to be a postal code" => "'%value%' non sembra essere un codice postale",
  197. // Zend_Validate_Regex
  198. "Invalid type given, value should be string, integer or float" => "Tipo di dato non valido: il dato dev'essere di tipo stringa, intero o float.",
  199. "'%value%' does not match against pattern '%pattern%'" => "'%value%' non corrisponde al pattern '%pattern%'",
  200. "There was an internal error while using the pattern '%pattern%'" => "Si è verificato un errore interno usando il pattern '%pattern%'",
  201. // Zend_Validate_Sitemap_Changefreq
  202. "'%value%' is not a valid sitemap changefreq" => "'%value%' non è una sitemap changefreq valida",
  203. "Invalid type given, the value should be a string" => "Invalid type given, the value should be a string",
  204. // Zend_Validate_Sitemap_Lastmod
  205. "'%value%' is not a valid sitemap lastmod" => "'%value%' non è un sitemap lastmod valido",
  206. "Invalid type given, the value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  207. // Zend_Validate_Sitemap_Loc
  208. "'%value%' is not a valid sitemap location" => "'%value%' non è una sitemap location valida",
  209. "Invalid type given, the value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  210. // Zend_Validate_Sitemap_Priority
  211. "'%value%' is not a valid sitemap priority" => "'%value%' non è una sitemap priority valida",
  212. "Invalid type given, the value should be a integer, a float or a numeric string" => "Tipo di dato non valido, il dato dev'essere di tipo intero, float o una stringa numerica",
  213. // Zend_Validate_StringLength
  214. "Invalid type given, value should be a string" => "Tipo di dato non valido, il dato dev'essere una stringa",
  215. "'%value%' is less than %min% characters long" => "'%value%' è meno lungo di %min% caratteri",
  216. "'%value%' is more than %max% characters long" => "'%value%' è più lungo di %max% caratteri",
  217. );