199 lines
12 KiB
PHP
199 lines
12 KiB
PHP
<?php
|
|
|
|
return [
|
|
'accepted' => ':attribute deve essere accettato.',
|
|
'accepted_if' => ':attribute deve essere accettato quando :other è :value.',
|
|
'active_url' => ':attribute non è 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' => ':attribute può contenere solo lettere.',
|
|
'alpha_dash' => ':attribute può contenere solo lettere, numeri e trattini.',
|
|
'alpha_num' => ':attribute può contenere solo lettere e numeri.',
|
|
'array' => ':attribute deve essere un array.',
|
|
'before' => ':attribute deve essere una data precedente al :date.',
|
|
'before_or_equal' => ':attribute deve essere una data precedente o uguale al :date.',
|
|
'between' => [
|
|
'array' => ':attribute deve avere tra :min - :max elementi.',
|
|
'file' => ':attribute deve trovarsi tra :min - :max kilobyte.',
|
|
'numeric' => ':attribute deve trovarsi tra :min - :max.',
|
|
'string' => ':attribute deve trovarsi tra :min - :max caratteri.',
|
|
],
|
|
'boolean' => 'Il campo :attribute deve essere vero o falso.',
|
|
'confirmed' => 'Il campo di conferma per :attribute non coincide.',
|
|
'current_password' => 'Password non valida.',
|
|
'date' => ':attribute non è una data valida.',
|
|
'date_equals' => ':attribute deve essere una data e uguale a :date.',
|
|
'date_format' => ':attribute non coincide con il formato :format.',
|
|
'declined' => ':attribute deve essere rifiutato.',
|
|
'declined_if' => ':attribute deve essere rifiutato quando :other è :value.',
|
|
'different' => ':attribute e :other devono essere differenti.',
|
|
'digits' => ':attribute deve essere di :digits cifre.',
|
|
'digits_between' => ':attribute deve essere tra :min e :max cifre.',
|
|
'dimensions' => 'Le dimensioni dell\'immagine di :attribute non sono valide.',
|
|
'distinct' => ':attribute contiene un valore duplicato.',
|
|
'email' => ':attribute non è valido.',
|
|
'ends_with' => ':attribute deve finire con uno dei seguenti valori: :values',
|
|
'enum' => 'Il campo :attribute non è valido.',
|
|
'exists' => ':attribute selezionato non è valido.',
|
|
'file' => ':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' => ':attribute deve essere maggiore di :value.',
|
|
'string' => ':attribute deve contenere più di :value caratteri.',
|
|
],
|
|
'gte' => [
|
|
'array' => ':attribute deve contenere un numero di elementi uguale o maggiore di :value.',
|
|
'file' => ':attribute deve essere uguale o maggiore di :value kilobyte.',
|
|
'numeric' => ':attribute deve essere uguale o maggiore di :value.',
|
|
'string' => ':attribute deve contenere un numero di caratteri uguale o maggiore di :value.',
|
|
],
|
|
'image' => ':attribute deve essere un\'immagine.',
|
|
'in' => ':attribute selezionato non è valido.',
|
|
'in_array' => 'Il valore del campo :attribute non esiste in :other.',
|
|
'integer' => ':attribute deve essere un numero intero.',
|
|
'ip' => ':attribute deve essere un indirizzo IP valido.',
|
|
'ipv4' => ':attribute deve essere un indirizzo IPv4 valido.',
|
|
'ipv6' => ':attribute deve essere un indirizzo IPv6 valido.',
|
|
'json' => ':attribute deve essere una stringa JSON valida.',
|
|
'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' => ':attribute deve contenere meno di :value caratteri.',
|
|
],
|
|
'lte' => [
|
|
'array' => ':attribute deve contenere un numero di elementi minore o uguale a :value.',
|
|
'file' => ':attribute deve essere minore o uguale a :value kilobyte.',
|
|
'numeric' => ':attribute deve essere minore o uguale a :value.',
|
|
'string' => ':attribute deve contenere un numero di caratteri minore o uguale a :value.',
|
|
],
|
|
'mac_address' => 'Il campo :attribute deve essere un indirizzo MAC valido .',
|
|
'max' => [
|
|
'array' => ':attribute non può avere più di :max elementi.',
|
|
'file' => ':attribute non può essere superiore a :max kilobyte.',
|
|
'numeric' => ':attribute non può essere superiore a :max.',
|
|
'string' => ':attribute non può contenere più di :max caratteri.',
|
|
],
|
|
'mimes' => ':attribute deve essere del tipo: :values.',
|
|
'mimetypes' => ':attribute deve essere del tipo: :values.',
|
|
'min' => [
|
|
'array' => ':attribute deve avere almeno :min elementi.',
|
|
'file' => ':attribute deve essere almeno di :min kilobyte.',
|
|
'numeric' => ':attribute deve essere almeno :min.',
|
|
'string' => ':attribute deve contenere almeno :min caratteri.',
|
|
],
|
|
'multiple_of' => ':attribute deve essere un multiplo di :value',
|
|
'not_in' => 'Il valore selezionato per :attribute non è valido.',
|
|
'not_regex' => 'Il formato di :attribute non è valido.',
|
|
'numeric' => ':attribute deve essere un numero.',
|
|
'password' => 'Il campo :attribute non è corretto.',
|
|
'present' => 'Il campo :attribute deve essere presente.',
|
|
'prohibited' => ':attribute non consentito.',
|
|
'prohibited_if' => ':attribute non consentito quando :other è :value.',
|
|
'prohibited_unless' => ':attribute non consentito a meno che :other sia contenuto in :values.',
|
|
'prohibits' => ':attribute impedisce a :other di essere presente.',
|
|
'regex' => 'Il formato del campo :attribute non è valido.',
|
|
'required' => 'Il campo :attribute è richiesto.',
|
|
'required_array_keys' => 'Il campo :attribute deve contenere voci per: :values.',
|
|
'required_if' => 'Il campo :attribute è richiesto quando :other è :value.',
|
|
'required_unless' => 'Il campo :attribute è richiesto a meno che :other sia in :values.',
|
|
'required_with' => 'Il campo :attribute è richiesto quando :values è presente.',
|
|
'required_with_all' => 'Il campo :attribute è richiesto quando :values sono presenti.',
|
|
'required_without' => 'Il campo :attribute è richiesto quando :values non è presente.',
|
|
'required_without_all' => 'Il campo :attribute è richiesto quando nessuno di :values è presente.',
|
|
'same' => ':attribute e :other devono coincidere.',
|
|
'size' => [
|
|
'array' => ':attribute deve contenere :size elementi.',
|
|
'file' => ':attribute deve essere :size kilobyte.',
|
|
'numeric' => ':attribute deve essere :size.',
|
|
'string' => ':attribute deve contenere :size caratteri.',
|
|
],
|
|
'starts_with' => ':attribute deve iniziare con uno dei seguenti: :values',
|
|
'string' => ':attribute deve essere una stringa.',
|
|
'timezone' => ':attribute deve essere una zona valida.',
|
|
'unique' => ':attribute è stato già utilizzato.',
|
|
'uploaded' => ':attribute non è stato caricato.',
|
|
'url' => 'Il formato del campo :attribute non è valido.',
|
|
'uuid' => ':attribute deve essere un UUID valido.',
|
|
'attributes' => [
|
|
'address' => 'indirizzo',
|
|
'age' => 'età',
|
|
'amount' => 'Amount',
|
|
'area' => 'Area',
|
|
'available' => 'disponibile',
|
|
'birthday' => 'Birthday',
|
|
'body' => 'Body',
|
|
'city' => 'città',
|
|
'content' => 'contenuto',
|
|
'country' => 'paese',
|
|
'created_at' => 'Created At',
|
|
'creator' => 'Creator',
|
|
'current_password' => 'Current Password',
|
|
'date' => 'data',
|
|
'date_of_birth' => 'Date Of Birth',
|
|
'day' => 'giorno',
|
|
'deleted_at' => 'Deleted At',
|
|
'description' => 'descrizione',
|
|
'district' => 'District',
|
|
'duration' => 'Duration',
|
|
'email' => 'Email',
|
|
'excerpt' => 'estratto',
|
|
'filter' => 'Filter',
|
|
'first_name' => 'nome',
|
|
'gender' => 'genere',
|
|
'group' => 'Group',
|
|
'hour' => 'ora',
|
|
'image' => 'Image',
|
|
'last_name' => 'cognome',
|
|
'lesson' => 'Lesson',
|
|
'line_address_1' => 'Line Address 1',
|
|
'line_address_2' => 'Line Address 2',
|
|
'message' => 'Message',
|
|
'middle_name' => 'Middle Name',
|
|
'minute' => 'minuto',
|
|
'mobile' => 'cellulare',
|
|
'month' => 'mese',
|
|
'name' => 'nome',
|
|
'national_code' => 'National Code',
|
|
'number' => 'Number',
|
|
'password' => 'Password',
|
|
'password_confirmation' => 'conferma password',
|
|
'phone' => 'telefono',
|
|
'photo' => 'Photo',
|
|
'postal_code' => 'Postal Code',
|
|
'price' => 'Price',
|
|
'province' => 'Province',
|
|
'recaptcha_response_field' => 'Recaptcha Response Field',
|
|
'remember' => 'Remember',
|
|
'restored_at' => 'Restored At',
|
|
'result_text_under_image' => 'Result Text Under Image',
|
|
'role' => 'Role',
|
|
'second' => 'secondo',
|
|
'sex' => 'sesso',
|
|
'short_text' => 'Short Text',
|
|
'size' => 'dimensione',
|
|
'state' => 'State',
|
|
'street' => 'Street',
|
|
'student' => 'Student',
|
|
'subject' => 'Subject',
|
|
'teacher' => 'Teacher',
|
|
'terms' => 'Terms',
|
|
'test_description' => 'Test Description',
|
|
'test_locale' => 'Test Locale',
|
|
'test_name' => 'Test Name',
|
|
'text' => 'Text',
|
|
'time' => 'ora',
|
|
'title' => 'titolo',
|
|
'updated_at' => 'Updated At',
|
|
'username' => 'nome utente',
|
|
'year' => 'anno',
|
|
],
|
|
'custom' => [
|
|
'attribute-name' => [
|
|
'rule-name' => 'custom-message',
|
|
],
|
|
],
|
|
];
|