mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 17:57:09 +00:00
94 lines
8.0 KiB
PHP
94 lines
8.0 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* 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 [
|
|
'iban' => 'Это некорректный IBAN.',
|
|
'unique_account_number_for_user' => 'Этот номер счёта уже используется.',
|
|
'deleted_user' => 'По соображениям безопасности, вы не можете зарегистрироваться, используя этот адрес электронной почты.',
|
|
'rule_trigger_value' => 'Это значение является недопустимым для выбранного триггера.',
|
|
'rule_action_value' => 'Это значение является недопустимым для выбранного действия.',
|
|
'file_already_attached' => 'Загруженный файл ":name" уже прикреплён к этому объекту.',
|
|
'file_attached' => 'Файл ":name". успешно загружен.',
|
|
'file_invalid_mime' => 'Файл ":name" имеет тип ":mime". Загрузка файлов такого типа невозможна.',
|
|
'file_too_large' => 'Файл ":name" слишком большой.',
|
|
'belongs_to_user' => 'Значение :attribute неизвестно',
|
|
'accepted' => 'Необходимо принять :attribute.',
|
|
'bic' => 'Это некорректный BIC.',
|
|
'more' => ':attribute должен быть больше нуля.',
|
|
'active_url' => ':attribute не является допустимым URL-адресом.',
|
|
'after' => ':attribute должна быть позже :date.',
|
|
'alpha' => ':attribute может содержать только буквы.',
|
|
'alpha_dash' => ':attribute может содержать только буквы, числа и дефис.',
|
|
'alpha_num' => ':attribute может содержать только буквы и числа.',
|
|
'array' => 'The :attribute must be an array.',
|
|
'unique_for_user' => 'There already is an entry with this :attribute.',
|
|
'before' => 'The :attribute must be a date before :date.',
|
|
'unique_object_for_user' => 'This name is already in use',
|
|
'unique_account_for_user' => 'This account name is already in use',
|
|
'between.numeric' => 'The :attribute must be between :min and :max.',
|
|
'between.file' => 'The :attribute must be between :min and :max kilobytes.',
|
|
'between.string' => 'The :attribute must be between :min and :max characters.',
|
|
'between.array' => 'The :attribute must have between :min and :max items.',
|
|
'boolean' => 'The :attribute field must be true or false.',
|
|
'confirmed' => 'The :attribute confirmation does not match.',
|
|
'date' => 'The :attribute is not a valid date.',
|
|
'date_format' => 'The :attribute does not match the format :format.',
|
|
'different' => 'The :attribute and :other must be different.',
|
|
'digits' => 'The :attribute must be :digits digits.',
|
|
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
|
'email' => 'The :attribute must be a valid email address.',
|
|
'filled' => 'The :attribute field is required.',
|
|
'exists' => 'The selected :attribute is invalid.',
|
|
'image' => 'The :attribute must be an image.',
|
|
'in' => 'The selected :attribute is invalid.',
|
|
'integer' => 'The :attribute must be an integer.',
|
|
'ip' => 'The :attribute must be a valid IP address.',
|
|
'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' => 'Выбранный :attribute не верный.',
|
|
'numeric' => ':attribute должен быть числом.',
|
|
'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' => ':attribute должен быть размером :size.',
|
|
'size.file' => ':attribute должен быть размером :size килобайт.',
|
|
'size.string' => ':attribute должен состоять из :size символов.',
|
|
'size.array' => ':attribute должен содержать :size элементов.',
|
|
'unique' => ':attribute уже занят.',
|
|
'string' => 'Значение :attribute должно быть строкой.',
|
|
'url' => 'Неверный формат ввода :attribute.',
|
|
'timezone' => ':attribute должен быть в допустимом диапазоне.',
|
|
'2fa_code' => ':attribute введен неверно.',
|
|
'dimensions' => 'Недопустимые размеры изображения :attribute.',
|
|
'distinct' => 'Поле :attribute содержит повторяющееся значение.',
|
|
'file' => ':attribute должен быть файлом.',
|
|
'in_array' => 'Поле :attribute не существует в :other.',
|
|
'present' => 'Поле :attribute должно быть заполнено.',
|
|
'amount_zero' => 'Общее количество не может быть равно нулю',
|
|
'secure_password' => 'Это не безопасный пароль. Попробуйте еще раз. Для получения справки посетите https://goo.gl/NCh2tN',
|
|
];
|