Permalink
Browse files

MDL-39437 lesson mod: rename add a question page section name to avoi…

…d conflict in behat
  • Loading branch information...
1 parent 95190fd commit 7f8ce0257b04f14b198ca35ef1613733b6b518a3 Rossiani Wijaya committed May 2, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 mod/lesson/lang/en/lesson.php
  2. +1 −1 mod/lesson/locallib.php
@@ -113,6 +113,7 @@
$string['correctanswerjump'] = 'Correct answer jump';
$string['correctanswerscore'] = 'Correct answer score';
$string['correctresponse'] = 'Correct response';
+$string['createaquestionpage'] = 'Create a question page';
$string['credit'] = 'Credit';
$string['customscoring'] = 'Custom scoring';
$string['customscoring_help'] = 'If enabled, then each answer may be given a numerical point value (positive or negative).';
View
@@ -696,7 +696,7 @@ public function custom_definition() {}
$mform = $this->_form;
$editoroptions = $this->_customdata['editoroptions'];
- $mform->addElement('header', 'qtypeheading', get_string('addaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
+ $mform->addElement('header', 'qtypeheading', get_string('createaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);

0 comments on commit 7f8ce02

Please sign in to comment.