PageRenderTime 37ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/resources/languages/en/Zend_Validate.php

https://bitbucket.org/gencer/zf2
PHP | 297 lines | 175 code | 56 blank | 66 comment | 48 complexity | ad754cd138fbad00effc70424cf60eb4 MD5 | raw file
  1. <?php
  2. /**
  3. * Zend Framework (http://framework.zend.com/)
  4. *
  5. * @link http://github.com/zendframework/zf2 for the canonical source repository
  6. * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
  7. * @license http://framework.zend.com/license/new-bsd New BSD License
  8. */
  9. /**
  10. * EN-Revision: 16.Jul.2013
  11. */
  12. return array(
  13. // Zend\I18n\Validator\Alnum
  14. "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
  15. "The input contains characters which are non alphabetic and no digits" => "The input contains characters which are non alphabetic and no digits",
  16. "The input is an empty string" => "The input is an empty string",
  17. // Zend\I18n\Validator\Alpha
  18. "Invalid type given. String expected" => "Invalid type given. String expected",
  19. "The input contains non alphabetic characters" => "The input contains non alphabetic characters",
  20. "The input is an empty string" => "The input is an empty string",
  21. // Zend\I18n\Validator\DateTime
  22. "Invalid type given. String expected" => "Invalid type given. String expected",
  23. "The input does not appear to be a valid datetime" => "The input does not appear to be a valid datetime",
  24. // Zend\I18n\Validator\Float
  25. "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
  26. "The input does not appear to be a float" => "The input does not appear to be a float",
  27. // Zend\I18n\Validator\Int
  28. "Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
  29. "The input does not appear to be an integer" => "The input does not appear to be an integer",
  30. // Zend\I18n\Validator\PhoneNumber
  31. "The input does not match a phone number format" => "The input does not match a phone number format",
  32. "The country provided is currently unsupported" => "The country provided is currently unsupported",
  33. "Invalid type given. String expected" => "Invalid type given. String expected",
  34. // Zend\I18n\Validator\PostCode
  35. "Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
  36. "The input does not appear to be a postal code" => "The input does not appear to be a postal code",
  37. "An exception has been raised while validating the input" => "An exception has been raised while validating the input",
  38. // Zend\Validator\Barcode
  39. "The input failed checksum validation" => "The input failed checksum validation",
  40. "The input contains invalid characters" => "The input contains invalid characters",
  41. "The input should have a length of %length% characters" => "The input should have a length of %length% characters",
  42. "Invalid type given. String expected" => "Invalid type given. String expected",
  43. // Zend\Validator\Between
  44. "The input is not between '%min%' and '%max%', inclusively" => "The input is not between '%min%' and '%max%', inclusively",
  45. "The input is not strictly between '%min%' and '%max%'" => "The input is not strictly between '%min%' and '%max%'",
  46. // Zend\Validator\Bitwise
  47. "The input has no common bit set with '%control%'" => "The input has no common bit set with '%control%'",
  48. "The input doesn't have the same bits set as '%control%'" => "The input doesn't have the same bits set as '%control%'",
  49. "The input has common bit set with '%control%'" => "The input has common bit set with '%control%'",
  50. // Zend\Validator\Callback
  51. "The input is not valid" => "The input is not valid",
  52. "An exception has been raised within the callback" => "An exception has been raised within the callback",
  53. // Zend\Validator\CreditCard
  54. "The input seems to contain an invalid checksum" => "The input seems to contain an invalid checksum",
  55. "The input must contain only digits" => "The input must contain only digits",
  56. "Invalid type given. String expected" => "Invalid type given. String expected",
  57. "The input contains an invalid amount of digits" => "The input contains an invalid amount of digits",
  58. "The input is not from an allowed institute" => "The input is not from an allowed institute",
  59. "The input seems to be an invalid credit card number" => "The input seems to be an invalid credit card number",
  60. "An exception has been raised while validating the input" => "An exception has been raised while validating the input",
  61. // Zend\Validator\Csrf
  62. "The form submitted did not originate from the expected site" => "The form submitted did not originate from the expected site",
  63. // Zend\Validator\Date
  64. "Invalid type given. String, integer, array or DateTime expected" => "Invalid type given. String, integer, array or DateTime expected",
  65. "The input does not appear to be a valid date" => "The input does not appear to be a valid date",
  66. "The input does not fit the date format '%format%'" => "The input does not fit the date format '%format%'",
  67. // Zend\Validator\DateStep
  68. "Invalid type given. String, integer, array or DateTime expected" => "Invalid type given. String, integer, array or DateTime expected",
  69. "The input does not appear to be a valid date" => "The input does not appear to be a valid date",
  70. "The input does not fit the date format '%format%'" => "The input does not fit the date format '%format%'",
  71. "The input is not a valid step" => "The input is not a valid step",
  72. // Zend\Validator\Db\AbstractDb
  73. "No record matching the input was found" => "No record matching the input was found",
  74. "A record matching the input was found" => "A record matching the input was found",
  75. // Zend\Validator\Digits
  76. "The input must contain only digits" => "The input must contain only digits",
  77. "The input is an empty string" => "The input is an empty string",
  78. "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
  79. // Zend\Validator\EmailAddress
  80. "Invalid type given. String expected" => "Invalid type given. String expected",
  81. "The input is not a valid email address. Use the basic format local-part@hostname" => "The input is not a valid email address. Use the basic format local-part@hostname",
  82. "'%hostname%' is not a valid hostname for the email address" => "'%hostname%' is not a valid hostname for the email address",
  83. "'%hostname%' does not appear to have any valid MX or A records for the email address" => "'%hostname%' does not appear to have any valid MX or A records for the email address",
  84. "'%hostname%' is not in a routable network segment. The email address should not be resolved from public network" => "'%hostname%' is not in a routable network segment. The email address should not be resolved from public network",
  85. "'%localPart%' can not be matched against dot-atom format" => "'%localPart%' can not be matched against dot-atom format",
  86. "'%localPart%' can not be matched against quoted-string format" => "'%localPart%' can not be matched against quoted-string format",
  87. "'%localPart%' is not a valid local part for the email address" => "'%localPart%' is not a valid local part for the email address",
  88. "The input exceeds the allowed length" => "The input exceeds the allowed length",
  89. // Zend\Validator\Explode
  90. "Invalid type given" => "Invalid type given",
  91. // Zend\Validator\File\Count
  92. "Too many files, maximum '%max%' are allowed but '%count%' are given" => "Too many files, maximum '%max%' are allowed but '%count%' are given",
  93. "Too few files, minimum '%min%' are expected but '%count%' are given" => "Too few files, minimum '%min%' are expected but '%count%' are given",
  94. // Zend\Validator\File\Crc32
  95. "File does not match the given crc32 hashes" => "File does not match the given crc32 hashes",
  96. "A crc32 hash could not be evaluated for the given file" => "A crc32 hash could not be evaluated for the given file",
  97. "File is not readable or does not exist" => "File is not readable or does not exist",
  98. // Zend\Validator\File\ExcludeExtension
  99. "File has an incorrect extension" => "File has an incorrect extension",
  100. "File is not readable or does not exist" => "File is not readable or does not exist",
  101. // Zend\Validator\File\Exists
  102. "File does not exist" => "File does not exist",
  103. // Zend\Validator\File\Extension
  104. "File has an incorrect extension" => "File has an incorrect extension",
  105. "File is not readable or does not exist" => "File is not readable or does not exist",
  106. // Zend\Validator\File\FilesSize
  107. "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",
  108. "All files in sum should have a minimum size of '%min%' but '%size%' were detected" => "All files in sum should have a minimum size of '%min%' but '%size%' were detected",
  109. "One or more files can not be read" => "One or more files can not be read",
  110. // Zend\Validator\File\Hash
  111. "File does not match the given hashes" => "File does not match the given hashes",
  112. "A hash could not be evaluated for the given file" => "A hash could not be evaluated for the given file",
  113. "File is not readable or does not exist" => "File is not readable or does not exist",
  114. // Zend\Validator\File\ImageSize
  115. "Maximum allowed width for image should be '%maxwidth%' but '%width%' detected" => "Maximum allowed width for image should be '%maxwidth%' but '%width%' detected",
  116. "Minimum expected width for image should be '%minwidth%' but '%width%' detected" => "Minimum expected width for image should be '%minwidth%' but '%width%' detected",
  117. "Maximum allowed height for image should be '%maxheight%' but '%height%' detected" => "Maximum allowed height for image should be '%maxheight%' but '%height%' detected",
  118. "Minimum expected height for image should be '%minheight%' but '%height%' detected" => "Minimum expected height for image should be '%minheight%' but '%height%' detected",
  119. "The size of image could not be detected" => "The size of image could not be detected",
  120. "File is not readable or does not exist" => "File is not readable or does not exist",
  121. // Zend\Validator\File\IsCompressed
  122. "File is not compressed, '%type%' detected" => "File is not compressed, '%type%' detected",
  123. "The mimetype could not be detected from the file" => "The mimetype could not be detected from the file",
  124. "File is not readable or does not exist" => "File is not readable or does not exist",
  125. // Zend\Validator\File\IsImage
  126. "File is no image, '%type%' detected" => "File is no image, '%type%' detected",
  127. "The mimetype could not be detected from the file" => "The mimetype could not be detected from the file",
  128. "File is not readable or does not exist" => "File is not readable or does not exist",
  129. // Zend\Validator\File\Md5
  130. "File does not match the given md5 hashes" => "File does not match the given md5 hashes",
  131. "An md5 hash could not be evaluated for the given file" => "An md5 hash could not be evaluated for the given file",
  132. "File is not readable or does not exist" => "File is not readable or does not exist",
  133. // Zend\Validator\File\MimeType
  134. "File has an incorrect mimetype of '%type%'" => "File has an incorrect mimetype of '%type%'",
  135. "The mimetype could not be detected from the file" => "The mimetype could not be detected from the file",
  136. "File is not readable or does not exist" => "File is not readable or does not exist",
  137. // Zend\Validator\File\NotExists
  138. "File exists" => "File exists",
  139. // Zend\Validator\File\Sha1
  140. "File does not match the given sha1 hashes" => "File does not match the given sha1 hashes",
  141. "A sha1 hash could not be evaluated for the given file" => "A sha1 hash could not be evaluated for the given file",
  142. "File is not readable or does not exist" => "File is not readable or does not exist",
  143. // Zend\Validator\File\Size
  144. "Maximum allowed size for file is '%max%' but '%size%' detected" => "Maximum allowed size for file is '%max%' but '%size%' detected",
  145. "Minimum expected size for file is '%min%' but '%size%' detected" => "Minimum expected size for file is '%min%' but '%size%' detected",
  146. "File is not readable or does not exist" => "File is not readable or does not exist",
  147. // Zend\Validator\File\Upload
  148. "File '%value%' exceeds the defined ini size" => "File '%value%' exceeds the defined ini size",
  149. "File '%value%' exceeds the defined form size" => "File '%value%' exceeds the defined form size",
  150. "File '%value%' was only partially uploaded" => "File '%value%' was only partially uploaded",
  151. "File '%value%' was not uploaded" => "File '%value%' was not uploaded",
  152. "No temporary directory was found for file '%value%'" => "No temporary directory was found for file '%value%'",
  153. "File '%value%' can't be written" => "File '%value%' can't be written",
  154. "A PHP extension returned an error while uploading the file '%value%'" => "A PHP extension returned an error while uploading the file '%value%'",
  155. "File '%value%' was illegally uploaded. This could be a possible attack" => "File '%value%' was illegally uploaded. This could be a possible attack",
  156. "File '%value%' was not found" => "File '%value%' was not found",
  157. "Unknown error while uploading file '%value%'" => "Unknown error while uploading file '%value%'",
  158. // Zend\Validator\File\UploadFile
  159. "File exceeds the defined ini size" => "File exceeds the defined ini size",
  160. "File exceeds the defined form size" => "File exceeds the defined form size",
  161. "File was only partially uploaded" => "File was only partially uploaded",
  162. "File was not uploaded" => "File was not uploaded",
  163. "No temporary directory was found for file" => "No temporary directory was found for file",
  164. "File can't be written" => "File can't be written",
  165. "A PHP extension returned an error while uploading the file" => "A PHP extension returned an error while uploading the file",
  166. "File was illegally uploaded. This could be a possible attack" => "File was illegally uploaded. This could be a possible attack",
  167. "File was not found" => "File was not found",
  168. "Unknown error while uploading file" => "Unknown error while uploading file",
  169. // Zend\Validator\File\WordCount
  170. "Too many words, maximum '%max%' are allowed but '%count%' were counted" => "Too many words, maximum '%max%' are allowed but '%count%' were counted",
  171. "Too few words, minimum '%min%' are expected but '%count%' were counted" => "Too few words, minimum '%min%' are expected but '%count%' were counted",
  172. "File is not readable or does not exist" => "File is not readable or does not exist",
  173. // Zend\Validator\GreaterThan
  174. "The input is not greater than '%min%'" => "The input is not greater than '%min%'",
  175. "The input is not greater or equal than '%min%'" => "The input is not greater or equal than '%min%'",
  176. // Zend\Validator\Hex
  177. "Invalid type given. String expected" => "Invalid type given. String expected",
  178. "The input contains non-hexadecimal characters" => "The input contains non-hexadecimal characters",
  179. // Zend\Validator\Hostname
  180. "The input appears to be a DNS hostname but the given punycode notation cannot be decoded" => "The input appears to be a DNS hostname but the given punycode notation cannot be decoded",
  181. "Invalid type given. String expected" => "Invalid type given. String expected",
  182. "The input appears to be a DNS hostname but contains a dash in an invalid position" => "The input appears to be a DNS hostname but contains a dash in an invalid position",
  183. "The input does not match the expected structure for a DNS hostname" => "The input does not match the expected structure for a DNS hostname",
  184. "The input appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'" => "The input appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'",
  185. "The input does not appear to be a valid local network name" => "The input does not appear to be a valid local network name",
  186. "The input does not appear to be a valid URI hostname" => "The input does not appear to be a valid URI hostname",
  187. "The input appears to be an IP address, but IP addresses are not allowed" => "The input appears to be an IP address, but IP addresses are not allowed",
  188. "The input appears to be a local network name but local network names are not allowed" => "The input appears to be a local network name but local network names are not allowed",
  189. "The input appears to be a DNS hostname but cannot extract TLD part" => "The input appears to be a DNS hostname but cannot extract TLD part",
  190. "The input appears to be a DNS hostname but cannot match TLD against known list" => "The input appears to be a DNS hostname but cannot match TLD against known list",
  191. // Zend\Validator\Iban
  192. "Unknown country within the IBAN" => "Unknown country within the IBAN",
  193. "Countries outside the Single Euro Payments Area (SEPA) are not supported" => "Countries outside the Single Euro Payments Area (SEPA) are not supported",
  194. "The input has a false IBAN format" => "The input has a false IBAN format",
  195. "The input has failed the IBAN check" => "The input has failed the IBAN check",
  196. // Zend\Validator\Identical
  197. "The two given tokens do not match" => "The two given tokens do not match",
  198. "No token was provided to match against" => "No token was provided to match against",
  199. // Zend\Validator\InArray
  200. "The input was not found in the haystack" => "The input was not found in the haystack",
  201. // Zend\Validator\Ip
  202. "Invalid type given. String expected" => "Invalid type given. String expected",
  203. "The input does not appear to be a valid IP address" => "The input does not appear to be a valid IP address",
  204. // Zend\Validator\IsInstanceOf
  205. "The input is not an instance of '%className%'" => "The input is not an instance of '%className%'",
  206. // Zend\Validator\Isbn
  207. "Invalid type given. String or integer expected" => "Invalid type given. String or integer expected",
  208. "The input is not a valid ISBN number" => "The input is not a valid ISBN number",
  209. // Zend\Validator\LessThan
  210. "The input is not less than '%max%'" => "The input is not less than '%max%'",
  211. "The input is not less or equal than '%max%'" => "The input is not less or equal than '%max%'",
  212. // Zend\Validator\NotEmpty
  213. "Value is required and can't be empty" => "Value is required and can't be empty",
  214. "Invalid type given. String, integer, float, boolean or array expected" => "Invalid type given. String, integer, float, boolean or array expected",
  215. // Zend\Validator\Regex
  216. "Invalid type given. String, integer or float expected" => "Invalid type given. String, integer or float expected",
  217. "The input does not match against pattern '%pattern%'" => "The input does not match against pattern '%pattern%'",
  218. "There was an internal error while using the pattern '%pattern%'" => "There was an internal error while using the pattern '%pattern%'",
  219. // Zend\Validator\Sitemap\Changefreq
  220. "The input is not a valid sitemap changefreq" => "The input is not a valid sitemap changefreq",
  221. "Invalid type given. String expected" => "Invalid type given. String expected",
  222. // Zend\Validator\Sitemap\Lastmod
  223. "The input is not a valid sitemap lastmod" => "The input is not a valid sitemap lastmod",
  224. "Invalid type given. String expected" => "Invalid type given. String expected",
  225. // Zend\Validator\Sitemap\Loc
  226. "The input is not a valid sitemap location" => "The input is not a valid sitemap location",
  227. "Invalid type given. String expected" => "Invalid type given. String expected",
  228. // Zend\Validator\Sitemap\Priority
  229. "The input is not a valid sitemap priority" => "The input is not a valid sitemap priority",
  230. "Invalid type given. Numeric string, integer or float expected" => "Invalid type given. Numeric string, integer or float expected",
  231. // Zend\Validator\Step
  232. "Invalid value given. Scalar expected" => "Invalid value given. Scalar expected",
  233. "The input is not a valid step" => "The input is not a valid step",
  234. // Zend\Validator\StringLength
  235. "Invalid type given. String expected" => "Invalid type given. String expected",
  236. "The input is less than %min% characters long" => "The input is less than %min% characters long",
  237. "The input is more than %max% characters long" => "The input is more than %max% characters long",
  238. // Zend\Validator\Uri
  239. "Invalid type given. String expected" => "Invalid type given. String expected",
  240. "The input does not appear to be a valid Uri" => "The input does not appear to be a valid Uri",
  241. );