mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 16:21:47 +02:00
Merge branch 'MDL-56072-master' of git://github.com/cameron1729/moodle
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$string['application/epub_zip'] = 'EPUB ebook';
|
||||||
$string['application/msword'] = 'Word document';
|
$string['application/msword'] = 'Word document';
|
||||||
$string['application/pdf'] = 'PDF document';
|
$string['application/pdf'] = 'PDF document';
|
||||||
$string['application/vnd.moodle.backup'] = 'Moodle backup';
|
$string['application/vnd.moodle.backup'] = 'Moodle backup';
|
||||||
@@ -45,7 +46,6 @@ $string['application/vnd.openxmlformats-officedocument.presentationml.slideshow'
|
|||||||
$string['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'] = 'Excel spreadsheet';
|
$string['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'] = 'Excel spreadsheet';
|
||||||
$string['application/vnd.openxmlformats-officedocument.spreadsheetml.template'] = 'Excel template';
|
$string['application/vnd.openxmlformats-officedocument.spreadsheetml.template'] = 'Excel template';
|
||||||
$string['application/vnd.openxmlformats-officedocument.wordprocessingml.document'] = 'Word document';
|
$string['application/vnd.openxmlformats-officedocument.wordprocessingml.document'] = 'Word document';
|
||||||
$string['application/epub_zip'] = 'EPUB ebook';
|
|
||||||
$string['archive'] = 'Archive ({$a->EXT})';
|
$string['archive'] = 'Archive ({$a->EXT})';
|
||||||
$string['audio'] = 'Audio file ({$a->EXT})';
|
$string['audio'] = 'Audio file ({$a->EXT})';
|
||||||
$string['default'] = '{$a->mimetype}';
|
$string['default'] = '{$a->mimetype}';
|
||||||
@@ -54,3 +54,5 @@ $string['image'] = 'Image ({$a->MIMETYPE2})';
|
|||||||
$string['text/html'] = 'HTML document';
|
$string['text/html'] = 'HTML document';
|
||||||
$string['text/plain'] = 'Text file';
|
$string['text/plain'] = 'Text file';
|
||||||
$string['text/rtf'] = 'RTF document';
|
$string['text/rtf'] = 'RTF document';
|
||||||
|
$string['text/vtt'] = 'Web Video Text Track';
|
||||||
|
$string['video'] = 'Video file ({$a->EXT})';
|
||||||
|
@@ -50,7 +50,8 @@ abstract class core_filetypes {
|
|||||||
'3gp' => array('type' => 'video/quicktime', 'icon' => 'quicktime', 'groups' => array('video'), 'string' => 'video'),
|
'3gp' => array('type' => 'video/quicktime', 'icon' => 'quicktime', 'groups' => array('video'), 'string' => 'video'),
|
||||||
'7z' => array('type' => 'application/x-7z-compressed', 'icon' => 'archive',
|
'7z' => array('type' => 'application/x-7z-compressed', 'icon' => 'archive',
|
||||||
'groups' => array('archive'), 'string' => 'archive'),
|
'groups' => array('archive'), 'string' => 'archive'),
|
||||||
'aac' => array('type' => 'audio/aac', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
'aac' => array('type' => 'audio/aac', 'icon' => 'audio', 'groups' => array('audio', 'html_audio', 'web_audio'),
|
||||||
|
'string' => 'audio'),
|
||||||
'accdb' => array('type' => 'application/msaccess', 'icon' => 'base'),
|
'accdb' => array('type' => 'application/msaccess', 'icon' => 'base'),
|
||||||
'ai' => array('type' => 'application/postscript', 'icon' => 'eps', 'groups' => array('image'), 'string' => 'image'),
|
'ai' => array('type' => 'application/postscript', 'icon' => 'eps', 'groups' => array('image'), 'string' => 'image'),
|
||||||
'aif' => array('type' => 'audio/x-aiff', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
'aif' => array('type' => 'audio/x-aiff', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
||||||
@@ -90,6 +91,8 @@ abstract class core_filetypes {
|
|||||||
'eps' => array('type' => 'application/postscript', 'icon' => 'eps'),
|
'eps' => array('type' => 'application/postscript', 'icon' => 'eps'),
|
||||||
'epub' => array('type' => 'application/epub+zip', 'icon' => 'epub', 'groups' => array('document')),
|
'epub' => array('type' => 'application/epub+zip', 'icon' => 'epub', 'groups' => array('document')),
|
||||||
'fdf' => array('type' => 'application/pdf', 'icon' => 'pdf'),
|
'fdf' => array('type' => 'application/pdf', 'icon' => 'pdf'),
|
||||||
|
'flac' => array('type' => 'audio/flac', 'icon' => 'audio', 'groups' => array('audio', 'html_audio', 'web_audio'),
|
||||||
|
'string' => 'audio'),
|
||||||
'flv' => array('type' => 'video/x-flv', 'icon' => 'flash',
|
'flv' => array('type' => 'video/x-flv', 'icon' => 'flash',
|
||||||
'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'groups' => array('video', 'web_video'), 'string' => 'video'),
|
||||||
'f4v' => array('type' => 'video/mp4', 'icon' => 'flash', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'f4v' => array('type' => 'video/mp4', 'icon' => 'flash', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
||||||
@@ -142,13 +145,20 @@ abstract class core_filetypes {
|
|||||||
'mw' => array('type' => 'application/maple', 'icon' => 'math'),
|
'mw' => array('type' => 'application/maple', 'icon' => 'math'),
|
||||||
'mws' => array('type' => 'application/maple', 'icon' => 'math'),
|
'mws' => array('type' => 'application/maple', 'icon' => 'math'),
|
||||||
'm3u' => array('type' => 'audio/x-mpegurl', 'icon' => 'mp3', 'groups' => array('audio'), 'string' => 'audio'),
|
'm3u' => array('type' => 'audio/x-mpegurl', 'icon' => 'mp3', 'groups' => array('audio'), 'string' => 'audio'),
|
||||||
'mp3' => array('type' => 'audio/mp3', 'icon' => 'mp3', 'groups' => array('audio', 'web_audio'), 'string' => 'audio'),
|
'mp3' => array('type' => 'audio/mp3', 'icon' => 'mp3', 'groups' => array('audio', 'html_audio', 'web_audio'),
|
||||||
'mp4' => array('type' => 'video/mp4', 'icon' => 'mpeg', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'string' => 'audio'),
|
||||||
'm4v' => array('type' => 'video/mp4', 'icon' => 'mpeg', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'mp4' => array('type' => 'video/mp4', 'icon' => 'mpeg', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
'm4a' => array('type' => 'audio/mp4', 'icon' => 'mp3', 'groups' => array('audio'), 'string' => 'audio'),
|
'string' => 'video'),
|
||||||
'mpeg' => array('type' => 'video/mpeg', 'icon' => 'mpeg', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'm4v' => array('type' => 'video/mp4', 'icon' => 'mpeg', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
'mpe' => array('type' => 'video/mpeg', 'icon' => 'mpeg', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'string' => 'video'),
|
||||||
'mpg' => array('type' => 'video/mpeg', 'icon' => 'mpeg', 'groups' => array('video', 'web_video'), 'string' => 'video'),
|
'm4a' => array('type' => 'audio/mp4', 'icon' => 'mp3', 'groups' => array('audio', 'html_audio', 'web_audio'),
|
||||||
|
'string' => 'audio'),
|
||||||
|
'mpeg' => array('type' => 'video/mpeg', 'icon' => 'mpeg', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
|
'string' => 'video'),
|
||||||
|
'mpe' => array('type' => 'video/mpeg', 'icon' => 'mpeg', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
|
'string' => 'video'),
|
||||||
|
'mpg' => array('type' => 'video/mpeg', 'icon' => 'mpeg', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
|
'string' => 'video'),
|
||||||
'mpr' => array('type' => 'application/vnd.moodle.profiling', 'icon' => 'moodle'),
|
'mpr' => array('type' => 'application/vnd.moodle.profiling', 'icon' => 'moodle'),
|
||||||
|
|
||||||
'nbk' => array('type' => 'application/x-smarttech-notebook', 'icon' => 'archive'),
|
'nbk' => array('type' => 'application/x-smarttech-notebook', 'icon' => 'archive'),
|
||||||
@@ -171,9 +181,12 @@ abstract class core_filetypes {
|
|||||||
'odf' => array('type' => 'application/vnd.oasis.opendocument.formula', 'icon' => 'math'),
|
'odf' => array('type' => 'application/vnd.oasis.opendocument.formula', 'icon' => 'math'),
|
||||||
'odb' => array('type' => 'application/vnd.oasis.opendocument.database', 'icon' => 'base'),
|
'odb' => array('type' => 'application/vnd.oasis.opendocument.database', 'icon' => 'base'),
|
||||||
'odi' => array('type' => 'application/vnd.oasis.opendocument.image', 'icon' => 'draw'),
|
'odi' => array('type' => 'application/vnd.oasis.opendocument.image', 'icon' => 'draw'),
|
||||||
'oga' => array('type' => 'audio/ogg', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
'oga' => array('type' => 'audio/ogg', 'icon' => 'audio', 'groups' => array('audio', 'html_audio', 'web_audio'),
|
||||||
'ogg' => array('type' => 'audio/ogg', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
'string' => 'audio'),
|
||||||
'ogv' => array('type' => 'video/ogg', 'icon' => 'video', 'groups' => array('video'), 'string' => 'video'),
|
'ogg' => array('type' => 'audio/ogg', 'icon' => 'audio', 'groups' => array('audio', 'html_audio', 'web_audio'),
|
||||||
|
'string' => 'audio'),
|
||||||
|
'ogv' => array('type' => 'video/ogg', 'icon' => 'video', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
|
'string' => 'video'),
|
||||||
|
|
||||||
'pct' => array('type' => 'image/pict', 'icon' => 'image', 'groups' => array('image'), 'string' => 'image'),
|
'pct' => array('type' => 'image/pict', 'icon' => 'image', 'groups' => array('image'), 'string' => 'image'),
|
||||||
'pdf' => array('type' => 'application/pdf', 'icon' => 'pdf'),
|
'pdf' => array('type' => 'application/pdf', 'icon' => 'pdf'),
|
||||||
@@ -246,8 +259,11 @@ abstract class core_filetypes {
|
|||||||
'texinfo' => array('type' => 'application/x-texinfo', 'icon' => 'text'),
|
'texinfo' => array('type' => 'application/x-texinfo', 'icon' => 'text'),
|
||||||
'tsv' => array('type' => 'text/tab-separated-values', 'icon' => 'text'),
|
'tsv' => array('type' => 'text/tab-separated-values', 'icon' => 'text'),
|
||||||
'txt' => array('type' => 'text/plain', 'icon' => 'text', 'defaulticon' => true),
|
'txt' => array('type' => 'text/plain', 'icon' => 'text', 'defaulticon' => true),
|
||||||
'wav' => array('type' => 'audio/wav', 'icon' => 'wav', 'groups' => array('audio'), 'string' => 'audio'),
|
'vtt' => array('type' => 'text/vtt', 'icon' => 'text', 'groups' => array('html_track')),
|
||||||
'webm' => array('type' => 'video/webm', 'icon' => 'video', 'groups' => array('video'), 'string' => 'video'),
|
'wav' => array('type' => 'audio/wav', 'icon' => 'wav', 'groups' => array('audio'. 'html_audio', 'web_audio'),
|
||||||
|
'string' => 'audio'),
|
||||||
|
'webm' => array('type' => 'video/webm', 'icon' => 'video', 'groups' => array('html_video', 'video', 'web_video'),
|
||||||
|
'string' => 'video'),
|
||||||
'wmv' => array('type' => 'video/x-ms-wmv', 'icon' => 'wmv', 'groups' => array('video'), 'string' => 'video'),
|
'wmv' => array('type' => 'video/x-ms-wmv', 'icon' => 'wmv', 'groups' => array('video'), 'string' => 'video'),
|
||||||
'asf' => array('type' => 'video/x-ms-asf', 'icon' => 'wmv', 'groups' => array('video'), 'string' => 'video'),
|
'asf' => array('type' => 'video/x-ms-asf', 'icon' => 'wmv', 'groups' => array('video'), 'string' => 'video'),
|
||||||
'wma' => array('type' => 'audio/x-ms-wma', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
'wma' => array('type' => 'audio/x-ms-wma', 'icon' => 'audio', 'groups' => array('audio'), 'string' => 'audio'),
|
||||||
|
Reference in New Issue
Block a user