9cb966dd3cbdd2015d0f06d0a1fb949a60e568a0
[moodle.git] / lang / en / mimetypes.php
1 <?php
3 // This file is part of Moodle - http://moodle.org/
4 //
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.
9 //
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.
14 //
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/>.
18 /**
19  * Strings for component 'mimetypes', language 'en', branch 'MOODLE_20_STABLE'
20  *
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
31  *
32  * @see       get_mimetypes_array()
33  * @see       get_mimetype_description()
34  * @package   mimetypes
35  * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
36  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37  */
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';