2021-08-23 11:05:16 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
/**
|
2022-02-19 16:06:11 +00:00
|
|
|
* @copyright 2020 Ad Aures
|
2021-08-23 11:05:16 +00:00
|
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
|
|
* @link https://castopod.org/
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
|
|
|
'min_dims' =>
|
|
|
|
'{field} is either not an image, or it is not wide or tall enough.',
|
2021-11-01 17:12:03 +00:00
|
|
|
'is_image_ratio' =>
|
|
|
|
'{field} is either not an image or not of the right ratio.',
|
2024-03-01 11:32:26 +00:00
|
|
|
'is_json' => '{field} contains invalid JSON.',
|
2024-05-06 16:00:47 +00:00
|
|
|
'is_boolean' => 'The {field} field must be a boolean (true or false).',
|
|
|
|
'is_list' => 'The {field} field must be an array.',
|
2021-08-23 11:05:16 +00:00
|
|
|
];
|