3 // This file is part of Moodle - http://moodle.org/
5 // Moodle is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
10 // Moodle is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
19 * Strings for component 'mimetypes', language 'en', branch 'MOODLE_20_STABLE'
21 * Strings are used to display human-readable name of mimetype. Some mimetypes share the same
22 * string. The following attributes are passed in the parameter when processing the string:
23 * $a->ext - filename extension in lower case
24 * $a->EXT - filename extension, capitalized
25 * $a->Ext - filename extension with first capital letter
26 * $a->mimetype - file mimetype
27 * $a->mimetype1 - first chunk of mimetype (before /)
28 * $a->mimetype2 - second chunk of mimetype (after /)
29 * $a->Mimetype, $a->MIMETYPE, $a->Mimetype1, $a->Mimetype2, $a->MIMETYPE1, $a->MIMETYPE2
30 * - the same with capitalized first/all letters
32 * @see get_mimetypes_array()
33 * @see get_mimetype_description()
35 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
36 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
39 $string['application/msword'] = 'Word document';
40 $string['application/pdf'] = 'PDF document';
41 $string['application/vnd.moodle.backup'] = 'Moodle backup';
42 $string['application/vnd.ms-excel'] = 'Excel spreadsheet';
43 $string['application/vnd.ms-powerpoint'] = 'Powerpoint presentation';
44 $string['application/vnd.openxmlformats-officedocument.presentationml.presentation'] = 'Powerpoint presentation';
45 $string['application/vnd.openxmlformats-officedocument.presentationml.slideshow'] = 'Powerpoint slideshow';
46 $string['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'] = 'Excel spreadsheet';
47 $string['application/vnd.openxmlformats-officedocument.spreadsheetml.template'] = 'Excel template';
48 $string['application/vnd.openxmlformats-officedocument.wordprocessingml.document'] = 'Word document';
49 $string['archive'] = 'Archive ({$a->EXT})';
50 $string['audio'] = 'Audio file ({$a->EXT})';
51 $string['default'] = '{$a->mimetype}';
52 $string['document/unknown'] = 'File';
53 $string['image'] = 'Image ({$a->MIMETYPE2})';
54 $string['text/html'] = 'HTML document';
55 $string['text/plain'] = 'Text file';
56 $string['text/rtf'] = 'RTF document';