From 7f8ce0257b04f14b198ca35ef1613733b6b518a3 Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Thu, 2 May 2013 16:18:44 +0800 Subject: [PATCH] MDL-39437 lesson mod: rename add a question page section name to avoid conflict in behat --- mod/lesson/lang/en/lesson.php | 1 + mod/lesson/locallib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/lesson/lang/en/lesson.php b/mod/lesson/lang/en/lesson.php index 2db06be6f46..0b8b19e4a53 100644 --- a/mod/lesson/lang/en/lesson.php +++ b/mod/lesson/lang/en/lesson.php @@ -113,6 +113,7 @@ $string['continuetonextpage'] = 'Continue to next page.'; $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).'; diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index 6eba8fcd9fe..0e24878dcf8 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -696,7 +696,7 @@ abstract class lesson_add_page_form_base extends moodleform { $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);