mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-42212 mod_lesson: Localise area names
This commit is contained in:
parent
b47dc5ffea
commit
89133afae6
@ -906,14 +906,12 @@ function lesson_pluginfile($course, $cm, $context, $filearea, $args, $forcedownl
|
||||
*
|
||||
* @package mod_lesson
|
||||
* @category files
|
||||
* @todo MDL-31048 localize
|
||||
* @return array a list of available file areas
|
||||
*/
|
||||
function lesson_get_file_areas() {
|
||||
$areas = array();
|
||||
$areas['page_contents'] = 'Page contents'; //TODO: localize!!!!
|
||||
$areas['mediafile'] = 'Media file'; //TODO: localize!!!!
|
||||
|
||||
$areas['page_contents'] = get_string('pagecontents', 'mod_lesson');
|
||||
$areas['mediafile'] = get_string('mediafile', 'mod_lesson');
|
||||
return $areas;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user