Merge branch 'MOODLE_24_STABLE' into install_24_STABLE
Merge branch 'MOODLE_24_STABLE' into install_24_STABLE
Automatically generated installer lang files
MDL-41595 mod_book: Book mod does not add TOC to default region
Automatically generated installer lang files
MDL-41728 Backup: Unnecessary use of in_array in base_plan

Remove unnecessary use of in_array which causes performance problems
when loading the plan for very large courses.
MDL-41534 theme: Missed backporting a style to hide empty table rows
MDL-27684 repository: make require_login() throws exception instead of redirect
MDL-29987 File resource: fix problem with PDF display on mobile devices

Setting the default display option for PDF files from DISPLAY_EMBED to DISPLAY_OPEN
MDL-38317 grade import: Translation support for import mappings form.
MDL-38194 Files: Allow download of large backup files

The PHP readfile function does not work for files more than 2GB.
This commit provides a wrapper that can be used so that files less
than 2GB are sent with readfile, and files larger than 2GB are
sent manually.

The change applies to all uses of pluginfile.php, although in
reality, backup files are probably the only ones likely to be more
than two gigabytes.
Merge branch 'MOODLE_24_STABLE' into install_24_STABLE
Automatically generated installer lang files
Merge branch 'MDL-41534-24' of git://github.com/damyon/moodle into MOODLE_24_STABLE
Merge branch 'MDL-29987_24' of https://github.com/bostelm/moodle into MOODLE_24_STABLE
MDL-37524 SCORM: mode not calculated correctly.
Merge branch 'wip-MDL-27684-MOODLE_24_STABLE' of git://github.com/satrun77/moodle into MOODLE_24_STABLE
Merge branch 'm24_MDL-37524' of git://github.com/danmarsden/moodle into MOODLE_24_STABLE
Automatically generated installer lang files
Merge branch 'MDL-38194-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE