Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Strings for component 'mimetypes', language 'en', branch 'MOODLE_20_STABLE'
  19   *
  20   * Strings are used to display human-readable name of mimetype. Some mimetypes share the same
  21   * string. The following attributes are passed in the parameter when processing the string:
  22   *   $a->ext - filename extension in lower case
  23   *   $a->EXT - filename extension, capitalized
  24   *   $a->Ext - filename extension with first capital letter
  25   *   $a->mimetype - file mimetype
  26   *   $a->mimetype1 - first chunk of mimetype (before /)
  27   *   $a->mimetype2 - second chunk of mimetype (after /)
  28   *   $a->Mimetype, $a->MIMETYPE, $a->Mimetype1, $a->Mimetype2, $a->MIMETYPE1, $a->MIMETYPE2
  29   *      - the same with capitalized first/all letters
  30   *
  31   * @see       get_mimetypes_array()
  32   * @see       get_mimetype_description()
  33   * @package   core
  34   * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
  35   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  36   */
  37  
  38  $string['application/dash_xml'] = 'Dynamic Adaptive Streaming over HTTP (MPEG-DASH)';
  39  $string['application/epub_zip'] = 'EPUB ebook';
  40  $string['application/json'] = '{$a->MIMETYPE2} text';
  41  $string['application/msword'] = 'Word document';
  42  $string['application/pdf'] = 'PDF document';
  43  $string['application/vnd.moodle.backup'] = 'Moodle backup';
  44  $string['application/vnd.ms-excel'] = 'Excel spreadsheet';
  45  $string['application/vnd.ms-excel.sheet.macroEnabled.12'] = 'Excel 2007 macro-enabled workbook';
  46  $string['application/vnd.ms-powerpoint'] = 'Powerpoint presentation';
  47  $string['application/vnd.oasis.opendocument.spreadsheet'] = 'OpenDocument Spreadsheet';
  48  $string['application/vnd.oasis.opendocument.spreadsheet-template'] = 'OpenDocument Spreadsheet template';
  49  $string['application/vnd.oasis.opendocument.text'] = 'OpenDocument Text document';
  50  $string['application/vnd.oasis.opendocument.text-template'] = 'OpenDocument Text template';
  51  $string['application/vnd.oasis.opendocument.text-web'] = 'OpenDocument Web page template';
  52  $string['application/vnd.openxmlformats-officedocument.presentationml.presentation'] = 'Powerpoint 2007 presentation';
  53  $string['application/vnd.openxmlformats-officedocument.presentationml.slideshow'] = 'Powerpoint 2007 slideshow';
  54  $string['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'] = 'Excel 2007 spreadsheet';
  55  $string['application/vnd.openxmlformats-officedocument.spreadsheetml.template'] = 'Excel 2007 template';
  56  $string['application/vnd.openxmlformats-officedocument.wordprocessingml.document'] = 'Word 2007 document';
  57  $string['application/x-iwork-keynote-sffkey'] = 'iWork Keynote presentation';
  58  $string['application/x-iwork-numbers-sffnumbers'] = 'iWork Numbers spreadsheet';
  59  $string['application/x-iwork-pages-sffpages'] = 'iWork Pages document';
  60  $string['application/x-javascript'] = 'JavaScript source';
  61  $string['application/x-mpegURL'] = 'HTTP Live Streaming (HLS)';
  62  $string['application/x-mspublisher'] = 'Publisher document';
  63  $string['application/x-shockwave-flash'] = 'Flash animation';
  64  $string['application/xhtml_xml'] = 'XHTML document';
  65  $string['archive'] = 'Archive ({$a->EXT})';
  66  $string['audio'] = 'Audio file ({$a->EXT})';
  67  $string['default'] = '{$a->mimetype}';
  68  $string['document/unknown'] = 'File';
  69  $string['group:archive'] = 'Archive files';
  70  $string['group:audio'] = 'Audio files';
  71  $string['group:document'] = 'Document files';
  72  $string['group:html_audio'] = 'Audio files natively supported by browsers';
  73  $string['group:html_track'] = 'HTML track files';
  74  $string['group:html_video'] = 'Video files natively supported by browsers';
  75  $string['group:image'] = 'Image files';
  76  $string['group:media_source'] = 'Streaming media';
  77  $string['group:optimised_image'] = 'Image files to be optimised, such as badges';
  78  $string['group:presentation'] = 'Presentation files';
  79  $string['group:sourcecode'] = 'Source code';
  80  $string['group:spreadsheet'] = 'Spreadsheet files';
  81  $string['group:video'] = 'Video files';
  82  $string['group:web_audio'] = 'Audio files used on the web';
  83  $string['group:web_file'] = 'Web files';
  84  $string['group:web_image'] = 'Image files used on the web';
  85  $string['group:web_video'] = 'Video files used on the web';
  86  $string['image'] = 'Image ({$a->MIMETYPE2})';
  87  $string['image/vnd.microsoft.icon'] = 'Windows icon';
  88  $string['text/css'] = 'Cascading Style-Sheet';
  89  $string['text/csv'] = 'Comma-separated values';
  90  $string['text/html'] = 'HTML document';
  91  $string['text/plain'] = 'Text file';
  92  $string['text/rtf'] = 'RTF document';
  93  $string['text/vtt'] = 'Web Video Text Track';
  94  $string['video'] = 'Video file ({$a->EXT})';