diff --git a/resources/views/fields/attach.blade.php b/resources/views/fields/attach.blade.php index b87c336f4..71145d18f 100644 --- a/resources/views/fields/attach.blade.php +++ b/resources/views/fields/attach.blade.php @@ -14,8 +14,8 @@ class="attach" data-attach-upload-url-value="{{ $uploadUrl ?? route('platform.systems.files.upload') }}" data-attach-sort-url-value="{{ $sortUrl ?? route('platform.systems.files.sort') }}" - data-uploader-error-size-value="{{ __('File ":name" is too large to upload') }}" - data-uploader-error-type-value="{{ __('The attached file must be an image') }}" + data-attach-error-size-value="{{ $errorMaxSizeMessage }}" + data-attach-error-type-value="{{ $errorTypeMessage }}" data-action=" drop->attach#dropFiles:prevent