From e46dda1471765c15289c45c8f845ddc23f6cd265 Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Wed, 18 May 2016 15:40:47 +0200 Subject: [PATCH] MOBILE-1571 quiz: Fix strings (they belong to question) It includes a fix in the translate of mm.question.information in to.html --- www/addons/mod_quiz/lang/en.json | 2 -- www/addons/mod_quiz/templates/player.html | 6 +++--- www/addons/mod_quiz/templates/review.html | 4 ++-- www/addons/mod_quiz/templates/toc.html | 4 ++-- www/core/components/question/lang/en.json | 2 ++ 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/www/addons/mod_quiz/lang/en.json b/www/addons/mod_quiz/lang/en.json index cbe283343d6..46450b98958 100644 --- a/www/addons/mod_quiz/lang/en.json +++ b/www/addons/mod_quiz/lang/en.json @@ -34,7 +34,6 @@ "grademethod": "Grading method", "gradesofar": "{{$a.method}}: {{$a.mygrade}} / {{$a.quizgrade}}.", "hasdatatosync": "This quiz has offline data to be synchronized.", - "information": "Information", "marks": "Marks", "mustbesubmittedby": "This attempt must be submitted by {{$a}}.", "noquestions": "No questions have been added yet", @@ -49,7 +48,6 @@ "preview": "Preview", "previewquiznow": "Preview quiz now", "question": "Question", - "questionno": "Question {{$a}}", "quizpassword": "Quiz password", "reattemptquiz": "Re-attempt quiz", "requirepasswordmessage": "To attempt this quiz you need to know the quiz password", diff --git a/www/addons/mod_quiz/templates/player.html b/www/addons/mod_quiz/templates/player.html index ec6fe37cb1f..337d08022c1 100644 --- a/www/addons/mod_quiz/templates/player.html +++ b/www/addons/mod_quiz/templates/player.html @@ -29,8 +29,8 @@
-

{{ 'mma.mod_quiz.questionno' | translate:{$a: question.number} }}

-

{{ 'mma.mod_quiz.information' | translate }}

+

{{ 'mm.question.questionno' | translate:{$a: question.number} }}

+

{{ 'mm.question.information' | translate }}

{{question.status}} {{question.readableMark}} @@ -54,7 +54,7 @@

{{ 'mma.mod_quiz.summaryofattempt' | translate }}

{{ question.number }}

{{ question.status }}

- +

diff --git a/www/addons/mod_quiz/templates/review.html b/www/addons/mod_quiz/templates/review.html index db42bfc96b2..65f8a0f81d8 100644 --- a/www/addons/mod_quiz/templates/review.html +++ b/www/addons/mod_quiz/templates/review.html @@ -51,8 +51,8 @@

{{ 'mma.mod_quiz.reviewofattempt' | translate:{$a:
-

{{ 'mma.mod_quiz.questionno' | translate:{$a: question.number} }}

-

{{ 'mma.mod_quiz.information' | translate }}

+

{{ 'mm.question.questionno' | translate:{$a: question.number} }}

+

{{ 'mm.question.information' | translate }}