mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Followed Laravel 9 update steps and file changes
This commit is contained in:
117
lang/pl/validation.php
Normal file
117
lang/pl/validation.php
Normal file
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
/**
|
||||
* Validation Lines
|
||||
* The following language lines contain the default error messages used by
|
||||
* the validator class. Some of these rules have multiple versions such
|
||||
* as the size rules. Feel free to tweak each of these messages here.
|
||||
*/
|
||||
return [
|
||||
|
||||
// Standard laravel validation lines
|
||||
'accepted' => ':attribute musi zostać zaakceptowany.',
|
||||
'active_url' => ':attribute nie jest prawidłowym adresem URL.',
|
||||
'after' => ':attribute musi być datą następującą po :date.',
|
||||
'alpha' => ':attribute może zawierać wyłącznie litery.',
|
||||
'alpha_dash' => ':attribute może zawierać wyłącznie litery, cyfry i myślniki.',
|
||||
'alpha_num' => ':attribute może zawierać wyłącznie litery i cyfry.',
|
||||
'array' => ':attribute musi być tablicą.',
|
||||
'backup_codes' => 'Podany kod jest nieprawidłowy lub został już użyty.',
|
||||
'before' => ':attribute musi być datą poprzedzającą :date.',
|
||||
'between' => [
|
||||
'numeric' => ':attribute musi zawierać się w przedziale od :min do :max.',
|
||||
'file' => 'Waga :attribute musi zawierać się pomiędzy :min i :max kilobajtów.',
|
||||
'string' => 'Długość :attribute musi zawierać się pomiędzy :min i :max.',
|
||||
'array' => ':attribute musi mieć od :min do :max elementów.',
|
||||
],
|
||||
'boolean' => ':attribute musi być wartością prawda/fałsz.',
|
||||
'confirmed' => ':attribute i potwierdzenie muszą być zgodne.',
|
||||
'date' => ':attribute nie jest prawidłową datą.',
|
||||
'date_format' => ':attribute musi mieć format :format.',
|
||||
'different' => ':attribute i :other muszą się różnić.',
|
||||
'digits' => ':attribute musi mieć :digits cyfr.',
|
||||
'digits_between' => ':attribute musi mieć od :min do :max cyfr.',
|
||||
'email' => ':attribute musi być prawidłowym adresem e-mail.',
|
||||
'ends_with' => ':attribute musi kończyć się jedną z poniższych wartości: :values',
|
||||
'file' => ':attribute musi być prawidłowym plikiem.',
|
||||
'filled' => ':attribute jest wymagany.',
|
||||
'gt' => [
|
||||
'numeric' => ':attribute musi być większy niż :value.',
|
||||
'file' => ':attribute musi mieć rozmiar większy niż :value kilobajtów.',
|
||||
'string' => ':attribute musi mieć więcej niż :value znaków.',
|
||||
'array' => ':attribute musi mieć więcej niż :value elementów.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => ':attribute musi być większy lub równy :value.',
|
||||
'file' => ':attribute musi mieć rozmiar większy niż lub równy :value kilobajtów.',
|
||||
'string' => ':attribute musi mieć :value lub więcej znaków.',
|
||||
'array' => ':attribute musi mieć :value lub więcej elementów.',
|
||||
],
|
||||
'exists' => 'Wybrana wartość :attribute jest nieprawidłowa.',
|
||||
'image' => ':attribute musi być obrazkiem.',
|
||||
'image_extension' => ':attribute musi mieć prawidłowe i wspierane rozszerzenie',
|
||||
'in' => 'Wybrana wartość :attribute jest nieprawidłowa.',
|
||||
'integer' => ':attribute musi być liczbą całkowitą.',
|
||||
'ip' => ':attribute musi być prawidłowym adresem IP.',
|
||||
'ipv4' => ':attribute musi być prawidłowym adresem IPv4.',
|
||||
'ipv6' => ':attribute musi być prawidłowym adresem IPv6.',
|
||||
'json' => ':attribute musi być prawidłowym ciągiem JSON.',
|
||||
'lt' => [
|
||||
'numeric' => ':attribute musi być mniejszy niż :value.',
|
||||
'file' => ':attribute musi mieć rozmiar mniejszy niż :value kilobajtów.',
|
||||
'string' => ':attribute musi mieć mniej niż :value znaków.',
|
||||
'array' => ':attribute musi mieć mniej niż :value elementów.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => ':attribute musi być mniejszy lub równy :value.',
|
||||
'file' => ':attribute musi mieć rozmiar mniejszy lub równy:value kilobajtów.',
|
||||
'string' => ':attribute nie może mieć więcej niż :value znaków.',
|
||||
'array' => ':attribute nie może mieć więcej niż :value elementów.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'Wartość :attribute nie może być większa niż :max.',
|
||||
'file' => 'Wielkość :attribute nie może być większa niż :max kilobajtów.',
|
||||
'string' => 'Długość :attribute nie może być większa niż :max znaków.',
|
||||
'array' => 'Rozmiar :attribute nie może być większy niż :max elementów.',
|
||||
],
|
||||
'mimes' => ':attribute musi być plikiem typu: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'Wartość :attribute nie może być mniejsza od :min.',
|
||||
'file' => 'Wielkość :attribute nie może być mniejsza niż :min kilobajtów.',
|
||||
'string' => 'Długość :attribute nie może być mniejsza niż :min znaków.',
|
||||
'array' => 'Rozmiar :attribute musi posiadać co najmniej :min elementy.',
|
||||
],
|
||||
'not_in' => 'Wartość :attribute jest nieprawidłowa.',
|
||||
'not_regex' => 'Format :attribute jest nieprawidłowy.',
|
||||
'numeric' => ':attribute musi być liczbą.',
|
||||
'regex' => 'Format :attribute jest nieprawidłowy.',
|
||||
'required' => 'Pole :attribute jest wymagane.',
|
||||
'required_if' => 'Pole :attribute jest wymagane jeśli :other ma wartość :value.',
|
||||
'required_with' => 'Pole :attribute jest wymagane jeśli :values zostało wprowadzone.',
|
||||
'required_with_all' => 'Pole :attribute jest wymagane jeśli :values są obecne.',
|
||||
'required_without' => 'Pole :attribute jest wymagane jeśli :values nie zostało wprowadzone.',
|
||||
'required_without_all' => 'Pole :attribute jest wymagane jeśli żadna z wartości :values nie została podana.',
|
||||
'same' => 'Pole :attribute i :other muszą być takie same.',
|
||||
'safe_url' => 'Podany link może nie być bezpieczny.',
|
||||
'size' => [
|
||||
'numeric' => ':attribute musi mieć długość :size.',
|
||||
'file' => ':attribute musi mieć :size kilobajtów.',
|
||||
'string' => ':attribute mmusi mieć długość :size znaków.',
|
||||
'array' => ':attribute musi posiadać :size elementów.',
|
||||
],
|
||||
'string' => ':attribute musi być ciągiem znaków.',
|
||||
'timezone' => ':attribute musi być prawidłową strefą czasową.',
|
||||
'totp' => 'Podany kod jest nieprawidłowy lub wygasł.',
|
||||
'unique' => ':attribute zostało już zajęte.',
|
||||
'url' => 'Format :attribute jest nieprawidłowy.',
|
||||
'uploaded' => 'Plik nie może zostać wysłany. Serwer nie akceptuje plików o takim rozmiarze.',
|
||||
|
||||
// Custom validation lines
|
||||
'custom' => [
|
||||
'password-confirm' => [
|
||||
'required_with' => 'Potwierdzenie hasła jest wymagane.',
|
||||
],
|
||||
],
|
||||
|
||||
// Custom validation attributes
|
||||
'attributes' => [],
|
||||
];
|
Reference in New Issue
Block a user