<?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'             => '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, and dashes.',
    'alpha_num'            => 'The :attribute may only contain letters and numbers.',
    'array'                => 'The :attribute must be an array.',
    'before'               => 'The :attribute must be a date before :date.',
    'between'              => [
        'numeric' => 'The :attribute ha de ser d\'entre :min and :max.',
        'file'    => 'The :attribute ha de ser d\'entre :min and :max kilobytes.',
        'string'  => 'El camp :attribute ha de ser d\'entre :min i :max caracters.',
        'array'   => 'El camp:attribute ha de tenir entre :min and :max items.',
    ],
    'boolean'              => 'El camp:attribute field must be true or false.',
    'confirmed'            => 'El camp :attribute no es igual al de confirmació.',
    'date'                 => 'El camp:attribute is not a valid date.',
    'date_format'          => 'El camp:attribute does not match the format :format.',
    'different'            => 'El camp:attribute and :other must be different.',
    'digits'               => 'El camp:attribute must be :digits digits.',
    'digits_between'       => 'El camp:attribute ha de ser d\'entre :min and :max digits.',
    'distinct'             => 'El camp:attribute field has a duplicate value.',
    'email'                => 'El camp:attribute must be a valid email address.',
    'exists'               => 'El campselected :attribute is invalid.',
    'filled'               => 'El camp:attribute field is required.',
    'image'                => 'El camp:attribute must be an image.',
    'in'                   => 'El campselected :attribute is invalid.',
    'in_array'             => 'El camp:attribute field does not exist in :other.',
    'integer'              => 'El camp:attribute must be an integer.',
    'ip'                   => 'El camp:attribute must be a valid IP address.',
    'json'                 => 'El camp:attribute must be a valid JSON string.',
    'max'                  => [
        'numeric' => 'El camp:attribute may not be greater than :max.',
        'file'    => 'El camp:attribute may not be greater than :max kilobytes.',
        'string'  => 'El camp:attribute may not be greater than :max characters.',
        'array'   => 'El camp:attribute may not have more than :max items.',
    ],
    'mimes'                => 'El camp:attribute must be a file of type: :values.',
    'min'                  => [
        'numeric' => 'El camp :attribute must be at leastha  :min.',
        'file'    => 'El camp :attribute must be at least :min kilobytes.',
        'string'  => 'El camp :attribute ha de ser de com a minim :min caracters.',
        'array'   => 'El camp :attribute must have at least :min items.',
    ],
    'not_in'               => 'El campselected :attribute is invalid.',
    'numeric'              => 'El camp:attribute must be a number.',
    'present'              => 'El camp:attribute field must be present.',
    'regex'                => 'El camp:attribute format is invalid.',
    'required'             => 'El camp :attribute és obligatori.',
    'required_if'          => 'El camp:attribute field is required when :other is :value.',
    'required_unless'      => 'El camp:attribute field is required unless :other is in :values.',
    'required_with'        => 'El camp:attribute field is required when :values is present.',
    'required_with_all'    => 'El camp:attribute field is required when :values is present.',
    'required_without'     => 'El camp:attribute field is required when :values is not present.',
    'required_without_all' => 'El camp:attribute field is required when none of :values are present.',
    'same'                 => 'El camp:attribute and :other must match.',
    'size'                 => [
        'numeric' => 'El camp:attribute must be :size.',
        'file'    => 'El camp:attribute must be :size kilobytes.',
        'string'  => 'El camp:attribute must be :size characters.',
        'array'   => 'El camp:attribute must contain :size items.',
    ],
    'string'               => 'El camp :attribute ha de ser de caracters.',
    'timezone'             => 'El camp :attribute must be a valid zone.',
    'unique'               => 'El camp :attribute ja esta en us.',
    'url'                  => 'El camp :attribute te un format incorrecte.',

    /*
    |--------------------------------------------------------------------------
    | 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' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | 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' => [],

];
