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. * EN-Revision: 22075
  24. */
  25. return array(
  26. // Zend_Validate_Alnum
  27. "Invalid type given. String, integer or float expected" => "Epäkelpo syöte. Pitäisi olla liukuluku, merkkijono tai kokonaisluku",
  28. "'%value%' contains characters which are non alphabetic and no digits" => "'%value%' on virheelinen, ainoastaan aakkoset ja numerot ovat sallittuja",
  29. "'%value%' is an empty string" => "'%value%' on tyhjä merkkijono",
  30. // Zend_Validate_Alpha
  31. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  32. "'%value%' contains non alphabetic characters" => "'%value%' on virheellinen, ainoastaan aakkoset ovat sallittuja",
  33. "'%value%' is an empty string" => "'%value%' on tyhjä merkkijono",
  34. // Zend_Validate_Barcode
  35. "'%value%' failed checksum validation" => "Syötteen '%value%' tarkistusluvun vahvistus epäonnistui",
  36. "'%value%' contains invalid characters" => "'%value%' sisältää epäkelpoja merkkejä",
  37. "'%value%' should have a length of %length% characters" => "'%value%' pitäisi olla %length% merkkiä pitkä",
  38. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  39. // Zend_Validate_Between
  40. "'%value%' is not between '%min%' and '%max%', inclusively" => "'%value%' ei ole luku väliltä %min%-%max%",
  41. "'%value%' is not strictly between '%min%' and '%max%'" => "'%value%' ei ole luku väliltä %min%-%max%, poislukien ylä- ja alarajat",
  42. // Zend_Validate_Callback
  43. "'%value%' is not valid" => "'%value%' on epäkelpo",
  44. "An exception has been raised within the callback" => "Odottamaton virhe, callback-validaattori palautti poikkeuksen",
  45. // Zend_Validate_Ccnum
  46. "'%value%' must contain between 13 and 19 digits" => "'%value%' pitää olla luku väliltä 13-19",
  47. "Luhn algorithm (mod-10 checksum) failed on '%value%'" => "Luhn-algoritmin (mod 10) suoritus syötteelle '%value%' epäonnistui",
  48. // Zend_Validate_CreditCard
  49. "'%value%' seems to contain an invalid checksum" => "Syötteen '%value%' tarkistusluku on viallinen",
  50. "'%value%' must contain only digits" => "'%value%' saa sisältää ainoastaan numeroita",
  51. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  52. "'%value%' contains an invalid amount of digits" => "'%value%' sisältää väärän määrän numeroita",
  53. "'%value%' is not from an allowed institute" => "'%value%' ei ole sallitun luottolaitoksen alkuosa",
  54. "'%value%' seems to be an invalid creditcard number" => "Luottokortin numero '%value%' tulkittiin virheelliseksi",
  55. "An exception has been raised while validating '%value%'" => "Kortin '%value%' varmennus epäonnistui, palvelu palautti virheen",
  56. // Zend_Validate_Date
  57. "Invalid type given. String, integer, array or Zend_Date expected" => "Epäkelpo syöte. Pitäisi olla merkkijono, kokonaisluku, taulukko tai Zend_Date",
  58. "'%value%' does not appear to be a valid date" => "'%value%' ei ole kelvollinen päivä",
  59. "'%value%' does not fit the date format '%format%'" => "'%value%' ei ole muotoa '%format%'",
  60. // Zend_Validate_Db_Abstract
  61. "No record matching '%value%' was found" => "Rekisteristä ei löytynyt arvoa, joka vastaisi syötettä '%value%'",
  62. "A record matching '%value%' was found" => "Rekisteristä löytyi syötettä '%value%' vastaava arvo",
  63. // Zend_Validate_Digits
  64. "Invalid type given. String, integer or float expected" => "Epäkelpo syöte. Pitäisi olla merkkijono, kokonaisluku tai liukuluku",
  65. "'%value%' must contain only digits" => "'%value%' on virheellinen, ainoastaan numerot ovat sallittuja",
  66. "'%value%' is an empty string" => "'%value%' on tyhjä merkkijono",
  67. // Zend_Validate_EmailAddress
  68. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  69. "'%value%' is not a valid email address in the basic format local-part@hostname" => "'%value%' on virheellinen sähköpostiosoite, ei vastaa muotoa paikallisosa@alue",
  70. "'%hostname%' is not a valid hostname for email address '%value%'" => "'%hostname%' on virheellinen verkkotunnus osoitteelle '%value%'",
  71. "'%hostname%' does not appear to have a valid MX record for the email address '%value%'" => "Osoitteen '%value%' verkkotunnukselle '%hostname%' ei löydy MX-tietuetta",
  72. "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network" => "'%hostname%' ei ole reititettävän verkon osa. Sähköpostiosoitetta '%value%' ei pitäisi selvittää julkisesta verkosta.",
  73. "'%localPart%' can not be matched against dot-atom format" => "Virheellinen paikallisosa, '%localPart%' ei ole verrattavissa dot-atom -muotoon",
  74. "'%localPart%' can not be matched against quoted-string format" => "Virheellinen paikallisosa, '%localPart%' ei ole verrattavissa quoted-string -muotoon",
  75. "'%localPart%' is not a valid local part for email address '%value%'" => "Sähköpostiosoitteen '%value%' paikallisosa '%localPart%' on virheellinen",
  76. "'%value%' exceeds the allowed length" => "Osoite '%value%' on liian pitkä",
  77. // Zend_Validate_File_Count
  78. "Too many files, maximum '%max%' are allowed but '%count%' are given" => "Virheellinen määrä tiedostoja, maksimimäärä on '%max%', vastaanotettiin '%count%'",
  79. "Too few files, minimum '%min%' are expected but '%count%' are given" => "Virheellinen määrä tiedostoja, minimimäärä on '%min%', vastaanotettiin '%count%'",
  80. // Zend_Validate_File_Crc32
  81. "File '%value%' does not match the given crc32 hashes" => "Tiedoston '%value%' crc32-tarkistusluku ei vastaa annettua",
  82. "A crc32 hash could not be evaluated for the given file" => "Tarkistuslukua crc32 ei pystytty määrittämään vastaanotetulle tiedostolle",
  83. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  84. // Zend_Validate_File_ExcludeExtension
  85. "File '%value%' has a false extension" => "Tiedostolla '%value%' on virheellinen pääte",
  86. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  87. // Zend_Validate_File_ExcludeMimeType
  88. "File '%value%' has a false mimetype of '%type%'" => "Tiedoston '%value%' MIME-tyyppi '%type%' on virheellinen",
  89. "The mimetype of file '%value%' could not be detected" => "Tiedoston '%value%' MIME-tyyppiä ei pystytty todentamaan",
  90. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  91. // Zend_Validate_File_Exists
  92. "File '%value%' does not exist" => "Tiedostoa '%value%' ei ole olemassa",
  93. // Zend_Validate_File_Extension
  94. "File '%value%' has a false extension" => "Tiedostolla '%value%' on virheellinen pääte",
  95. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  96. // Zend_Validate_File_FilesSize
  97. "All files in sum should have a maximum size of '%max%' but '%size%' were detected" => "Kaikkien tiedostojen yhteenlaskettu koko saa olla maksimissaan '%max%', vastaanotettiin '%size%'",
  98. "All files in sum should have a minimum size of '%min%' but '%size%' were detected" => "Kaikkien tiedostojen yhteenlaskettu koko pitää olla vähintään '%min%', vastaanotettiin '%size%'",
  99. "One or more files can not be read" => "Yhtä tai useampaa tiedostoa ei voida lukea",
  100. // Zend_Validate_File_Hash
  101. "File '%value%' does not match the given hashes" => "Tiedoston '%value%' tarkastusluku ei vastaa annettua",
  102. "A hash could not be evaluated for the given file" => "Tarkistuslukua ei pystytty määrittämään vastaanotetulle tiedostolle",
  103. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  104. // Zend_Validate_File_ImageSize
  105. "Maximum allowed width for image '%value%' should be '%maxwidth%' but '%width%' detected" => "Kuvan '%value%' maksimileveys on '%maxwidth%', annettu '%width%'",
  106. "Minimum expected width for image '%value%' should be '%minwidth%' but '%width%' detected" => "Kuvan '%value%' minimileveys on '%minwidth%', annettu '%width%'",
  107. "Maximum allowed height for image '%value%' should be '%maxheight%' but '%height%' detected" => "Kuvan '%value%' maksimikorkeus on '%maxheight%', annettu '%height%'",
  108. "Minimum expected height for image '%value%' should be '%minheight%' but '%height%' detected" => "Kuvan '%value%' minimikorkeus on '%minheight%', annettu '%height%'",
  109. "The size of image '%value%' could not be detected" => "Kuvan '%value%' kokoa ei voida todentaa",
  110. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  111. // Zend_Validate_File_IsCompressed
  112. "File '%value%' is not compressed, '%type%' detected" => "Tiedosto '%value%' ei ole pakattu, vastaanotettiin tyyppiä '%type%'",
  113. "The mimetype of file '%value%' could not be detected" => "Tiedoston '%value%' MIME-tyyppiä ei pystytty todentamaan",
  114. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  115. // Zend_Validate_File_IsImage
  116. "File '%value%' is no image, '%type%' detected" => "Tiedosto '%value%' ei ole kuvatiedosto, vastaanotettiin tyyppiä '%type%'",
  117. "The mimetype of file '%value%' could not be detected" => "Tiedoston '%value%' MIME-tyyppiä ei pystytty todentamaan",
  118. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  119. // Zend_Validate_File_Md5
  120. "File '%value%' does not match the given md5 hashes" => "Tiedoston '%value%' tarkistusluku ei vastaa annettua (md5)",
  121. "A md5 hash could not be evaluated for the given file" => "Tiedostolle ei voitu määrittää md5-tarkistuslukua",
  122. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  123. // Zend_Validate_File_MimeType
  124. "File '%value%' has a false mimetype of '%type%'" => "Tiedoston '%value%' MIME-tyyppi '%type%' on virheellinen",
  125. "The mimetype of file '%value%' could not be detected" => "Tiedoston '%value%' MIME-tyyppiä ei pystytty todentamaan",
  126. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  127. // Zend_Validate_File_NotExists
  128. "File '%value%' exists" => "Tiedostoa '%value%' ei ole olemassa",
  129. // Zend_Validate_File_Sha1
  130. "File '%value%' does not match the given sha1 hashes" => "Tiedoston '%value%' tarkistusluku ei vastaa annettua (sha1)",
  131. "A sha1 hash could not be evaluated for the given file" => "Tiedostolle ei voitu määrittää sha1-tarkistuslukua",
  132. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  133. // Zend_Validate_File_Size
  134. "Maximum allowed size for file '%value%' is '%max%' but '%size%' detected" => "Tiedoston '%value%' maksimikoko on '%max%', vastaanotettu '%size%'",
  135. "Minimum expected size for file '%value%' is '%min%' but '%size%' detected" => "Tiedoston '%value%' minimikoko on '%min%', vastaanotettu '%size%'",
  136. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voidea lukea tai sitä ei ole",
  137. // Zend_Validate_File_Upload
  138. "File '%value%' exceeds the defined ini size" => "Tiedosto '%value%' ylittää ini-tiedostossa määritellyn tiedostokoon",
  139. "File '%value%' exceeds the defined form size" => "Tiedosto '%value%' ylittää lomakkeessa määritellyn tiedostokoon",
  140. "File '%value%' was only partially uploaded" => "Tiedosto '%value%' vastaanotettiin ainoastaan osittain",
  141. "File '%value%' was not uploaded" => "Tiedostoa '%value%' ei lähetetty",
  142. "No temporary directory was found for file '%value%'" => "Väliaikaishakemistoa ei löytynyt tiedostolle '%value%'",
  143. "File '%value%' can't be written" => "Tiedostoon '%value%' ei voida kirjoittaa",
  144. "A PHP extension returned an error while uploading the file '%value%'" => "PHP:n lisäosa palautti virheen kesken tiedoston '%value%' lähetyksen",
  145. "File '%value%' was illegally uploaded. This could be a possible attack" => "Tiedoston '%value%' lähetyksessä haivattu laittomuus, mahdollinen hyökkäys",
  146. "File '%value%' was not found" => "Tiedostoa '%value%' ei löydy",
  147. "Unknown error while uploading file '%value%'" => "Tiedoston '%value%' lähetyksessä tapahtui tunnistamaton virhe",
  148. // Zend_Validate_File_WordCount
  149. "Too much words, maximum '%max%' are allowed but '%count%' were counted" => "Virheellinen määrä sanoja, maksimäärä on '%max%', annettu '%count%'",
  150. "Too less words, minimum '%min%' are expected but '%count%' were counted" => "Virheellinen määrä sanoja, minimimäärä on '%min%', annettu '%count%'",
  151. "File '%value%' is not readable or does not exist" => "Tiedostoa '%value%' ei voida lukea tai sitä ei ole",
  152. // Zend_Validate_Float
  153. "Invalid type given. String, integer or float expected" => "Epäkelpo syöte. Pitäisi olla liukuluku, merkkijono tai kokonaisluku",
  154. "'%value%' does not appear to be a float" => "'%value%' ei ole liukuluku",
  155. // Zend_Validate_GreaterThan
  156. "'%value%' is not greater than '%min%'" => "'%value%' ei ole suurempi kuin '%min%'",
  157. // Zend_Validate_Hex
  158. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  159. "'%value%' has not only hexadecimal digit characters" => "'%value%' voi sisältää ainoastaan heksadeslimaalin muotoisia merkkejä",
  160. // Zend_Validate_Hostname
  161. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  162. "'%value%' appears to be an IP address, but IP addresses are not allowed" => "'%value%' näyttäisi olevan ip-osoite eikä verkkotunnus",
  163. "'%value%' appears to be a DNS hostname but cannot match TLD against known list" => "'%value%' verkkotunnuksen TLD-osa ei ole tunnettu",
  164. "'%value%' appears to be a DNS hostname but contains a dash in an invalid position" => "'%value%' näyttäisi olevan käypä verkkotunnus, mutta sisältää viivan väärässä paikassa",
  165. "'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'" => "'%value%' näyttäisi olevan käypä verkkotunnus, mutta sen TLD-osa '%tld%' on virheellinen",
  166. "'%value%' appears to be a DNS hostname but cannot extract TLD part" => "'%value%' verkkotunnuksen TLD-osaa ei pystytty erottamaan",
  167. "'%value%' does not match the expected structure for a DNS hostname" => "Verkkotunnus '%value%' on jäsennykseltään virheellinen",
  168. "'%value%' does not appear to be a valid local network name" => "'%value%' on epäkelpo paikallisverkkon tunnus",
  169. "'%value%' appears to be a local network name but local network names are not allowed" => "'%value%' tulkittiin paikallisverkon tunnukseksi, jotka eivät ole sallittuja",
  170. "'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded" => "Verkkotunnuksen '%value%' punycode-koodauksen purku epäonnistui",
  171. // Zend_Validate_Iban
  172. "Unknown country within the IBAN '%value%'" => "Maata ei pystytty tunnistamaan IBAN-koodista '%value%'",
  173. "'%value%' has a false IBAN format" => "'%value%' on väärän muotoinen IBAN-koodi",
  174. "'%value%' has failed the IBAN check" => "'%value%' IBAN-koodin tarkastus epäonnistui",
  175. // Zend_Validate_Identical
  176. "The two given tokens do not match" => "Annetut kaksi arvoa eivät täsmää",
  177. "No token was provided to match against" => "Toinen arvoista puuttuu",
  178. // Zend_Validate_InArray
  179. "'%value%' was not found in the haystack" => "'%value%' ei löydy sallittujen syötteiden joukosta",
  180. // Zend_Validate_Int
  181. "Invalid type given. String or integer expected" => "Epäkelpo syöte. Pitäisi olla merkkijono tai kokonaisluku",
  182. "'%value%' does not appear to be an integer" => "'%value%' ei ole kokonaisluku",
  183. // Zend_Validate_Ip
  184. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  185. "'%value%' does not appear to be a valid IP address" => "'%value%' ei ole käypä IP-osoite",
  186. // Zend_Validate_Isbn
  187. "Invalid type given. String or integer expected" => "Epäkelpo syöte. Pitäisi olla merkkijono tai kokonaisluku",
  188. "'%value%' is not a valid ISBN number" => "'%value%' ei ole käypä ISBN-numero",
  189. // Zend_Validate_LessThan
  190. "'%value%' is not less than '%max%'" => "'%value%' ei ole pienempi kuin '%max%'",
  191. // Zend_Validate_NotEmpty
  192. "Invalid type given. String, integer, float, boolean or array expected" => "Epäkelpo syöte. Pitäisi olla kokonaisluku, liukuluku, boolean tai taulukko",
  193. "Value is required and can't be empty" => "Kenttä ei voi olla tyhjä",
  194. // Zend_Validate_PostCode
  195. "Invalid type given. String or integer expected" => "Epäkelpo syöte. Pitäisi olla merkkijono tai kokonaisluku",
  196. "'%value%' does not appear to be a postal code" => "'%value%' ei ole käypä postiosoite",
  197. // Zend_Validate_Regex
  198. "Invalid type given. String, integer or float expected" => "Epäkelpo syöte. Pitäisi olla merkkijono, kokonaisluku tai liukuluku",
  199. "'%value%' does not match against pattern '%pattern%'" => "'%value%' ei ole muotoa '%pattern%'",
  200. "There was an internal error while using the pattern '%pattern%'" => "Sisäinen virhe käytettäessa muotoa '%pattern%'",
  201. // Zend_Validate_Sitemap_Changefreq
  202. "'%value%' is not a valid sitemap changefreq" => "'%value%' ei ole käypä sivukartan muutosnopeus",
  203. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  204. // Zend_Validate_Sitemap_Lastmod
  205. "'%value%' is not a valid sitemap lastmod" => "'%value%' ei ole käypä arvo sivukartan viimeksimuokatuksi arvoksi",
  206. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  207. // Zend_Validate_Sitemap_Loc
  208. "'%value%' is not a valid sitemap location" => "'%value%' ei ole käypä sivukartan sijainti",
  209. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  210. // Zend_Validate_Sitemap_Priority
  211. "'%value%' is not a valid sitemap priority" => "'%value%' ei ole käypä sivukartan prioriteetti",
  212. "Invalid type given. Numeric string, integer or float expected" => "Epäkelpo syöte. Pitäisi olla kokonaisluku tai liukuluku",
  213. // Zend_Validate_StringLength
  214. "Invalid type given. String expected" => "Epäkelpo syöte. Pitäisi olla merkkijono",
  215. "'%value%' is less than %min% characters long" => "'%value%' on lyhyempi kuin vaaditut %min% merkkiä",
  216. "'%value%' is more than %max% characters long" => "'%value%' on pidempi kuin sallitut %max% merkkiä",
  217. );