Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-42212 mod_lesson: Localise area names

  • Loading branch information...
commit 48ffd4c6770b19c6165fa70e86a78a9aa1e54266 1 parent 4a59b3b
@FMCorz FMCorz authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 mod/lesson/lib.php
View
6 mod/lesson/lib.php
@@ -890,14 +890,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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.