17 lines
560 B
PHP
17 lines
560 B
PHP
<?php
|
|
|
|
return [
|
|
'image' => [
|
|
'not_found' => 'Image not found.',
|
|
],
|
|
'upload' => [
|
|
'required' => 'An image file is required.',
|
|
'invalid_file' => 'Invalid file.',
|
|
'not_image' => 'Only image files can be uploaded.',
|
|
'invalid_mime' => 'Only jpeg, jpg, png, gif, webp formats are supported.',
|
|
'too_large' => 'The file size exceeds the allowed limit (:max MB).',
|
|
'forbidden' => 'You do not have permission to upload images.',
|
|
'failed' => 'Image upload failed.',
|
|
],
|
|
];
|