mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
This commit is contained in:
parent
0b46f19e89
commit
ea0de12f10
10 changed files with 135 additions and 16 deletions
|
@ -32,7 +32,9 @@ $string['filenotfound'] = 'File not found';
|
|||
$string['format_file'] = 'File';
|
||||
$string['format_html'] = 'HTML';
|
||||
$string['format_image'] = 'Image';
|
||||
$string['format_mbkp'] = 'Moodle Backup';
|
||||
$string['format_mbkp'] = 'Moodle Backup Format';
|
||||
$string['format_video'] = 'Video';
|
||||
$string['format_text'] = 'Plain Text';
|
||||
$string['hidden'] = 'Hidden';
|
||||
$string['instancedeleted'] = 'Portfolio deleted successfully';
|
||||
$string['instanceismisconfigured'] = 'Portfolio instance is misconfigured, skipping. Error was: $a';
|
||||
|
@ -41,6 +43,7 @@ $string['instancenotdelete'] = 'Failed to delete portfolio';
|
|||
$string['instancesaved'] = 'Portfolio saved successfully';
|
||||
$string['invalidaddformat'] = 'Invalid add format passed to portfolio_add_button. ($a) Must be one of PORTFOLIO_ADD_XXX';
|
||||
$string['invalidtempid'] = 'Invalid export id. maybe it has expired';
|
||||
$string['invalidfileargument'] = 'Invalid file argument passed to portfolio_format_from_file - must be stored_file object';
|
||||
$string['invalidformat'] = 'Something is exporting an invalid format, $a';
|
||||
$string['invalidinstance'] = 'Could not find that portfolio instance';
|
||||
$string['invalidproperty'] = 'Could not find that property ($a->property of $a->class)';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue