193 lines
11 KiB
PHP
193 lines
11 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' => ':attribute deve essere accettato.',
|
|
'accepted_if' => 'Il campo :attribute deve essere accettato quando :other è :value.',
|
|
'active_url' => 'Il campo :attribute deve essere un URL valido.',
|
|
'after' => ':attribute deve essere una data successiva al :date.',
|
|
'after_or_equal' => ':attribute deve essere una data successiva o uguale al :date.',
|
|
'alpha' => 'Il campo :attribute deve contenere solo lettere.',
|
|
'alpha_dash' => 'Il campo :attribute deve contenere solo lettere, numeri, trattini e trattini bassi.',
|
|
'alpha_num' => 'Il campo :attribute deve contenere solo lettere e numeri.',
|
|
'array' => ':attribute deve essere un array.',
|
|
'ascii' => ':attribute deve contenere solo caratteri alfanumerici single-byte e simboli.',
|
|
'before' => 'Il campo :attribute deve essere una data precedente il :date.',
|
|
'before_or_equal' => ':attribute deve essere una data precedente o uguale al :date.',
|
|
'between' => [
|
|
'array' => ':attribute deve avere tra :min - :max elementi.',
|
|
'file' => 'Il campo :attribute deve essere tra :min e :max kilobyte.',
|
|
'numeric' => 'Il campo :attribute deve essere compreso tra :min e :max.',
|
|
'string' => 'Il campo :attribute deve essere compreso tra :min e :max caratteri.',
|
|
],
|
|
'boolean' => ':attribute deve essere vero o falso.',
|
|
'can' => 'Il campo :attribute contiene un valore non autorizzato.',
|
|
'confirmed' => 'La conferma del campo :attribute non corrisponde.',
|
|
'current_password' => 'La password è sbagliata.',
|
|
'date' => 'Il campo :attribute deve essere una data valida.',
|
|
'date_equals' => 'Il campo :attribute deve essere una data uguale a :date.',
|
|
'date_format' => 'Il campo :attribute deve corrispondere al formato :format.',
|
|
'decimal' => ':attribute deve avere :decimal cifre decimali.',
|
|
'declined' => 'Il campo :attribute deve essere rifiutato.',
|
|
'declined_if' => 'Il campo :attribute deve essere rifiutato quando :other è :value.',
|
|
'different' => ':attribute e :other devono essere differenti.',
|
|
'digits' => 'Il campo :attribute deve contenere :digits numeri.',
|
|
'digits_between' => 'Il campo :attribute deve essere compreso tra :min e :max cifre.',
|
|
'dimensions' => 'Le dimensioni dell\'immagine di :attribute non sono valide.',
|
|
'distinct' => 'Il campo :attribute ha un valore duplicato.',
|
|
'doesnt_end_with' => ':attribute non può terminare con uno dei seguenti valori: :values.',
|
|
'doesnt_start_with' => 'Il campo :attribute non deve iniziare con uno dei seguenti: :values.',
|
|
'email' => 'Il campo :attribute deve essere un indirizzo email valido.',
|
|
'ends_with' => 'Il campo :attribute deve terminare con uno dei seguenti: :values.',
|
|
'enum' => 'Il :attribute scelto non è valido.',
|
|
'exists' => 'Il :attribute scelto non è valido.',
|
|
'extensions' => 'Il campo :attribute deve avere una delle seguenti estensioni: :values.',
|
|
'file' => 'Il campo :attribute deve essere un file.',
|
|
'filled' => 'Il campo :attribute deve contenere un valore.',
|
|
'gt' => [
|
|
'array' => ':attribute deve contenere più di :value elementi.',
|
|
'file' => ':attribute deve essere maggiore di :value kilobyte.',
|
|
'numeric' => 'Il campo :attribute deve essere maggiore di :value.',
|
|
'string' => ':attribute deve contenere più di :value caratteri.',
|
|
],
|
|
'gte' => [
|
|
'array' => 'Il campo :attribute deve contenere elementi :value o più.',
|
|
'file' => 'Il campo :attribute deve essere maggiore o uguale a :value kilobytes.',
|
|
'numeric' => 'Il campo :attribute deve essere maggiore o uguale a :value.',
|
|
'string' => 'Il campo :attribute deve essere maggiore o uguale ai caratteri :value.',
|
|
],
|
|
'hex_color' => 'Il campo :attribute deve essere un colore esadecimale valido.',
|
|
'image' => 'Il campo :attribute deve essere un\'immagine.',
|
|
'in' => 'Il :attribute scelto non è valido.',
|
|
'in_array' => 'Il valore del campo :attribute non esiste in :other.',
|
|
'integer' => 'Il campo :attribute deve essere un numero intero.',
|
|
'ip' => 'Il campo :attribute deve essere un indirizzo IP valido.',
|
|
'ipv4' => 'Il campo :attribute deve essere un indirizzo IPv4 valido.',
|
|
'ipv6' => 'Il campo :attribute deve essere un indirizzo IPv6 valido.',
|
|
'json' => 'Il campo :attribute deve essere una stringa JSON valida.',
|
|
'list' => 'Il campo :attribute deve essere una lista.',
|
|
'lowercase' => 'Il campo :attribute deve essere minuscolo.',
|
|
'lt' => [
|
|
'array' => ':attribute deve contenere meno di :value elementi.',
|
|
'file' => ':attribute deve essere minore di :value kilobyte.',
|
|
'numeric' => ':attribute deve essere minore di :value.',
|
|
'string' => 'Il campo :attribute deve contenere meno di :value caratteri.',
|
|
],
|
|
'lte' => [
|
|
'array' => ':attribute deve contenere un numero di elementi minore o uguale a :value.',
|
|
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
|
|
'numeric' => ':attribute deve essere minore o uguale a :value.',
|
|
'string' => 'The :attribute must be less than or equal to :value characters.',
|
|
],
|
|
'mac_address' => 'Il campo :attribute deve essere un indirizzo MAC valido.',
|
|
'max' => [
|
|
'array' => ':attribute non può avere più di :max elementi.',
|
|
'file' => 'Il campo :attribute non deve essere maggiore di :max kilobyte.',
|
|
'numeric' => 'Il campo :attribute non deve essere maggiore di :max.',
|
|
'string' => 'The :attribute must not be greater than :max characters.',
|
|
],
|
|
'max_digits' => 'Il campo :attribute non deve contenere più di :max cifre.',
|
|
'mimes' => 'Il campo :attribute deve essere un file di tipo: :values.',
|
|
'mimetypes' => 'Il campo :attribute deve essere un file di tipo: :values.',
|
|
'min' => [
|
|
'array' => ':attribute deve avere almeno :min elementi.',
|
|
'file' => ':attribute deve essere almeno di :min kilobyte.',
|
|
'numeric' => 'Il campo :attributo deve essere almeno :min.',
|
|
'string' => ':attribute deve contenere almeno :min caratteri.',
|
|
],
|
|
'min_digits' => 'Il campo :attribute deve contenere almeno :min cifre.',
|
|
'missing' => 'Il campo :attribute deve mancare.',
|
|
'missing_if' => 'Il campo :attribute deve mancare quando :other è :value.',
|
|
'missing_unless' => 'Il campo :attribute deve essere mancante a meno che :other sia :value.',
|
|
'missing_with' => 'Il campo :attribute deve mancare quando è presente :values.',
|
|
'missing_with_all' => 'Il campo :attribute deve mancare quando sono presenti :values.',
|
|
'multiple_of' => ':attribute deve essere un multiplo di :value',
|
|
'not_in' => 'Il :attribute scelto non è valido.',
|
|
'not_regex' => 'Il formato di :attribute non è valido.',
|
|
'numeric' => 'Il campo :attribute deve essere un numero.',
|
|
'password' => [
|
|
'letters' => 'Il campo :attribute deve contenere almeno una lettera.',
|
|
'mixed' => 'Il campo :attribute deve contenere almeno una lettera maiuscola e una minuscola.',
|
|
'numbers' => 'Il campo :attribute deve contenere almeno un numero.',
|
|
'symbols' => 'Il campo :attribute deve contenere almeno un simbolo.',
|
|
'uncompromised' => ':attribute sembra che faccia parte di un archivio con dati rubati. Per piacere, utilizza un valore differente.',
|
|
],
|
|
'present' => 'Il campo :attribute deve essere presente.',
|
|
'present_if' => 'Il campo :attribute deve essere presente quando :other è :value.',
|
|
'present_unless' => 'Il campo :attribute deve essere presente a meno che :other non sia :value.',
|
|
'present_with' => 'Il campo :attribute deve essere presente quando :values è presente.',
|
|
'present_with_all' => 'Il campo :attribute deve essere presente quando :values sono presenti.',
|
|
'prohibited' => '\':attribute\' è proibito.',
|
|
'prohibited_if' => 'Il campo :attribute è vietato quando :other è :value.',
|
|
'prohibited_unless' => 'Il campo :attribute è vietato a meno che :other non sia in :values.',
|
|
'prohibits' => ':Attribute impedisce a :other di essere presente.',
|
|
'regex' => 'Il formato di :attribute non è valido.',
|
|
'required' => 'Il campo :attribute è necessario.',
|
|
'required_array_keys' => 'Il campo :attribute deve contenere voci per: :values.',
|
|
'required_if' => 'Il campo :attribute è obbligatorio quando :other è :value.',
|
|
'required_if_accepted' => ':attribute è richiesto quando :other è accettato.',
|
|
'required_unless' => 'Il campo :attribute è richiesto a meno che :other sia in :values.',
|
|
'required_with' => 'Il campo :attribute è obbligatorio quando :values è presente.',
|
|
'required_with_all' => 'Il campo :attribute è obbligatorio quando :values è presente.',
|
|
'required_without' => 'Il campo :attribute è obbligatorio quando :values non è presente.',
|
|
'required_without_all' => 'Il campo :attribute è obbligatorio quando nessuno dei :values è presente.',
|
|
'same' => 'Il campo :attribute deve corrispondere a :other.',
|
|
'size' => [
|
|
'array' => ':attribute deve contenere :size elementi.',
|
|
'file' => ':attribute deve essere :size kilobyte.',
|
|
'numeric' => 'Il campo :attribute deve essere :size.',
|
|
'string' => ':attribute deve contenere :size caratteri.',
|
|
],
|
|
'starts_with' => 'Il campo :attribute deve iniziare con uno dei seguenti: :values.',
|
|
'string' => 'Il campo :attribute deve essere una stringa.',
|
|
'timezone' => 'Il campo :attribute deve essere un fuso orario valido.',
|
|
'unique' => ':attribute è stato già utilizzato.',
|
|
'uploaded' => ':attribute non è stato caricato.',
|
|
'uppercase' => 'Il campo :attribute deve essere maiuscolo.',
|
|
'url' => 'Il campo :attribute deve essere un URL valido.',
|
|
'ulid' => 'Il campo :attribute deve essere un ULID valido.',
|
|
'uuid' => 'Il campo :attribute deve essere un UUID valido.',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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' => 'messaggio personalizzato',
|
|
],
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Custom Validation Attributes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The following language lines are used to swap our attribute placeholder
|
|
| with something more reader friendly such as "E-Mail Address" instead
|
|
| of "email". This simply helps us make our message more expressive.
|
|
|
|
|
*/
|
|
|
|
'attributes' => [],
|
|
|
|
];
|