Commit c8d99231 authored by Mihail Geshoski's avatar Mihail Geshoski
Browse files

MDL-72093 booktool_exportimscp: Replace strings in secondary nav

parent 9ce040a7
......@@ -26,7 +26,9 @@ defined('MOODLE_INTERNAL') || die;
$string['eventbookexported'] = 'Book exported';
$string['exportimscp:export'] = 'Export book as IMS content package';
$string['generateimscp'] = 'Generate IMS CP';
$string['nochapters'] = 'No book chapters found, so unable to export to IMS CP.';
$string['pluginname'] = 'Book IMS CP export';
$string['privacy:metadata'] = 'The Book IMS CP export plugin does not store any personal data.';
// Deprecated since Moodle 4.0.
$string['generateimscp'] = 'Generate IMS CP';
\ No newline at end of file
......@@ -36,6 +36,6 @@ function booktool_exportimscp_extend_settings_navigation(settings_navigation $se
if (has_capability('booktool/exportimscp:export', $PAGE->cm->context)) {
$url = new moodle_url('/mod/book/tool/exportimscp/index.php', array('id'=>$PAGE->cm->id));
$icon = new pix_icon('generate', '', 'booktool_exportimscp', array('class'=>'icon'));
$node->add(get_string('generateimscp', 'booktool_exportimscp'), $url, navigation_node::TYPE_SETTING, null, null, $icon);
$node->add(get_string('download'), $url, navigation_node::TYPE_SETTING, null, null, $icon);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment