1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/lang/es_ES/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

112 lines
5.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 debe ser aceptado.',
'active_url' => ':attribute no es una URL válida.',
'after' => ':attribute debe ser una fecha posterior a :date.',
'alpha' => ':attribute solo debe contener letras.',
'alpha_dash' => ':attribute solo debe contener letras, números y guiones.',
'alpha_num' => ':attribute solo debe contener letras y números.',
'array' => ':attribute debe ser un conjunto.',
'before' => ':attribute debe ser una fecha anterior a :date.',
'between' => [
'numeric' => ':attribute tiene que estar entre :min - :max.',
'file' => ':attribute debe pesar entre :min - :max kilobytes.',
'string' => ':attribute tiene que tener entre :min - :max caracteres.',
'array' => ':attribute tiene que tener entre :min - :max ítems.',
],
'confirmed' => 'La confirmación de :attribute no coincide.',
'date' => ':attribute no es una fecha válida.',
'date_format' => ':attribute no corresponde al formato :format.',
'different' => ':attribute y :other deben ser diferentes.',
'digits' => ':attribute debe tener :digits dígitos.',
'digits_between' => ':attribute debe tener entre :min y :max dígitos.',
'email' => ':attribute no es un correo válido',
'exists' => ':attribute es inválido.',
'image' => ':attribute debe ser una imagen.',
'in' => ':attribute es inválido.',
'integer' => ':attribute debe ser un número entero.',
'ip' => ':attribute debe ser una dirección IP válida.',
'max' => [
'numeric' => ':attribute no debe ser mayor a :max.',
'file' => ':attribute no debe ser mayor que :max kilobytes.',
'string' => ':attribute no debe ser mayor que :max caracteres.',
'array' => ':attribute no debe tener más de :max elementos.',
],
'mimes' => ':attribute debe ser un archivo con formato: :values.',
'min' => [
'numeric' => 'El tamaño de :attribute debe ser de al menos :min.',
'file' => 'El tamaño de :attribute debe ser de al menos :min kilobytes.',
'string' => ':attribute debe contener al menos :min caracteres.',
'array' => ':attribute debe tener al menos :min elementos.',
],
'not_in' => ':attribute es inválido.',
'numeric' => ':attribute debe ser numérico.',
'regex' => 'El formato de :attribute es inválido.',
'required' => 'El campo :attribute es obligatorio.',
'required_if' => 'El campo :attribute es obligatorio cuando :other es :value.',
'required_with' => 'El campo :attribute es obligatorio cuando :values está presente.',
'required_with_all' => 'The :attribute field is required when :values is present.',
'required_without' => 'El campo :attribute es obligatorio cuando :values no está presente.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => ':attribute y :other deben coincidir.',
'size' => [
'numeric' => 'El tamaño de :attribute debe ser :size.',
'file' => 'El tamaño de :attribute debe ser :size kilobytes.',
'string' => ':attribute debe contener :size caracteres.',
'array' => ':attribute debe contener :size elementos.',
],
'unique' => ':attribute ya ha sido registrado.',
'url' => 'El formato :attribute es inválido.',
'positive' => ':attribute debe ser mayor que cero.',
'has_credit' => 'el cliente no tiene crédito suficiente.',
'notmasked' => 'The values are masked',
'less_than' => 'The :attribute must be less than :value',
'has_counter' => 'The value must contain {$counter}',
'valid_contacts' => 'All of the contacts must have either an email or name',
'valid_invoice_items' => 'The invoice exceeds the maximum amount',
/*
|--------------------------------------------------------------------------
| 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' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| 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' => [],
];