|
| 1 | +<?php |
| 2 | + |
| 3 | +return array( |
| 4 | + 'validation' => array( |
| 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 | + | such as the size rules. Feel free to tweak each of these messages. |
| 13 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + "accepted" => "O campo :attribute deve ser marcado", |
| 17 | + "active_url" => "O campo :attribute não é uma URL válida.", |
| 18 | + "after" => "O campo :attribute deve ser uma data após :date.", |
| 19 | + "alpha" => "O campo :attribute só pode conter letras.", |
| 20 | + "alpha_dash" => "O campo :attribute só pode conter letras, números e hífens..", |
| 21 | + "alpha_num" => "O campo :attribute só pode conter letras e números", |
| 22 | + "before" => "O campo :attribute só pode conter uma data antes de :date.", |
| 23 | + "between" => array( |
| 24 | + "numeric" => "O campo :attribute deve conter valores entre :min - :max.", |
| 25 | + "file" => "O campo :attribute deve ter o tamanho entre :min - :max kilobytes.", |
| 26 | + "string" => "O campo :attribute deve ter entre :min - :max caracteres.", |
| 27 | + ), |
| 28 | + "confirmed" => "A confirmação do campo :attribute não corresponde.", |
| 29 | + "date" => "O campo :attribute contém uma data inválida.", |
| 30 | + "date_format" => "O campo :attribute não conrrespode ao formato :format.", |
| 31 | + "different" => "Os campos :attribute e :other devem ser diferentes.", |
| 32 | + "digits" => "O campo :attribute deve ser :digits digitos.", |
| 33 | + "digits_between" => "O campo :attribute deve estar entre :min e :max digitos.", |
| 34 | + "email" => "O campo :attribute tem formato inválido.", |
| 35 | + "exists" => "O campo selecionado :attribute é inválido.", |
| 36 | + "image" => "O campo :attribute deve conter uma imagem.", |
| 37 | + "in" => "O valor selecionado em :attribute é invalido.", |
| 38 | + "integer" => "O campo :attribute deve conter um valor númerico.", |
| 39 | + "ip" => "O campo :attribute deve conter um endereço de IP válido.", |
| 40 | + "max" => array( |
| 41 | + "numeric" => "O campo :attribute não pode ser maior que :max.", |
| 42 | + "file" => "O campo :attribute não pode ser maior que :max kilobytes.", |
| 43 | + "string" => "O campo :attribute não pode ser maior que :max caracteres.", |
| 44 | + ), |
| 45 | + "mimes" => "O campo :attribute deve conter um arquivo do tipo: :values.", |
| 46 | + "min" => array( |
| 47 | + "numeric" => "O campo :attribute deve ser no mínimo :min.", |
| 48 | + "file" => "O campo :attribute deve ser no mínimo :min kilobytes.", |
| 49 | + "string" => "O campo :attribute deve ser no mínimo :min caracteres.", |
| 50 | + ), |
| 51 | + "not_in" => "O campo :attribute selecionado é inválido.", |
| 52 | + "numeric" => "O campo :attribute deve ser númerico.", |
| 53 | + "regex" => "O campo :attribute é inválido.", |
| 54 | + "required" => "O campo :attribute é obrigatório.", |
| 55 | + "required_if" => "O campo :attribute é obrigatório quando :other é :value.", |
| 56 | + "required_with" => "O campo :attribute é obrigatório quando :values está presente.", |
| 57 | + "required_without" => "O campo :attribute é obrigatório quando :values não está presente.", |
| 58 | + "same" => "Os campos :attribute e :other devem conrrespoder.", |
| 59 | + "size" => array( |
| 60 | + "numeric" => "O campo :attribute deve ser :size.", |
| 61 | + "file" => "O campo :attribute deve ser de :size kilobytes.", |
| 62 | + "string" => "O campo :attribute deve ser de :size caracteres.", |
| 63 | + ), |
| 64 | + "unique" => "O campo :attribute já existe.", |
| 65 | + "url" => "O campo :attribute tem formato inválido.", |
| 66 | + |
| 67 | + /* |
| 68 | + |-------------------------------------------------------------------------- |
| 69 | + | Custom Validation Language Lines |
| 70 | + |-------------------------------------------------------------------------- |
| 71 | + | |
| 72 | + | Here you may specify custom validation messages for attributes using the |
| 73 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 74 | + | specify a specific custom language line for a given attribute rule. |
| 75 | + | |
| 76 | + */ |
| 77 | + |
| 78 | + 'custom' => array(), |
| 79 | + |
| 80 | + /* |
| 81 | + |-------------------------------------------------------------------------- |
| 82 | + | Custom Validation Attributes |
| 83 | + |-------------------------------------------------------------------------- |
| 84 | + | |
| 85 | + | The following language lines are used to swap attribute place-holders |
| 86 | + | with something more reader friendly such as E-Mail Address instead |
| 87 | + | of "email". This simply helps us make messages a little cleaner. |
| 88 | + | |
| 89 | + */ |
| 90 | + |
| 91 | + 'attributes' => array(), |
| 92 | + ) |
| 93 | +); |
0 commit comments