]> BookStack Code Mirror - bookstack/blobdiff - lang/fi/validation.php
respective book and chapter structure added.
[bookstack] / lang / fi / validation.php
index 2a676c7c4cce0130591a929cefd8a21e7765be1c..35c5f1924b20ad1d96bc39893f4b9526c8972edf 100644 (file)
 return [
 
     // Standard laravel validation lines
-    'accepted'             => 'The :attribute must be accepted.',
-    'active_url'           => 'The :attribute is not a valid URL.',
-    'after'                => 'The :attribute must be a date after :date.',
-    'alpha'                => 'The :attribute may only contain letters.',
-    'alpha_dash'           => 'The :attribute may only contain letters, numbers, dashes and underscores.',
-    'alpha_num'            => 'The :attribute may only contain letters and numbers.',
-    'array'                => 'The :attribute must be an array.',
-    'backup_codes'         => 'The provided code is not valid or has already been used.',
-    'before'               => 'The :attribute must be a date before :date.',
+    'accepted'             => ':attribute tulee hyväksyä.',
+    'active_url'           => ':attribute ei ole kelvollinen URL.',
+    'after'                => ':attribute tulee olla päiväyksen :date jälkeinen päiväys.',
+    'alpha'                => ':attribute voi sisältää vain kirjaimia.',
+    'alpha_dash'           => ':attribute voi sisältää vain kirjaimia, numeroita, yhdys- ja alaviivoja.',
+    'alpha_num'            => ':attribute voi sisältää vain kirjaimia ja numeroita.',
+    'array'                => ':attribute tulee olla taulukkomuuttuja.',
+    'backup_codes'         => 'Annettu koodi ei ole kelvollinen tai se on jo käytetty.',
+    'before'               => ':attribute päiväyksen tulee olla ennen :date.',
     'between'              => [
-        'numeric' => 'The :attribute must be between :min and :max.',
-        'file'    => 'The :attribute must be between :min and :max kilobytes.',
-        'string'  => 'The :attribute must be between :min and :max characters.',
-        'array'   => 'The :attribute must have between :min and :max items.',
+        'numeric' => ':attribute tulee olla välillä :min ja :max.',
+        'file'    => ':attribute tulee olla :min - :max kilotavua.',
+        'string'  => ':attribute tulee olla :min - :max merkkiä pitkä.',
+        'array'   => ':attribute tulee sisältää :min - :max kohdetta.',
     ],
-    'boolean'              => 'The :attribute field must be true or false.',
-    'confirmed'            => 'The :attribute confirmation does not match.',
-    'date'                 => 'The :attribute is not a valid date.',
-    'date_format'          => 'The :attribute does not match the format :format.',
-    'different'            => 'The :attribute and :other must be different.',
-    'digits'               => 'The :attribute must be :digits digits.',
-    'digits_between'       => 'The :attribute must be between :min and :max digits.',
-    'email'                => 'The :attribute must be a valid email address.',
-    'ends_with' => 'The :attribute must end with one of the following: :values',
-    'file'                 => 'The :attribute must be provided as a valid file.',
-    'filled'               => 'The :attribute field is required.',
+    'boolean'              => ':attribute tulee olla tosi tai epätosi.',
+    'confirmed'            => ':attribute vahvistus ei täsmää.',
+    'date'                 => ':attribute ei ole kelvollinen päiväys.',
+    'date_format'          => ':attribute ei täsmää muodon :format kanssa.',
+    'different'            => ':attribute ja :other tulee erota toisistaan.',
+    'digits'               => ':attribute tulee olla :digits numeroa pitkä.',
+    'digits_between'       => ':attribute tulee olla :min - :max numeroa.',
+    'email'                => ':attribute tulee olla kelvollinen sähköpostiosoite.',
+    'ends_with' => ':attribute arvon tulee päättyä johonkin seuraavista: :values',
+    'file'                 => ':attribute tulee olla kelvollinen tiedosto.',
+    'filled'               => 'Kenttä :attribute vaaditaan.',
     'gt'                   => [
-        'numeric' => 'The :attribute must be greater than :value.',
-        'file'    => 'The :attribute must be greater than :value kilobytes.',
-        'string'  => 'The :attribute must be greater than :value characters.',
-        'array'   => 'The :attribute must have more than :value items.',
+        'numeric' => ':attribute tulee olla suurempi kuin :value.',
+        'file'    => ':attribute tulee olla suurempi kuin :value kilotavua.',
+        'string'  => ':attribute tulee olla suurempi kuin :value merkkiä.',
+        'array'   => ':attribute tulee sisältää vähintään :value kohdetta.',
     ],
     'gte'                  => [
-        'numeric' => 'The :attribute must be greater than or equal :value.',
-        'file'    => 'The :attribute must be greater than or equal :value kilobytes.',
-        'string'  => 'The :attribute must be greater than or equal :value characters.',
-        'array'   => 'The :attribute must have :value items or more.',
+        'numeric' => ':attribute on oltava suurempi tai samansuuruinen kuin :value.',
+        'file'    => ':attribute on oltava suurempi tai samansuuruinen kuin :value kilotavua.',
+        'string'  => ':attribute on oltava suurempi tai samansuuruinen kuin :value merkkiä.',
+        'array'   => ':attribute tulee sisältää vähintään :value kohdetta tai enemmän.',
     ],
-    'exists'               => 'The selected :attribute is invalid.',
-    'image'                => 'The :attribute must be an image.',
-    'image_extension'      => 'The :attribute must have a valid & supported image extension.',
-    'in'                   => 'The selected :attribute is invalid.',
-    'integer'              => 'The :attribute must be an integer.',
-    'ip'                   => 'The :attribute must be a valid IP address.',
-    'ipv4'                 => 'The :attribute must be a valid IPv4 address.',
-    'ipv6'                 => 'The :attribute must be a valid IPv6 address.',
-    'json'                 => 'The :attribute must be a valid JSON string.',
+    'exists'               => 'Valittu :attribute ei ole kelvollinen.',
+    'image'                => ':attribute on oltava kuva.',
+    'image_extension'      => ':-attribute tulee sisältää kelvollisen ja tuetun kuvan tiedostopäätteen.',
+    'in'                   => 'Valittu :attribute ei ole kelvollinen.',
+    'integer'              => ':attribute tulee olla kokonaisluku.',
+    'ip'                   => ':attribute tulee olla kelvollinen IP-osoite.',
+    'ipv4'                 => ':attribute tulee olla kelvollinen IPv4-osoite.',
+    'ipv6'                 => ':attribute tulee olla kelvollinen IPv6 -osoite.',
+    'json'                 => ':attribute tulee olla kelvollinen JSON-merkkijono.',
     'lt'                   => [
-        'numeric' => 'The :attribute must be less than :value.',
-        'file'    => 'The :attribute must be less than :value kilobytes.',
-        'string'  => 'The :attribute must be less than :value characters.',
-        'array'   => 'The :attribute must have less than :value items.',
+        'numeric' => ':attribute tulee olla vähemmän kuin :value.',
+        'file'    => ':attribute tulee olla vähemmän kuin :value kilotavua.',
+        'string'  => ':attribute tulee olla vähemmän kuin :value merkkiä.',
+        'array'   => ':attribute tulee sisältää vähemmän kuin :value kohdetta.',
     ],
     'lte'                  => [
-        'numeric' => 'The :attribute must be less than or equal :value.',
-        'file'    => 'The :attribute must be less than or equal :value kilobytes.',
-        'string'  => 'The :attribute must be less than or equal :value characters.',
-        'array'   => 'The :attribute must not have more than :value items.',
+        'numeric' => ':attribute tulee olla vähemmän tai yhtä suuri kuin :value.',
+        'file'    => ':attribute tulee olla vähemmän tai yhtä suuri kuin :value kilotavua.',
+        'string'  => ':attribute tulee olla vähemmän tai yhtä suuri kuin :value merkkiä.',
+        'array'   => ':attribute ei tule sisältää enempää kuin :value kohdetta.',
     ],
     'max'                  => [
-        'numeric' => 'The :attribute may not be greater than :max.',
-        'file'    => 'The :attribute may not be greater than :max kilobytes.',
-        'string'  => 'The :attribute may not be greater than :max characters.',
-        'array'   => 'The :attribute may not have more than :max items.',
+        'numeric' => ':attribute ei saa olla suurempi kuin :max.',
+        'file'    => ':attribute ei saa olla suurempi kuin :max kilotavua.',
+        'string'  => ':attribute ei saa olla suurempi kuin :max merkkiä.',
+        'array'   => ':attribute ei saa sisältää enempää kuin :max kohdetta.',
     ],
-    'mimes'                => 'The :attribute must be a file of type: :values.',
+    'mimes'                => ':attribute tulee olla tiedosto jonka tyyppi on :values.',
     'min'                  => [
-        'numeric' => 'The :attribute must be at least :min.',
-        'file'    => 'The :attribute must be at least :min kilobytes.',
-        'string'  => 'The :attribute must be at least :min characters.',
-        'array'   => 'The :attribute must have at least :min items.',
+        'numeric' => ':attribute tulee olla vähintään :min.',
+        'file'    => ':attribute tulee olla vähintään :min kilotavua.',
+        'string'  => ':attribute tulee olla vähintään :min merkkiä.',
+        'array'   => ':attribute tulee sisältää vähintään :min kohdetta.',
     ],
-    'not_in'               => 'The selected :attribute is invalid.',
-    'not_regex'            => 'The :attribute format is invalid.',
-    'numeric'              => 'The :attribute must be a number.',
-    'regex'                => 'The :attribute format is invalid.',
-    'required'             => 'The :attribute field is required.',
-    'required_if'          => 'The :attribute field is required when :other is :value.',
-    'required_with'        => 'The :attribute field is required when :values is present.',
-    'required_with_all'    => 'The :attribute field is required when :values is present.',
-    'required_without'     => 'The :attribute field is required when :values is not present.',
-    'required_without_all' => 'The :attribute field is required when none of :values are present.',
-    'same'                 => 'The :attribute and :other must match.',
-    'safe_url'             => 'The provided link may not be safe.',
+    'not_in'               => 'Valittu :attribute ei ole kelvollinen.',
+    'not_regex'            => ':attribute muoto ei ole kelvollinen.',
+    'numeric'              => ':attribute tulee olla numero.',
+    'regex'                => ':attribute muoto ei ole kelvollinen.',
+    'required'             => 'Kenttä :attribute vaaditaan.',
+    'required_if'          => 'Kenttä :attribute vaaditaan, kun :other on :value.',
+    'required_with'        => 'Kenttä :attribute vaaditaan, kun :values on määritettynä.',
+    'required_with_all'    => 'Kenttä :attribute vaaditaan, kun kaikki näistä on määritettynä :values.',
+    'required_without'     => 'Kenttä :attribute vaaditaan, kun :values ei ole määritettynä.',
+    'required_without_all' => 'Kenttä :attribute vaaditaan, kun mikään näistä ei ole määritettynä :values.',
+    'same'                 => ':attribute ja :other tulee täsmätä.',
+    'safe_url'             => 'Annettu linkki ei ole mahdollisesti turvallinen.',
     'size'                 => [
-        'numeric' => 'The :attribute must be :size.',
-        'file'    => 'The :attribute must be :size kilobytes.',
-        'string'  => 'The :attribute must be :size characters.',
-        'array'   => 'The :attribute must contain :size items.',
+        'numeric' => ':attribute tulee olla :size.',
+        'file'    => ':attribute tulee olla :size kilotavua.',
+        'string'  => ':attribute tulee olla :size merkkiä.',
+        'array'   => ':attribute tulee sisältää :size kohdetta.',
     ],
-    'string'               => 'The :attribute must be a string.',
-    'timezone'             => 'The :attribute must be a valid zone.',
-    'totp'                 => 'The provided code is not valid or has expired.',
-    'unique'               => 'The :attribute has already been taken.',
-    'url'                  => 'The :attribute format is invalid.',
-    'uploaded'             => 'The file could not be uploaded. The server may not accept files of this size.',
+    'string'               => ':attribute tulee olla merkkijono.',
+    'timezone'             => ':attribute tulee olla kelvollinen aikavyöhyke.',
+    'totp'                 => 'Annettu koodi ei ole kelvollinen tai se on vanhentunut.',
+    'unique'               => ':attribute on jo käytössä.',
+    'url'                  => ':attribute muoto ei ole kelvollinen.',
+    'uploaded'             => 'Tiedostoa ei voitu ladata. Palvelin ei ehkä hyväksy tämän kokoisia tiedostoja.',
 
     // Custom validation lines
     'custom' => [
         'password-confirm' => [
-            'required_with' => 'Password confirmation required',
+            'required_with' => 'Salasanan vahvistus vaaditaan',
         ],
     ],