Merge branch 'MDL-49484-master' of github.com:jebarviabb/moodle
This commit is contained in:
@@ -42,16 +42,23 @@ $string['addaquestionpage'] = 'Add a question page';
|
||||
$string['addaquestionpagehere'] = 'Add a question page here';
|
||||
$string['addbranchtable'] = 'Add a content page';
|
||||
$string['addcluster'] = 'Add a cluster';
|
||||
$string['addessay'] = 'Create an Essay question page';
|
||||
$string['addedabranchtable'] = 'Added a content page';
|
||||
$string['addedanendofbranch'] = 'Added an end of branch';
|
||||
$string['addedaquestionpage'] = 'Added a question page';
|
||||
$string['addedcluster'] = 'Added a cluster';
|
||||
$string['addedendofcluster'] = 'Added an end of cluster';
|
||||
$string['addendofbranch'] = 'Add end of branch';
|
||||
$string['addendofcluster'] = 'Add an end of cluster';
|
||||
$string['addmatching'] = 'Create a Matching question page';
|
||||
$string['addmultichoice'] = 'Create a Multichoice question page';
|
||||
$string['addnewgroupoverride'] = 'Add group override';
|
||||
$string['addnewuseroverride'] = 'Add user override';
|
||||
$string['addnumerical'] = 'Create a Numerical question page';
|
||||
$string['additionalattemptsremaining'] = 'Completed, You can re-attempt this lesson';
|
||||
$string['addpage'] = 'Add a page';
|
||||
$string['addshortanswer'] = 'Create a Short answer question page';
|
||||
$string['addtruefalse'] = 'Create a True/false question page';
|
||||
$string['allowofflineattempts'] = 'Allow lesson to be attempted offline using the mobile app';
|
||||
$string['allowofflineattempts_help'] = 'If enabled, a mobile app user can download the lesson and attempt it offline.
|
||||
All the possible answers and correct responses will be downloaded as well.
|
||||
@@ -162,11 +169,22 @@ $string['displayscorewithessays'] = '<p>You earned {$a->score} out of {$a->tempm
|
||||
$string['displayscorewithoutessays'] = 'Your score is {$a->score} (out of {$a->grade}).';
|
||||
$string['duplicatepagenamed'] = 'Duplicate page: {$a}';
|
||||
$string['edit'] = 'Edit';
|
||||
$string['editbranchtable'] = 'Editing a content page';
|
||||
$string['editcluster'] = 'Editing a cluster';
|
||||
$string['editendofcluster'] = 'Editing an end of cluster page';
|
||||
$string['editendofbranch'] = 'Editing an end of branch page';
|
||||
$string['editessay'] = 'Editing an Essay question page';
|
||||
$string['editingquestionpage'] = 'Editing {$a} question page';
|
||||
$string['editlessonsettings'] = 'Edit lesson settings';
|
||||
$string['editmatching'] = 'Editing a Matching question page';
|
||||
$string['editmultichoice'] = 'Editing a Multichoice question page';
|
||||
$string['editnumerical'] = 'Editing a Numerical question page';
|
||||
$string['editoverride'] = 'Edit override';
|
||||
$string['editpage'] = 'Edit page contents';
|
||||
$string['editpagecontent'] = 'Edit page contents';
|
||||
$string['editquestion'] = 'Editing a question page';
|
||||
$string['editshortanswer'] = 'Editing a Short answer question page';
|
||||
$string['edittruefalse'] = 'Editing a True/false question page';
|
||||
$string['email'] = 'Email';
|
||||
$string['emailallgradedessays'] = 'Email ALL graded essays';
|
||||
$string['emailgradedessays'] = 'Email graded essays';
|
||||
|
||||
@@ -1247,7 +1247,13 @@ abstract class lesson_add_page_form_base extends moodleform {
|
||||
$mform = $this->_form;
|
||||
$editoroptions = $this->_customdata['editoroptions'];
|
||||
|
||||
$mform->addElement('header', 'qtypeheading', get_string('createaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
|
||||
if ($this->qtypestring != 'selectaqtype') {
|
||||
if ($this->_customdata['edit']) {
|
||||
$mform->addElement('header', 'qtypeheading', get_string('edit'. $this->qtypestring, 'lesson'));
|
||||
} else {
|
||||
$mform->addElement('header', 'qtypeheading', get_string('add'. $this->qtypestring, 'lesson'));
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($this->_customdata['returnto'])) {
|
||||
$mform->addElement('hidden', 'returnto', $this->_customdata['returnto']);
|
||||
|
||||
@@ -324,7 +324,11 @@ class lesson_add_page_form_branchtable extends lesson_add_page_form_base {
|
||||
|
||||
$jumptooptions = lesson_page_type_branchtable::get_jumptooptions($firstpage, $lesson);
|
||||
|
||||
$mform->setDefault('qtypeheading', get_string('addabranchtable', 'lesson'));
|
||||
if ($this->_customdata['edit']) {
|
||||
$mform->setDefault('qtypeheading', get_string('editbranchtable', 'lesson'));
|
||||
} else {
|
||||
$mform->setDefault('qtypeheading', get_string('addabranchtable', 'lesson'));
|
||||
}
|
||||
|
||||
$mform->addElement('hidden', 'firstpage');
|
||||
$mform->setType('firstpage', PARAM_BOOL);
|
||||
|
||||
Reference in New Issue
Block a user