mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-53577 repository: Added maxbytes error message
Changing the error message that is displayed to users when they upload a file that is greater than the maximum upload size. Does not include all upload cases; focuses on those most used by students.
This commit is contained in:
parent
fed66ad9e2
commit
a2fb838e82
8 changed files with 54 additions and 9 deletions
|
@ -785,7 +785,8 @@ class page_requirements_manager {
|
|||
'fullpath' => '/lib/form/dndupload.js',
|
||||
'requires' => array('node', 'event', 'json', 'core_filepicker'),
|
||||
'strings' => array(array('uploadformlimit', 'moodle'), array('droptoupload', 'moodle'), array('maxfilesreached', 'moodle'),
|
||||
array('dndenabled_inbox', 'moodle'), array('fileexists', 'moodle'), array('maxbytesforfile', 'moodle'),
|
||||
array('dndenabled_inbox', 'moodle'), array('fileexists', 'moodle'), array('maxbytesfile', 'error'),
|
||||
array('sizegb', 'moodle'), array('sizemb', 'moodle'), array('sizekb', 'moodle'), array('sizeb', 'moodle'),
|
||||
array('maxareabytesreached', 'moodle'), array('serverconnection', 'error'),
|
||||
));
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue