1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/resources/lang/pl/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
5.2 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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 musi być zaakceptowany.',
'active_url' => ':attribute nie jest poprawnym URL-em.',
'after' => ':attribute musi być datą za :date.',
'alpha' => ':attribute może zawierać tylko litery.',
'alpha_dash' => ':attribute może zawierać tylko litery, liczby i myślniki.',
'alpha_num' => ':attribute może zawierać tylko litery i liczby.',
'array' => ':attribute musi być tablicą.',
'before' => ':attribute musi być datą przed :date.',
'between' => [
'numeric' => ':attribute musi być pomiędzy :min - :max.',
'file' => ':attribute musi mieć rozmiar pomiędzy :min - :max kilobajtów.',
'string' => ':attribute musi mieć pomiędzy :min - :max znaków.',
'array' => ':attribute musi zawierać :min - :max pozycji.',
],
'confirmed' => ':attribute potwierdzenie nie jest zgodne.',
'date' => ':attribute nie jest prawidłową datą.',
'date_format' => ':attribute nie jest zgodne z formatem :format.',
'different' => ':attribute i :other muszą być różne.',
'digits' => ':attribute musi mieć :digits cyfr.',
'digits_between' => ':attribute musi być w przedziale od :min do :max cyfr.',
'email' => ':attribute format jest nieprawidłowy.',
'exists' => 'Zaznaczony :attribute jest niepoprawny.',
'image' => ':attribute musi być zdjęciem.',
'in' => 'Zaznaczony :attribute jest niepoprawny.',
'integer' => ':attribute musi być liczbą całkowitą.',
'ip' => ':attribute musi być poprawnym adresem IP.',
'max' => [
'numeric' => ':attribute nie może być większy niż :max.',
'file' => ':attribute nie może być większy niż :max kilobajtów.',
'string' => ':attribute nie może być dłuższy niż :max znaków.',
'array' => ':attribute nie może zawierać więcej niż :max pozycji.',
],
'mimes' => ':attribute musi być plikiem o typie: :values.',
'min' => [
'numeric' => ':attribute musi być przynajmniej :min.',
'file' => ':attribute musi mieć przynajmniej :min kilobajtów.',
'string' => ':attribute musi mieć przynajmniej :min znaków.',
'array' => ':attribute musi zawierać przynajmniej :min pozycji.',
],
'not_in' => 'Zaznaczony :attribute jest niepoprawny.',
'numeric' => ':attribute musi być cyfrą.',
'regex' => ':attribute format jest niepoprawny.',
'required' => ':attribute pole jest wymagane.',
'required_if' => ':attribute pole jest wymagane jeśli :other ma :value.',
'required_with' => ':attribute pole jest wymagane kiedy :values jest obecne.',
'required_without' => ':attribute pole jest wymagane kiedy :values nie występuje.',
'same' => ':attribute i :other muszą być takie same.',
'size' => [
'numeric' => ':attribute musi mieć :size.',
'file' => ':attribute musi mieć :size kilobajtów.',
'string' => ':attribute musi mieć :size znaków.',
'array' => ':attribute musi zawierać :size pozycji.',
],
'unique' => ':attribute już istnieje.',
'url' => ':attribute format jest nieprawidłowy.',
'positive' => ':attribute musi być większe niż zero.',
'has_credit' => 'Klient ma niewystarczająco kredytu.',
'notmasked' => 'Wartości są maskowane',
'less_than' => ':attribute musi być mniejsze od :value',
'has_counter' => 'Wartość musi zawierać {$counter}',
'valid_contacts' => 'Kontakt musi posiadać e-mail lub nazwę',
'valid_invoice_items' => 'Faktura przekracza maksymalną kwotę',
/*
|--------------------------------------------------------------------------
| 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' => [],
];