From f7e6dd4d419b4b4c09b6339696d641e50d7f89e2 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Mon, 21 May 2012 00:54:53 +0200 Subject: [PATCH] MDL-32709 book: now standard module + new strings added Note the lang file is completely disordered yet --- lib/pluginlib.php | 6 +++++- mod/book/lang/en/book.php | 13 +++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/lib/pluginlib.php b/lib/pluginlib.php index 8a19144cf61..0dc33d00626 100644 --- a/lib/pluginlib.php +++ b/lib/pluginlib.php @@ -380,6 +380,10 @@ class plugin_manager { 'social_activities', 'tag_flickr', 'tag_youtube', 'tags' ), + 'booktool' => array( + 'exportimscp', 'importhtml', 'print' + ), + 'coursereport' => array( //deprecated! ), @@ -441,7 +445,7 @@ class plugin_manager { ), 'mod' => array( - 'assign', 'assignment', 'chat', 'choice', 'data', 'feedback', 'folder', + 'assign', 'assignment', 'book', 'chat', 'choice', 'data', 'feedback', 'folder', 'forum', 'glossary', 'imscp', 'label', 'lesson', 'lti', 'page', 'quiz', 'resource', 'scorm', 'survey', 'url', 'wiki', 'workshop' ), diff --git a/mod/book/lang/en/book.php b/mod/book/lang/en/book.php index acbced657c2..facfdb95498 100644 --- a/mod/book/lang/en/book.php +++ b/mod/book/lang/en/book.php @@ -25,8 +25,15 @@ defined('MOODLE_INTERNAL') || die; $string['modulename'] = 'Book'; +$string['modulename_help'] = 'The book module enables a teacher to create a multi-page resource in a book-like format, with chapters and subchapters. Books can contain media files as well as text and are useful for displaying lengthy passages of information which can be broken down into sections. + +A book may be used + +* To display reading material for individual modules of study +* As a staff departmental handbook +* As a showcase portfolio of student work'; +$string['modulename_link'] = 'mod/book/view'; $string['modulenameplural'] = 'Books'; -$string['modulename_help'] = 'Book is a simple multipage study material.'; $string['pluginname'] = 'Book'; $string['pluginadministration'] = 'Book administration'; @@ -102,4 +109,6 @@ $string['errorchapter'] = 'Error reading book chapter.'; $string['page-mod-book-x'] = 'Any book module page'; -$string['missingfilemanagement'] = 'Dear users of Book module, I supposed you have already notised that it is not possible to delete or manage files used in Book chapters. Please vote in {$a} to get this fixed, thanks. Petr Škoda'; \ No newline at end of file +$string['missingfilemanagement'] = 'Dear users of Book module, I supposed you have already notised that it is not possible to delete or manage files used in Book chapters. Please vote in {$a} to get this fixed, thanks. Petr Škoda'; +$string['subplugintype_booktool'] = 'Book tool'; +$string['subplugintype_booktool_plural'] = 'Book tools';