Merge pull request #818 from everaldofilho/language-pt-br

Change: added language pt in configuration, translated validation for pt-br
This commit is contained in:
KodeStar
2022-11-14 15:07:45 +00:00
committed by GitHub
2 changed files with 67 additions and 66 deletions

View File

@@ -92,6 +92,7 @@ Currently added languages are
- Turkish
- Russian
- Chinese
- Português
## Web Server Configuration

View File

@@ -13,80 +13,80 @@ return [
|
*/
'accepted' => 'The :attribute must be accepted.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :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.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'accepted' => 'O :attribute deve ser aceito.',
'active_url' => 'O :attribute não é uma URL válida.',
'after' => 'O :attribute deve ser uma data posterior a :date.',
'after_or_equal' => 'O :attribute deve ser uma data posterior ou igual a :date.',
'alpha' => 'O :attribute pode conter apenas letras.',
'alpha_dash' => 'O :attribute pode conter apenas letras, números e traços.',
'alpha_num' => 'O :attribute pode conter apenas letras e números.',
'array' => 'O :attribute deve ser um array.',
'before' => 'O :attribute deve ser uma data anterior a :date.',
'before_or_equal' => 'O :attribute deve ser uma data anterior ou igual a :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
'numeric' => 'O :attribute deve estar entre :min e :max.',
'file' => 'O :attribute deve estar entre :min e :max kilobytes.',
'string' => 'O :attribute deve estar entre os caracteres :min e :max.',
'array' => 'O :attribute deve ter entre :min e :max itens.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'boolean' => 'O campo :attribute deve ser true ou false.',
'confirmed' => 'A confirmação de :attribute não corresponde.',
'date' => 'O :attribute não é uma data válida.',
'date_format' => 'O :attribute não corresponde ao formato :format.',
'different' => 'O :attribute e :other devem ser diferentes.',
'digits' => 'O :attribute deve ser :digits dígitos.',
'digits_between' => 'O :attribute deve estar entre :min e :max dígitos.',
'dimensions' => 'O :attribute tem dimensões de imagem inválidas.',
'distinct' => 'O campo :attribute tem um valor duplicado.',
'email' => 'O :attribute deve ser um endereço de e-mail válido.',
'exists' => 'O :attribute selecionado é inválido.',
'file' => 'O :attribute deve ser um arquivo.',
'filled' => 'O campo :attribute deve ter um valor.',
'image' => 'O :attribute deve ser uma imagem.',
'in' => 'O :attribute selecionado é inválido.',
'in_array' => 'O campo :attribute não existe em :other.',
'integer' => 'O :attribute deve ser um número inteiro.',
'ip' => 'O :attribute deve ser um endereço IP válido.',
'ipv4' => 'O :attribute deve ser um endereço IPv4 válido.',
'ipv6' => 'O :attribute deve ser um endereço IPv6 válido.',
'json' => 'O :attribute deve ser uma string JSON válida',
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',
'string' => 'The :attribute may not be greater than :max characters.',
'array' => 'The :attribute may not have more than :max items.',
'numeric' => 'O :attribute não pode ser maior que :max.',
'file' => 'O :attribute não pode ser maior que :max kilobytes.',
'string' => 'O :attribute não pode ser maior que :max caracteres.',
'array' => 'O :attribute não pode ter mais que :max itens.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'mimes' => 'O :attribute deve ser um arquivo do tipo: :values.',
'mimetypes' => 'O :attribute deve ser um arquivo do tipo: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
'numeric' => 'O :attribute deve ser pelo menos :min.',
'file' => 'O :attribute deve ter pelo menos :min kilobytes.',
'string' => 'O :attribute deve ter pelo menos :min caracteres.',
'array' => 'O :attribute deve ter pelo menos :min itens.',
],
'not_in' => 'The selected :attribute is invalid.',
'numeric' => 'The :attribute must be a number.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values is present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'not_in' => 'O :attribute selecionado é inválido.',
'numeric' => 'O :attribute deve ser um número.',
'present' => 'O campo :attribute deve estar presente.',
'regex' => 'O formato :attribute é inválido.',
'required' => 'O campo :attribute é obrigatório.',
'required_if' => 'O campo :attribute é obrigatório quando :other é :value.',
'required_unless' => 'O campo :attribute é obrigatório, a menos que :other esteja em :values.',
'required_with' => 'O campo :attribute é obrigatório quando :values está presente.',
'required_with_all' => 'O campo :attribute é obrigatório quando :values está presente.',
'required_without' => 'O campo :attribute é obrigatório quando :values não está presente.',
'required_without_all' => 'O campo :attribute é obrigatório quando nenhum dos :values está presente.',
'same' => 'O :attribute e :other devem corresponder.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
'numeric' => 'O :attribute deve ser :size.',
'file' => 'O :attribute deve ser :size kilobytes.',
'string' => 'O :attribute deve ser :size caracteres.',
'array' => 'O :attribute deve conter :size itens.',
],
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
'string' => 'O :attribute deve ser uma string.',
'timezone' => 'O :attribute deve ser uma zona válida.',
'unique' => 'O :attribute já foi usado.',
'uploaded' => 'O :attribute falhou ao carregar.',
'url' => 'O formato :attribute é inválido.',
/*
|--------------------------------------------------------------------------