Zend_Validate.php 19 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. * SK-Revision: 22668
  24. */
  25. return array(
  26. // Zend_Validate_Alnum
  27. "Invalid type given. String, integer or float expected" => "Chybný typ. Bol očakávaný reťazec, celé alebo desatinné číslo",
  28. "'%value%' contains characters which are non alphabetic and no digits" => "'%value%' obsahuje aj iné znaky ako písmena a číslice",
  29. "'%value%' is an empty string" => "'%value%' je prázdny reťazec",
  30. // Zend_Validate_Alpha
  31. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  32. "'%value%' contains non alphabetic characters" => "'%value%' obsahuje aj iné znaky ako písmena",
  33. "'%value%' is an empty string" => "'%value%' je prázdny reťazec",
  34. // Zend_Validate_Barcode
  35. "'%value%' failed checksum validation" => "'%value%' má chybný kontrolný súčet",
  36. "'%value%' contains invalid characters" => "'%value%' obsahuje neplatné znaky",
  37. "'%value%' should have a length of %length% characters" => "'%value%' by mal mať dĺžku %length% znakov",
  38. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec.",
  39. // Zend_Validate_Between
  40. "'%value%' is not between '%min%' and '%max%', inclusively" => "'%value%' nie je medzi '%min%' a '%max%', vrátane",
  41. "'%value%' is not strictly between '%min%' and '%max%'" => "'%value%' nie je medzi '%min%' a '%max%'",
  42. // Zend_Validate_Callback
  43. "'%value%' is not valid" => "Hodnota '%value%' je neplatná",
  44. "An exception has been raised within the callback" => "Počas validácie došlo chybe",
  45. // Zend_Validate_Ccnum
  46. "'%value%' must contain between 13 and 19 digits" => "'%value%' musí obsahovať 13 až 19 číslic",
  47. "Luhn algorithm (mod-10 checksum) failed on '%value%'" => "Luhnov algoritmus (kontrolný súčet mod-10) nevyšiel pre '%value%'",
  48. // Zend_Validate_CreditCard
  49. "'%value%' seems to contain an invalid checksum" => "'%value%' obsahuje neplatný kontrolný súčet",
  50. "'%value%' must contain only digits" => "'%value%' musí obsahovať len čísla",
  51. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  52. "'%value%' contains an invalid amount of digits" => "'%value%' obsahuje neplatný počet číslic",
  53. "'%value%' is not from an allowed institute" => "'%value%' je od nepovolenej spoločnosti",
  54. "'%value%' seems to be an invalid creditcard number" => "'%value%' je neplatné číslo kreditnej karty",
  55. "An exception has been raised while validating '%value%'" => "Počas validácie '%value%' došlo k chybe",
  56. // Zend_Validate_Date
  57. "Invalid type given. String, integer, array or Zend_Date expected" => "Chybný typ. Bol očakávaný reťazec, číslo, pole alebo objekt typu Zend_Date",
  58. "'%value%' does not appear to be a valid date" => "'%value%' je neplatný dátum",
  59. "'%value%' does not fit the date format '%format%'" => "'%value%' nie je formátu '%format%'",
  60. // Zend_Validate_Db_Abstract
  61. "No record matching '%value%' was found" => "Nebol nájdený žiadny záznam zhodný s '%value%'",
  62. "A record matching '%value%' was found" => "Bol nájdený záznam zhodný s '%value%'",
  63. // Zend_Validate_Digits
  64. "Invalid type given. String, integer or float expected" => "Chybný typ. Bol očakávaný reťazec, celé alebo desatinné číslo",
  65. "'%value%' must contain only digits" => "'%value%' musí obsahovať iba číslice",
  66. "'%value%' is an empty string" => "'%value%' je prázdny reťazec",
  67. // Zend_Validate_EmailAddress
  68. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  69. "'%value%' is not a valid email address in the basic format local-part@hostname" => "'%value%' nie je platná e-mailová adresa v tvare local-part@hostname",
  70. "'%hostname%' is not a valid hostname for email address '%value%'" => "'%hostname%' je neplatný hostname pre emailovou adresu '%value%'",
  71. "'%hostname%' does not appear to have a valid MX record for the email address '%value%'" => "'%hostname%' neobsahuje platný MX záznam pre e-mailovou adresu '%value%'",
  72. "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network" => "'%hostname%' nie je v smerovateľnom úseku siete. E-mailová adresa '%value%' by nemala byť požadovaná z verejnej siete",
  73. "'%localPart%' can not be matched against dot-atom format" => "'%localPart%' nemôže byť porovnaný proti dot-atom formátu",
  74. "'%localPart%' can not be matched against quoted-string format" => "'%localPart%' nemôže byť porovnaný proti quoted-string formátu",
  75. "'%localPart%' is not a valid local part for email address '%value%'" => "'%localPart%' je neplatná 'local part' pre e-mailovou adresu '%value%'",
  76. "'%value%' exceeds the allowed length" => "'%value%' prekročil dovolenú dĺžku",
  77. // Zend_Validate_File_Count
  78. "Too many files, maximum '%max%' are allowed but '%count%' are given" => "Príliš veľa súborov. Maximum je '%max%', ale bolo zadaných '%count%'",
  79. "Too few files, minimum '%min%' are expected but '%count%' are given" => "Píliš málo súborov. Minimum je '%min%', ale bolo zadaných len '%count%'",
  80. // Zend_Validate_File_Crc32
  81. "File '%value%' does not match the given crc32 hashes" => "Súbor '%value%' nezodpovedá zadanému crc32 hashu",
  82. "A crc32 hash could not be evaluated for the given file" => "Pre zadaný súbor nemohol byť vypočítaný crc32 hash",
  83. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  84. // Zend_Validate_File_ExcludeExtension
  85. "File '%value%' has a false extension" => "Súbor '%value%' má nesprávnu príponu",
  86. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  87. // Zend_Validate_File_ExcludeMimeType
  88. "File '%value%' has a false mimetype of '%type%'" => "Súbor '%value%' má nesprávny mimetyp '%type%'",
  89. "The mimetype of file '%value%' could not be detected" => "Mimetyp súboru '%value%' nebolo možne zistiť",
  90. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  91. // Zend_Validate_File_Exists
  92. "File '%value%' does not exist" => "Súbor '%value%' neexistuje",
  93. // Zend_Validate_File_Extension
  94. "File '%value%' has a false extension" => "Súbor '%value%' má nesprávnu príponu",
  95. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  96. // Zend_Validate_File_FilesSize
  97. "All files in sum should have a maximum size of '%max%' but '%size%' were detected" => "Súčet veľkostí všetkých súborov by mal byť maximálne '%max%', ale je '%size%'",
  98. "All files in sum should have a minimum size of '%min%' but '%size%' were detected" => "Súčet veľkosti všetkých súborov by mal byť minimálne '%min%', ale je '%size%'",
  99. "One or more files can not be read" => "Jeden alebo viac súborov nie je možné načítať",
  100. // Zend_Validate_File_Hash
  101. "File '%value%' does not match the given hashes" => "Súbor '%value%' neodpovedá danému hashu",
  102. "A hash could not be evaluated for the given file" => "Hash nemohol byť pre daný súbor vypočítaný",
  103. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  104. // Zend_Validate_File_ImageSize
  105. "Maximum allowed width for image '%value%' should be '%maxwidth%' but '%width%' detected" => "Maximálna šírka obrázka '%value%' by mala byť '%maxwidth%', ale je '%width%'",
  106. "Minimum expected width for image '%value%' should be '%minwidth%' but '%width%' detected" => "Minimálna šírka obrázka '%value%' by mala byť '%minwidth%', ale je '%width%'",
  107. "Maximum allowed height for image '%value%' should be '%maxheight%' but '%height%' detected" => "Maximálna výška obrázka '%value%' by mala byť '%maxheight%', ale je '%height%'",
  108. "Minimum expected height for image '%value%' should be '%minheight%' but '%height%' detected" => "Minimálna výška obrázka '%value%' by mala byť '%minheight%', ale je '%height%'",
  109. "The size of image '%value%' could not be detected" => "Rozmery obrázka '%value%' nebolo možné zistiť",
  110. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  111. // Zend_Validate_File_IsCompressed
  112. "File '%value%' is not compressed, '%type%' detected" => "Súbor '%value%' nie je komprimovaný, typ súboru '%type%' bol zistený",
  113. "The mimetype of file '%value%' could not be detected" => "Mimetyp súboru '%value%' nebolo možné zistiť",
  114. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  115. // Zend_Validate_File_IsImage
  116. "File '%value%' is no image, '%type%' detected" => "Súbor '%value%' nie je obrázok, typ súboru '%type%' bol zistený",
  117. "The mimetype of file '%value%' could not be detected" => "Mimetyp súboru '%value%' nebolo možné zistiť",
  118. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  119. // Zend_Validate_File_Md5
  120. "File '%value%' does not match the given md5 hashes" => "Súbor '%value%' neodpovedá danému md5 hashu",
  121. "A md5 hash could not be evaluated for the given file" => "md5 hash nemohol byť pre daný súbor vypočítaný",
  122. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  123. // Zend_Validate_File_MimeType
  124. "File '%value%' has a false mimetype of '%type%'" => "Súbor '%value%' má neplatný mimetyp '%type%'",
  125. "The mimetype of file '%value%' could not be detected" => "Mimetyp súboru '%value%' nebolo možne zistiť",
  126. "File '%value%' is not readable or does not exist" => "Soubor '%value%' je nečitateľný alebo neexistuje",
  127. // Zend_Validate_File_NotExists
  128. "File '%value%' exists" => "Súbor '%value%' už existuje",
  129. // Zend_Validate_File_Sha1
  130. "File '%value%' does not match the given sha1 hashes" => "Súbor '%value%' neodpovedá danému sha1 hashu",
  131. "A sha1 hash could not be evaluated for the given file" => "sha1 hash nemohol byť pre daný súbor vypočítaný",
  132. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  133. // Zend_Validate_File_Size
  134. "Maximum allowed size for file '%value%' is '%max%' but '%size%' detected" => "Maximálna povolená veľkosť súboru je '%max%', ale '%value%' má '%size%'",
  135. "Minimum expected size for file '%value%' is '%min%' but '%size%' detected" => "Minimálna veľkosť súboru je '%min%', ale '%value%' má '%size%'",
  136. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  137. // Zend_Validate_File_Upload
  138. "File '%value%' exceeds the defined ini size" => "Súbor '%value%' prekročil veľkosť definovanú v ini súbore",
  139. "File '%value%' exceeds the defined form size" => "Súbor '%value%' prekročil veľkosť definovanú vo formulári",
  140. "File '%value%' was only partially uploaded" => "Súbor '%value%' bol nahraný len čiastočne",
  141. "File '%value%' was not uploaded" => "Súbor '%value%' nebol nahraný",
  142. "No temporary directory was found for file '%value%'" => "Pre súbor '%value%' nebol nájdený žiadny dočasný adresár",
  143. "File '%value%' can't be written" => "Súbor '%value%' nemôže byť zapísaný",
  144. "A PHP extension returned an error while uploading the file '%value%'" => "PHP rozšírenie vrátilo chybu počas nahrávania súboru '%value%'",
  145. "File '%value%' was illegally uploaded. This could be a possible attack" => "Súbor '%value%' bol nahraný neoprávnene. Môže sa jednať o útok",
  146. "File '%value%' was not found" => "Súbor '%value%' nebol nalezený",
  147. "Unknown error while uploading file '%value%'" => "Počas nahrávania súboru '%value%' došlo k chybe",
  148. // Zend_Validate_File_WordCount
  149. "Too much words, maximum '%max%' are allowed but '%count%' were counted" => "Príliš mnoho slov. Je ich dovolené maximálne '%max%', ale bolo zadaných '%count%'",
  150. "Too less words, minimum '%min%' are expected but '%count%' were counted" => "Príliš málo slov. Musí ich byť minimálne '%min%', ale bolo zadaných len '%count%'",
  151. "File '%value%' is not readable or does not exist" => "Súbor '%value%' je nečitateľný alebo neexistuje",
  152. // Zend_Validate_Float
  153. "Invalid type given. String, integer or float expected" => "Chybný typ. Bol očakávaný reťazec, celé alebo desatinné číslo",
  154. "'%value%' does not appear to be a float" => "'%value%' nie je desatinné číslo",
  155. // Zend_Validate_GreaterThan
  156. "'%value%' is not greater than '%min%'" => "'%value%' nie je viac ako '%min%'",
  157. // Zend_Validate_Hex
  158. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  159. "'%value%' has not only hexadecimal digit characters" => "'%value%' musí obsahovať len znaky hexadecimálnych čísel.",
  160. // Zend_Validate_Hostname
  161. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  162. "'%value%' appears to be an IP address, but IP addresses are not allowed" => "'%value%' vyzerá ako IP adresa, ale tie nie sú dovolené",
  163. "'%value%' appears to be a DNS hostname but cannot match TLD against known list" => "'%value%' vyzerá ako hostname, ale nemohol byť overený proti známym TLD",
  164. "'%value%' appears to be a DNS hostname but contains a dash in an invalid position" => "'%value%' vyzerá ako hostname, ale obsahuje pomlčku na nepovolenom mieste",
  165. "'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'" => "'%value%' vyzerá ako hostname, ale neodpovedá formátu hostname pre '%tld%'",
  166. "'%value%' appears to be a DNS hostname but cannot extract TLD part" => "'%value%' síce vyzerá ako hostname, ale nebolo možné určiť TLD",
  167. "'%value%' does not match the expected structure for a DNS hostname" => "'%value%' nezodpovedá očakávanej štruktúre hostname",
  168. "'%value%' does not appear to be a valid local network name" => "'%value%' nevyzerá ako platné sieťové meno",
  169. "'%value%' appears to be a local network name but local network names are not allowed" => "'%value%' vyzerá ako hostname lokálnej siete, tie ale nie sú dovolené",
  170. "'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded" => "'%value%' vyzerá ako DNS hostname ale zadanú punycode notáciu nie je možné dekódovať",
  171. // Zend_Validate_Iban
  172. "Unknown country within the IBAN '%value%'" => "Neznámy štát v IBAN '%value%'",
  173. "'%value%' has a false IBAN format" => "'%value%' je neplatný formát IBAN",
  174. "'%value%' has failed the IBAN check" => "'%value%' neprešiel kontrolou IBAN",
  175. // Zend_Validate_Identical
  176. "The two given tokens do not match" => "Zadané položky sú rozdielne",
  177. "No token was provided to match against" => "Nebola zadaná položka na porovnanie",
  178. // Zend_Validate_InArray
  179. "'%value%' was not found in the haystack" => "'%value%' nebola nájdená v zozname",
  180. // Zend_Validate_Int
  181. "Invalid type given. String or integer expected" => "Chybný typ. Bol očakávaný reťazec alebo celé číslo",
  182. "'%value%' does not appear to be an integer" => "'%value%' nie je celé číslo",
  183. // Zend_Validate_Ip
  184. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  185. "'%value%' does not appear to be a valid IP address" => "'%value%' je neplatná IP adresa",
  186. // Zend_Validate_Isbn
  187. "Invalid type given. String or integer expected" => "Chybný typ. Bol očakávaný reťazec alebo celé číslo",
  188. "'%value%' is not a valid ISBN number" => "'%value%' je neplatný ISBN",
  189. // Zend_Validate_LessThan
  190. "'%value%' is not less than '%max%'" => "'%value%' nie je menej ako '%max%'",
  191. // Zend_Validate_NotEmpty
  192. "Invalid type given. String, integer, float, boolean or array expected" => "Chybný typ. Bol očakávaný reťazec, celé alebo desatinné číslo, boolean alebo pole",
  193. "Value is required and can't be empty" => "Položka je povinná a nemôže byť prázdna",
  194. // Zend_Validate_PostCode
  195. "Invalid type given. String or integer expected" => "Chybný typ. Bol očakávaný reťazec alebo celé číslo",
  196. "'%value%' does not appear to be a postal code" => "'%value%' nevyzerá ako PSČ",
  197. // Zend_Validate_Regex
  198. "Invalid type given. String, integer or float expected" => "Chybný typ. Bol očakávaný reťazec, celé alebo desatinné číslo",
  199. "'%value%' does not match against pattern '%pattern%'" => "'%value%' neodpovedá šablóne '%pattern%'",
  200. "There was an internal error while using the pattern '%pattern%'" => "Počas spracovania šablóny '%pattern%' došlo k interní chybe",
  201. // Zend_Validate_Sitemap_Changefreq
  202. "'%value%' is not a valid sitemap changefreq" => "'%value%' je neplatný 'changefreq' pre sitemapu",
  203. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  204. // Zend_Validate_Sitemap_Lastmod
  205. "'%value%' is not a valid sitemap lastmod" => "'%value%' je neplatný 'lastmod' pre sitemapu",
  206. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  207. // Zend_Validate_Sitemap_Loc
  208. "'%value%' is not a valid sitemap location" => "'%value%' je neplatný 'location' pre sitemapu",
  209. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  210. // Zend_Validate_Sitemap_Priority
  211. "'%value%' is not a valid sitemap priority" => "'%value%' je neplatná 'priority' pre sitemapu",
  212. "Invalid type given. Numeric string, integer or float expected" => "Chybný typ. Bol očakávaný číselný reťazec, celé alebo desatinné číslo.",
  213. // Zend_Validate_StringLength
  214. "Invalid type given. String expected" => "Chybný typ. Bol očakávaný reťazec",
  215. "'%value%' is less than %min% characters long" => "'%value%' ma menej ako %min% znakov",
  216. "'%value%' is more than %max% characters long" => "'%value%' ma viac ako %max% znakov",
  217. );