PHP Classes

File: modules/system/lang/rs/validation.php

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/system/lang/rs/validation.php   Download  
File: modules/system/lang/rs/validation.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 1 year ago
Size: 7,363 bytes
 

 

Contents

Class file image Download
<?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'             => 'Polje :attribute mora biti prihva?eno.',
    'active_url'           => 'Polje :attribute mora sadr?ati validan URL.',
    'after'                => 'Polje :attribute mora sadr?ati datum koji je posle slede?eg: :date.',
    'after_or_equal'       => 'Polje :attribute mora sadr?ati datum koji je posle slede?eg ili: :date.',
    'alpha'                => 'Polje :attribute mora sadr?ati samo slova.',
    'alpha_dash'           => 'Polje :attribute mo?e sadr?ati samo slova, brojeve, i povlake',
    'alpha_num'            => 'Polje :attribute mo?e sadr?ati samo slova ili brojeve.',
    'array'                => 'Polje :attribute mora sadr?ati niz.',
    'before'               => 'Polje :attribute mora sadr?ati datum koji je pre slede?eg: :date.',
    'before_or_equal'      => 'Polje :attribute mora sadr?ati datum koji je pre slede?eg ili: :date.',
    'between'              => [
        'numeric' => 'Polje :attribute mora sadr?ati broj izme?u :min i :max.',
        'file'    => 'Polje :attribute mora sadr?ati fajl veli?ine izme?u :min i :max kilobajta.',
        'string'  => 'Polje :attribute mora sadr?ati tekst du?ine izme?u :min i :max karaktera.',
        'array'   => 'Polje :attribute mora imati izme?u :min i :max elemenata.',
    ],
    'boolean'              => 'Polje :attribute mora imati vrednost ta?no ili neta?no.',
    'confirmed'            => 'Potvrda :attribute nije u odgovaraju?em formatu.',
    'date'                 => 'Polje :attribute ne sadr?i validan datum.',
    'date_format'          => 'Polje :attribute ne sadr?i datum u odgovaraju?em formatu :format.',
    'different'            => 'Polja :attribute i :other moraju imati razli?ite vrednosti.',
    'digits'               => 'Polje :attribute mora sadr?ati :digits cifre.',
    'digits_between'       => 'Polje :attribute mora sadr?ati izme?u :min i :max cifre.',
    'dimensions'           => 'Polje :attribute ne sadr?i validne dimenzije.',
    'distinct'             => 'Polje :attribute sadr?i vrednost koja je duplikat.',
    'email'                => 'Polje :attribute mora sadr?ati validnu email adresu.',
    'exists'               => 'Polje :attribute nema validnu vrednost.',
    'file'                 => 'Polje :attribute mora sadr?ati fajl.',
    'filled'               => 'Polje :attribute mora imati vrednost.',
    'image'                => 'Polje :attribute mora sadr?ati sliku.',
    'in'                   => 'Polje :attribute nema validnu vrednost.',
    'in_array'             => 'Polje :attribute ne sadr?i vrednost koja postoji u polju :other.',
    'integer'              => 'Polje :attribute mora sadr?ati ceo broj.',
    'ip'                   => 'Polje :attribute mora sadr?ati validnu IP adresu.',
    'ipv4'                 => 'Polje :attribute mora sadr?ati validnu IPv4 adresu.',
    'ipv6'                 => 'Polje :attribute mora sadr?ati validnu IPv6 adresu.',
    'json'                 => 'Polje :attribute mora sadr?ati validan JSON objekat.',
    'max'                  => [
        'numeric' => 'Polje :attribute ne sme sadr?ati broj ve?i od :max.',
        'file'    => 'Polje :attribute ne sme sadr?ati fajl ve?i od :max kilobajta.',
        'string'  => 'Polje :attribute ne sme sadr?ati tekst du?i od :max karaktera.',
        'array'   => 'Polje :attribute ne sme imati vi?e od :max elemenata.',
    ],
    'mimes'                => 'Polje :attribute mora sadr?ati fajl tipa: :values.',
    'mimetypes'            => 'Polje :attribute mora sadr?ati fajl jednog od slede?ih tipova: :values.',
    'min'                  => [
        'numeric' => 'Polje :attribute ne sme sadr?ati broj manji od :min.',
        'file'    => 'Polje :attribute ne sme sadr?ati fajl manji od :min kilobajta.',
        'string'  => 'Polje :attribute ne sme sadr?ati tekst manji od :min karaktera.',
        'array'   => 'Polje :attribute ne sme imati manje od :min elemenata.',
    ],
    'not_in'               => 'Polje :attribute nema validnu vrednost.',
    'numeric'              => 'Polje :attribute mora sadr?ati broj.',
    'present'              => 'Polje :attribute mora biti prisutno.',
    'regex'                => 'Format polja :attribute nije validan.',
    'required'             => 'Polje :attribute je obavezno.',
    'required_if'          => 'Polje :attribute je obavezno kada :other ima vrednost :value.',
    'required_unless'      => 'Polje :attribute je obavezno kada vrednost polja :other nije deo :values.',
    'required_with'        => 'Polje :attribute je obavezno kada su vrednosti :values prisutne.',
    'required_with_all'    => 'Polje :attribute je obavezno kada su vrednosti :values prisutne.',
    'required_without'     => 'Polje :attribute je obavezno kada vrednosti :values nisu prisutne.',
    'required_without_all' => 'Polje :attribute je obavezno kada nijedna od vrednosti :values nije prisutna.',
    'same'                 => 'Polja :attribute i :other moraju imati iste vrednosti.',
    'size'                 => [
        'numeric' => 'Polje :attribute mora sadr?ati broj :size.',
        'file'    => 'Polje :attribute mora sadr?ati fajl od :size kilobajta.',
        'string'  => 'Polje :attribute mora sadr?ati tekst od :size karaktera.',
        'array'   => 'Polje :attribute mora imati :size elemenata.',
    ],
    'string'               => 'Polje :attribute mora sadr?ati tekst.',
    'timezone'             => 'Polje :attribute mora sadr?ati validnu vremensku zonu.',
    'unique'               => 'Polje :attribute mora biti jedinstveno.',
    'uploaded'             => 'Otpremanje fajla iz polja :attribute je neuspe?no.',
    'url'                  => 'Format polja :attribute nije validan.',

    /*
    |--------------------------------------------------------------------------
    | 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' => 'uobi?ajena-poruka',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | 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' => [
        'name' => 'ime',
        'password' => 'lozinka',
        'user' => 'korisnik',
    ],

];