mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-22 15:30:57 -04:00
Fix DropZone messages
This commit is contained in:
parent
3594d1bea0
commit
6ad9d86ceb
@ -427,7 +427,7 @@
|
|||||||
addRemoveLinks:true,
|
addRemoveLinks:true,
|
||||||
dictRemoveFileConfirmation:"{{trans('texts.are_you_sure')}}",
|
dictRemoveFileConfirmation:"{{trans('texts.are_you_sure')}}",
|
||||||
@foreach(['default_message', 'fallback_message', 'fallback_text', 'file_too_big', 'invalid_file_type', 'response_error', 'cancel_upload', 'cancel_upload_confirmation', 'remove_file'] as $key)
|
@foreach(['default_message', 'fallback_message', 'fallback_text', 'file_too_big', 'invalid_file_type', 'response_error', 'cancel_upload', 'cancel_upload_confirmation', 'remove_file'] as $key)
|
||||||
"dict{{strval($key)}}":"{{trans('texts.dropzone_'.Utils::toClassCase($key))}}",
|
"dict{{ Utils::toClassCase($key) }}" : "{!! strip_tags(addslashes(trans('texts.dropzone_'.$key))) !!}",
|
||||||
@endforeach
|
@endforeach
|
||||||
maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user