124 lines
		
	
	
		
			7.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			124 lines
		
	
	
		
			7.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
| 
 | |
|     /*
 | |
|     |--------------------------------------------------------------------------
 | |
|     | Validation Language Lines
 | |
|     |--------------------------------------------------------------------------
 | |
|     |
 | |
|     | The following language lines contain the default error messages used by
 | |
|     | the validator class. Some of these rules have multiple versions such
 | |
|     | as the size rules. Feel free to tweak each of these messages here.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     'accepted'             => 'Kenttä :attribute tulee hyväksyä.',
 | |
|     'active_url'           => 'Kentän :attribute tulee olla validi URL-osoite.',
 | |
|     'after'                => 'Kentän :attribute päiväyksen tulee olla jälkeen :date.',
 | |
|     'after_or_equal'       => 'Kentän :attribute päiväyksen tulee olla sama ja jälkeen :date',
 | |
|     'alpha'                => 'Kenttä :attribute voi sisältää vain kirjaimia.',
 | |
|     'alpha_dash'           => 'Kenttä :attribute voi sisältää vain kirjaimia, numeroita ja viivoja.',
 | |
|     'alpha_num'            => 'Kenttä :attribute voi sisältää vain kirjaimia ja numeroita.',
 | |
|     'array'                => 'Kenttä :attribute tulee olla taulukko.',
 | |
|     'before'               => 'Kentän :attribute päiväyksen tulee olla ennen :date.',
 | |
|     'before_or_equal'      => 'Kentän :attribute päiväyksen tulee olla sama tai ennen kuin :date.',
 | |
|     'between'              => [
 | |
|         'numeric' => 'Kentän :attribute tulee olla välillä :min - :max.',
 | |
|         'file'    => 'Tiedoston :attribute tulee olla :min - :max kilotavua.',
 | |
|         'string'  => 'Kentän :attribute tulee olla :min - :max merkkiä pitkä.',
 | |
|         'array'   => 'Kentän :attribute tulee sisältää välillä :min - :max arvoa.',
 | |
|     ],
 | |
|     'boolean'              => 'Kentän :attribute arvon tulee olla tosi tai epätosi.',
 | |
|     'confirmed'            => 'Kentän :attribute vahvistus ei täsmää.',
 | |
|     'date'                 => 'Kentän :attribute arvo ei ole kelvollinen päivämäärä.',
 | |
|     'date_format'          => 'Kentän :attribute arvo ei vastaa muotoa :format.',
 | |
|     'different'            => 'Kenttien :attribute ja :other tulee olla eriarvoisia.',
 | |
|     'digits'               => 'Kentän :attribute arvon on oltava :digits numeroa.',
 | |
|     'digits_between'       => 'Kentän :attribute arvon tulee olla :min - :max numeroa.',
 | |
|     'dimensions'           => 'Kentän :attribute kuvalla on virheelliset mitat.',
 | |
|     'distinct'             => 'Kentän :attribute arvo on duplikaatti.',
 | |
|     'email'                => 'Kentän :attribute arvo ei ole validi sähköpostiosoite.',
 | |
|     'ends_with'            => 'Kentän :attribute arvon tulee päättyä johonkin seuraavista: :values',
 | |
|     'exists'               => 'Kentän :attribute valittu arvo on virheellinen.',
 | |
|     'file'                 => 'Kentän :attribute arvon tulee olla tiedosto.',
 | |
|     'filled'               => 'Kenttä :attribute on pakollinen.',
 | |
|     'image'                => 'Kentän :attribute arvon tulee olla kuva.',
 | |
|     'in'                   => 'Kentän :attribute arvo on virheellinen.',
 | |
|     'in_array'             => 'Kentän :attribute arvo ei sisälly kentän :other arvoon.',
 | |
|     'integer'              => 'Kentän :attribute arvon tulee olla numero.',
 | |
|     'ip'                   => 'Kentän :attribute arvon tulee olla validi IP-osoite.',
 | |
|     'json'                 => 'Kentän :attribute arvon tulee olla validia JSON:ia.',
 | |
|     'max'                  => [
 | |
|         'numeric' => 'Kentän arvon :attribute tulee olla enintään :max.',
 | |
|         'file'    => 'Tiedoston :attribute tulee olla enintään :max kilobittiä.',
 | |
|         'string'  => 'Kentän :attribute arvon tulee olla enintään :max merkkiä pitkä.',
 | |
|         'array'   => 'Kentän :attribute ei tule sisältää enempää kuin :max arvoa.',
 | |
|     ],
 | |
|     'mimes'                => 'Kentän :attribute arvon tulee olla tiedostotyyppiä: :values.',
 | |
|     'mimetypes'            => 'Kentän :attribute arvon tulee olla tiedostotyyppiä: :values.',
 | |
|     'min'                  => [
 | |
|         'numeric' => 'Kentän :attribute arvon tulee olla vähintään :min.',
 | |
|         'file'    => 'Tiedoston :attribute tulee olla vähintään :min kilobittiä.',
 | |
|         'string'  => 'Kentän :attribute arvon tulee olla vähintään :min merkkiä.',
 | |
|         'array'   => 'Kentän :attribute tulee sisältää vähintään :min arvoa.',
 | |
|     ],
 | |
|     'not_in'               => 'Kentän :attribute arvo on virheellinen.',
 | |
|     'numeric'              => 'Kentän :attribute arvon tulee olla numero.',
 | |
|     'present'              => 'Kenttä :attribute vaaditaan.',
 | |
|     'regex'                => 'Kentän :attribute arvo on väärää muotoa.',
 | |
|     'required'             => 'Kenttä :attribute vaaditaan.',
 | |
|     'required_if'          => 'Kenttä :attribute vaaditaan kun :other on :value.',
 | |
|     'required_unless'      => 'Kenttä :attribute vaaditaan jos :other ei sisälly arvoihin :values.',
 | |
|     'required_with'        => 'Kenttä :attribute vaaditaan kun arvo :values on annettu.',
 | |
|     'required_with_all'    => 'Kenttä :attribute vaaditaan kun arvo :values on annettu.',
 | |
|     'required_without'     => 'Kenttä :attribute vaaditaan kun arvoa :values ei ole annettu.',
 | |
|     'required_without_all' => 'Kenttä :attribute vaaditaan kun mitään arvoista :values ei ole annettu.',
 | |
|     'same'                 => 'Kenttien :attribute ja :other on oltava samanarvoiset.',
 | |
|     'size'                 => [
 | |
|         'numeric' => 'Kentän :attribute arvon tulee olla kokoa :size.',
 | |
|         'file'    => 'Tiedoston :attribute tulee olla kokoa :size kilobittiä.',
 | |
|         'string'  => 'Kentän :attribute arvon tulee olla kokoa :size merkkiä.',
 | |
|         'array'   => 'Kentän :attribute tulee sisältää :size arvoa.',
 | |
|     ],
 | |
|     'string'               => 'Kentän :attribute arvon tulee olla tekstiä.',
 | |
|     'timezone'             => 'Kentän :attribute arvon tulee olla validi aikavyöhyketunniste.',
 | |
|     'unique'               => 'Kentän :attribute arvo ei ole uniikki.',
 | |
|     'uploaded'             => 'Tiedoston :attribute lataus epäonnistui.',
 | |
|     'url'                  => 'Kentän :attribute arvon tulee olla validi URL-osoite.',
 | |
| 
 | |
|     /*
 | |
|     |--------------------------------------------------------------------------
 | |
|     | Custom Validation Language Lines
 | |
|     |--------------------------------------------------------------------------
 | |
|     |
 | |
|     | Here you may specify custom validation messages for attributes using the
 | |
|     | convention "attribute.rule" to name the lines. This makes it quick to
 | |
|     | specify a specific custom language line for a given attribute rule.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     'custom' => [
 | |
|         'attribute-name' => [
 | |
|             'rule-name'             => 'kohandatud-teade',
 | |
|         ],
 | |
|         'invalid_currency'      => 'Kentän :attribute koodi on virheellinen.',
 | |
|         'invalid_amount'        => 'Määrä :attribute on virheellinen.',
 | |
|         'invalid_extension'     => 'Tiedostotunniste on virheellinen.',
 | |
|     ],
 | |
| 
 | |
|     /*
 | |
|     |--------------------------------------------------------------------------
 | |
|     | Custom Validation Attributes
 | |
|     |--------------------------------------------------------------------------
 | |
|     |
 | |
|     | The following language lines are used to swap attribute place-holders
 | |
|     | with something more reader friendly such as E-Mail Address instead
 | |
|     | of "email". This simply helps us make messages a little cleaner.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     'attributes' => [],
 | |
| 
 | |
| ];
 |