Skip to content

Commit d048dbb

Browse files
committed
Exercise: Fix legacy language variable - refs #7378
1 parent d68da7a commit d048dbb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

public/main/exercise/multiple_answer_true_false.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct()
2424
parent::__construct();
2525
$this->type = MULTIPLE_ANSWER_TRUE_FALSE;
2626
$this->isContent = $this->getIsContent();
27-
$this->options = [1 => 'True', 2 => 'False', 3 => 'DoubtScore'];
27+
$this->options = [1 => 'True', 2 => 'False', 3 => "Don't know"];
2828
}
2929

3030
public function createAnswersForm($form)
@@ -218,7 +218,7 @@ public function createAnswersForm($form)
218218

219219
$renderer->setElementTemplate($scoreWrapperStart.$scoreInputTemplate(get_lang('Correct')), 'option[1]');
220220
$renderer->setElementTemplate($scoreInputTemplate(get_lang('Wrong')), 'option[2]');
221-
$renderer->setElementTemplate($scoreInputTemplate(get_lang('Don\'t know')).$scoreWrapperEnd, 'option[3]');
221+
$renderer->setElementTemplate($scoreInputTemplate(get_lang("Don't know")).$scoreWrapperEnd, 'option[3]');
222222

223223
$scoreInputAttrs = [
224224
'class' => 'w-24 rounded-md border border-gray-300 px-2 py-1 text-sm',

0 commit comments

Comments
 (0)