2017-01-02 11:02:21 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* validation.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
2017-01-02 14:22:04 +01:00
|
|
|
'iban' => 'To nie jest prawidłowy IBAN.',
|
2017-01-02 11:02:21 +01:00
|
|
|
'unique_account_number_for_user' => 'It looks like this account number is already in use.',
|
|
|
|
'deleted_user' => 'Due to security constraints, you cannot register using this email address.',
|
|
|
|
'rule_trigger_value' => 'This value is invalid for the selected trigger.',
|
|
|
|
'rule_action_value' => 'This value is invalid for the selected action.',
|
|
|
|
'invalid_domain' => 'Due to security constraints, you cannot register from this domain.',
|
|
|
|
'file_already_attached' => 'Uploaded file ":name" is already attached to this object.',
|
|
|
|
'file_attached' => 'Succesfully uploaded file ":name".',
|
|
|
|
'file_invalid_mime' => 'File ":name" is of type ":mime" which is not accepted as a new upload.',
|
2017-01-02 14:22:04 +01:00
|
|
|
'file_too_large' => 'Plik ": nazwa" jest zbyt duży.',
|
2017-01-02 11:02:21 +01:00
|
|
|
'belongs_to_user' => 'The value of :attribute is unknown',
|
|
|
|
'accepted' => 'The :attribute must be accepted.',
|
2017-01-02 14:22:04 +01:00
|
|
|
'bic' => 'To nie jest prawidłowy BIC.',
|
2017-01-02 14:31:56 +01:00
|
|
|
'active_url' => ':attribute nie jest prawidłowym adresem URL.',
|
|
|
|
'after' => ':attribute musi być datą późniejszą od :date.',
|
|
|
|
'alpha' => ':attribute może zawierać tylko litery.',
|
|
|
|
'alpha_dash' => ':attribute może zawierać litery, cyfry oraz myślniki.',
|
|
|
|
'alpha_num' => ':attribute może zawierać jedynie litery oraz cyfry.',
|
|
|
|
'array' => ':attribute musi być tablicą.',
|
|
|
|
'unique_for_user' => 'Istnieje już wpis z tym: attribute.',
|
|
|
|
'before' => ':attribute musi być wcześniejszą datą w stosunku do :date.',
|
|
|
|
'unique_object_for_user' => 'Ta nazwa jest już w użyciu',
|
|
|
|
'unique_account_for_user' => 'Ta nazwa konta jest już w użyciu',
|
|
|
|
'between.numeric' => ':attribute musi się mieścić w zakresie pomiędzy :min a :max.',
|
|
|
|
'between.file' => ':attribute musi się mieścić w zakresie pomiędzy :min oraz :max kilobajtów.',
|
|
|
|
'between.string' => ':attribute musi zawierać pomiędzy :min a :max znaków.',
|
|
|
|
'between.array' => ':attribute musi zawierać pomiędzy :min a :max elementów.',
|
|
|
|
'boolean' => 'Pole :attribute musi być prawdą albo fałszem.',
|
2017-01-02 11:02:21 +01:00
|
|
|
'confirmed' => 'The :attribute confirmation does not match.',
|
2017-01-02 14:31:56 +01:00
|
|
|
'date' => ':attribute nie jest prawidłową datą.',
|
|
|
|
'date_format' => ':attribute rożni się od formatu :format.',
|
|
|
|
'different' => ':attribute oraz :other muszą się różnić.',
|
|
|
|
'digits' => ':attribute musi składać się z :digits cyfr.',
|
|
|
|
'digits_between' => ':attribute musi mieć od :min do :max cyfr.',
|
|
|
|
'email' => ':attribute musi być prawidłowym adresem email.',
|
|
|
|
'filled' => 'Pole :attribute jest wymagane.',
|
|
|
|
'exists' => 'Wybrane :attribute są nieprawidłowe.',
|
|
|
|
'image' => ':attribute musi być obrazkiem.',
|
|
|
|
'in' => 'Wybrany :attribute jest nieprawidłowy.',
|
|
|
|
'integer' => ':attribute musi być liczbą całkowitą.',
|
|
|
|
'ip' => ':attribute musi być poprawnym adresem IP.',
|
2017-01-02 11:02:21 +01:00
|
|
|
'json' => 'The :attribute must be a valid JSON string.',
|
|
|
|
'max.numeric' => 'The :attribute may not be greater than :max.',
|
|
|
|
'max.file' => 'The :attribute may not be greater than :max kilobytes.',
|
|
|
|
'max.string' => 'The :attribute may not be greater than :max characters.',
|
|
|
|
'max.array' => 'The :attribute may not have more than :max items.',
|
|
|
|
'mimes' => 'The :attribute must be a file of type: :values.',
|
|
|
|
'min.numeric' => 'The :attribute must be at least :min.',
|
|
|
|
'min.file' => 'The :attribute must be at least :min kilobytes.',
|
|
|
|
'min.string' => 'The :attribute must be at least :min characters.',
|
|
|
|
'min.array' => 'The :attribute must have at least :min items.',
|
|
|
|
'not_in' => 'The selected :attribute is invalid.',
|
|
|
|
'numeric' => 'The :attribute must be a number.',
|
|
|
|
'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.',
|
|
|
|
'size.numeric' => 'The :attribute must be :size.',
|
|
|
|
'size.file' => 'The :attribute must be :size kilobytes.',
|
|
|
|
'size.string' => 'The :attribute must be :size characters.',
|
|
|
|
'size.array' => 'The :attribute must contain :size items.',
|
|
|
|
'unique' => 'The :attribute has already been taken.',
|
|
|
|
'string' => 'The :attribute must be a string.',
|
|
|
|
'url' => 'The :attribute format is invalid.',
|
|
|
|
'timezone' => 'The :attribute must be a valid zone.',
|
|
|
|
'2fa_code' => 'The :attribute field is invalid.',
|
|
|
|
'dimensions' => 'The :attribute has invalid image dimensions.',
|
|
|
|
'distinct' => 'The :attribute field has a duplicate value.',
|
|
|
|
'file' => 'The :attribute must be a file.',
|
|
|
|
'in_array' => 'The :attribute field does not exist in :other.',
|
|
|
|
'present' => 'The :attribute field must be present.',
|
|
|
|
'amount_zero' => 'The total amount cannot be zero',
|
|
|
|
];
|