|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Validation Language Lines |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | The following language lines contain the default error messages used by |
| 11 | + | the validator class. Some of these rules have multiple versions such |
| 12 | + | as the size rules. Feel free to tweak each of these messages here. |
| 13 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + /* |
| 17 | + |-------------------------------------------------------------------------- |
| 18 | + | Custom Validation Language Lines |
| 19 | + |-------------------------------------------------------------------------- |
| 20 | + | |
| 21 | + | Here you may specify custom validation messages for attributes using the |
| 22 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 23 | + | specify a specific custom language line for a given attribute rule. |
| 24 | + | |
| 25 | + */ |
| 26 | + |
| 27 | + 'custom' => [ |
| 28 | + 'attribute-name' => [ |
| 29 | + |
| 30 | + ], |
| 31 | + ], |
| 32 | + |
| 33 | + /* |
| 34 | + |-------------------------------------------------------------------------- |
| 35 | + | Custom Validation Attributes |
| 36 | + |-------------------------------------------------------------------------- |
| 37 | + | |
| 38 | + | The following language lines are used to swap our attribute placeholder |
| 39 | + | with something more reader friendly such as "E-Mail Address" instead |
| 40 | + | of "email". This simply helps us make our message more expressive. |
| 41 | + | |
| 42 | + */ |
| 43 | + |
| 44 | + 'attributes' => [ |
| 45 | + 'address' => 'dirección', |
| 46 | + 'age' => 'edad', |
| 47 | + 'body' => 'contenido', |
| 48 | + 'cell' => 'celular', |
| 49 | + 'city' => 'ciudad', |
| 50 | + 'country' => 'país', |
| 51 | + 'date' => 'fecha', |
| 52 | + 'day' => 'día', |
| 53 | + 'excerpt' => 'resumen', |
| 54 | + 'first_name' => 'nombre', |
| 55 | + 'gender' => 'género', |
| 56 | + 'marital_status' => 'estado civil', |
| 57 | + 'profession' => 'profesión', |
| 58 | + 'nationality' => 'nacionalidad', |
| 59 | + 'hour' => 'hora', |
| 60 | + 'last_name' => 'apellido', |
| 61 | + 'message' => 'mensaje', |
| 62 | + 'minute' => 'minuto', |
| 63 | + 'mobile' => 'móvil', |
| 64 | + 'month' => 'mes', |
| 65 | + 'name' => 'nombre', |
| 66 | + 'zipcode' => 'código postal', |
| 67 | + 'company_name' => 'nombre de la empresa', |
| 68 | + 'neighborhood' => 'vecindario', |
| 69 | + 'number' => 'número', |
| 70 | + 'password' => 'contraseña', |
| 71 | + 'phone' => 'teléfono', |
| 72 | + 'second' => 'segundo', |
| 73 | + 'sex' => 'sexo', |
| 74 | + 'state' => 'estado', |
| 75 | + 'street' => 'calle', |
| 76 | + 'subject' => 'asunto', |
| 77 | + 'text' => 'texto', |
| 78 | + 'time' => 'hora', |
| 79 | + 'title' => 'título', |
| 80 | + 'username' => 'usuario', |
| 81 | + 'year' => 'año', |
| 82 | + 'description' => 'descripción', |
| 83 | + 'password_confirmation' => 'confirmación de contraseña', |
| 84 | + 'current_password' => 'contraseña actual', |
| 85 | + 'complement' => 'complemento', |
| 86 | + 'modality' => 'modalidad', |
| 87 | + 'category' => 'categoría', |
| 88 | + 'blood_type' => 'tipo de sangre', |
| 89 | + 'birth_date' => 'fecha de nacimiento', |
| 90 | + ], |
| 91 | +]; |
0 commit comments