1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00
invoiceninja/resources/lang/pt_PT/validation.php
David Bomba ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00

107 lines
4.5 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
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute deve ser aceite.',
'active_url' => ':attribute não é um URL válido.',
'after' => ':attribute deve ser uma data maior que :date.',
'alpha' => ':attribute deve conter apenas letras.',
'alpha_dash' => ':attribute pode conter apenas letras, número e hífens',
'alpha_num' => ':attribute pode conter apenas letras e números.',
'array' => ':attribute deve ser uma lista.',
'before' => ':attribute deve ser uma data anterior a :date.',
'between' => [
'numeric' => ':attribute deve estar entre :min - :max.',
'file' => ':attribute deve estar entre :min - :max kilobytes.',
'string' => ':attribute deve estar entre :min - :max caracteres.',
'array' => ':attribute deve conter entre :min - :max itens.',
],
'confirmed' => ':attribute confirmação não corresponde.',
'date' => ':attribute não é uma data válida.',
'date_format' => ':attribute não satisfaz o formato :format.',
'different' => ':attribute e :other devem ser diferentes.',
'digits' => ':attribute deve conter :digits dígitos.',
'digits_between' => ':attribute deve conter entre :min e :max dígitos.',
'email' => ':attribute está em um formato inválido.',
'exists' => 'A opção selecionada :attribute é inválida.',
'image' => ':attribute deve ser uma imagem.',
'in' => 'A opção selecionada :attribute é inválida.',
'integer' => ':attribute deve ser um número inteiro.',
'ip' => ':attribute deve ser um endereço IP válido.',
'max' => [
'numeric' => ':attribute não pode ser maior que :max.',
'file' => ':attribute não pode ser maior que :max kilobytes.',
'string' => ':attribute não pode ser maior que :max caracteres.',
'array' => ':attribute não pode conter mais que :max itens.',
],
'mimes' => ':attribute deve ser um arquivo do tipo: :values.',
'min' => [
'numeric' => ':attribute não deve ser menor que :min.',
'file' => ':attribute deve ter no mínimo :min kilobytes.',
'string' => ':attribute deve conter no mínimo :min caracteres.',
'array' => ':attribute deve conter ao menos :min itens.',
],
'not_in' => 'A opção selecionada :attribute é inválida.',
'numeric' => ':attribute deve ser um número.',
'regex' => ':attribute está em um formato inválido.',
'required' => ':attribute é um campo obrigatório.',
'required_if' => ':attribute é necessário quando :other é :value.',
'required_with' => ':attribute é obrigatório quando :values está presente.',
'required_without' => ':attribute é obrigatório quando :values não está presente.',
'same' => ':attribute e :other devem corresponder.',
'size' => [
'numeric' => ':attribute deve ter :size.',
'file' => ':attribute deve ter :size kilobytes.',
'string' => ':attribute deve conter :size caracteres.',
'array' => ':attribute deve conter :size itens.',
],
'unique' => ':attribute já está sendo utilizado.',
'url' => ':attribute está num formato inválido.',
'positive' => ':attribute deve ser maior que zero.',
'has_credit' => 'O cliente não possui crédito suficiente.',
'notmasked' => 'Os valores são mascarados',
'less_than' => ':attribute deve ser menor que :value',
'has_counter' => 'O valor deve conter {$counter}',
'valid_contacts' => 'Todos os contatos devem conter um email ou nome',
'valid_invoice_items' => 'Esta fatura excedeu o número máximo de itens',
/*
|--------------------------------------------------------------------------
| 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' => [],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];