diff --git a/mod/quiz/lang/en/quiz.php b/mod/quiz/lang/en/quiz.php index f0a49c6f300bc..0b0f2fb006b94 100644 --- a/mod/quiz/lang/en/quiz.php +++ b/mod/quiz/lang/en/quiz.php @@ -886,7 +886,7 @@ $string['search:activity'] = 'Quiz - activity information'; $string['sectionheadingedit'] = 'Edit heading \'{$a}\''; $string['sectionheadingremove'] = 'Remove heading \'{$a}\''; -$string['sectionnoname'] = '(Untitled section)'; +$string['sectionnoname'] = 'Untitled section'; $string['seequestions'] = '(See questions)'; $string['select'] = 'Select'; $string['selectall'] = 'Select all'; diff --git a/mod/quiz/tests/behat/attempt_basic.feature b/mod/quiz/tests/behat/attempt_basic.feature index 8c529b43bb8ff..03472d41ff1f0 100644 --- a/mod/quiz/tests/behat/attempt_basic.feature +++ b/mod/quiz/tests/behat/attempt_basic.feature @@ -79,7 +79,7 @@ Feature: Attempt a quiz And I should see question "1" in section "Section 1" in the quiz navigation And I should see question "2" in section "Section 1" in the quiz navigation And I should see question "3" in section "Section 2" in the quiz navigation - And I should see question "4" in section "(Untitled section)" in the quiz navigation + And I should see question "4" in section "Untitled section" in the quiz navigation And I should see question "5" in section "Section 3" in the quiz navigation And I should see question "6" in section "Section 3" in the quiz navigation @@ -87,12 +87,12 @@ Feature: Attempt a quiz And I should see question "1" in section "Section 1" in the quiz navigation And I should see question "2" in section "Section 1" in the quiz navigation And I should see question "3" in section "Section 2" in the quiz navigation - And I should see question "4" in section "(Untitled section)" in the quiz navigation + And I should see question "4" in section "Untitled section" in the quiz navigation And I should see question "5" in section "Section 3" in the quiz navigation And I should see question "6" in section "Section 3" in the quiz navigation And I should see "Section 1" in the "quizsummaryofattempt" "table" And I should see "Section 2" in the "quizsummaryofattempt" "table" - And I should see "(Untitled section)" in the "quizsummaryofattempt" "table" + And I should see "Untitled section" in the "quizsummaryofattempt" "table" And I should see "Section 3" in the "quizsummaryofattempt" "table" And I press "Submit all and finish" @@ -100,7 +100,7 @@ Feature: Attempt a quiz And I should see question "1" in section "Section 1" in the quiz navigation And I should see question "2" in section "Section 1" in the quiz navigation And I should see question "3" in section "Section 2" in the quiz navigation - And I should see question "4" in section "(Untitled section)" in the quiz navigation + And I should see question "4" in section "Untitled section" in the quiz navigation And I should see question "5" in section "Section 3" in the quiz navigation And I should see question "6" in section "Section 3" in the quiz navigation