studentquiz / moodle-mod_studentquiz

Moodle-Plugin
GNU General Public License v3.0
38 stars 37 forks source link

Changing state of a question: text in email is incomplete #471

Open AntonT76 opened 9 months ago

AntonT76 commented 9 months ago

Hi,

we are using StudentQuiz (v5.1.0 2022122200) in Moodle 4.1.4+. If someone changes the state, an automated created email will be sent to the author:

Hallo Anonymous Student,

Ihre Frage "My Question" in der StudentQuiz-Aktivität "Use this student quiz"
 im Kurs "Sandbox StudentQuiz" wurde von Anonymous Manager
 um 24 October 2023, 2:28 PM [[reviewablelowercase]]. 

Sie können diese Frage hier überprüfen: https://yourmoodle.com/.....

In language package - mod_studentquiz - emailsinglebody the original placeholder text is: GER:

Ihre Frage <b>{$a->questionname}</b> in der StudentQuiz-Aktivität <b>{$a->modulename}</b> im Kurs <b>{$a->coursename}</b> wurde von <b>{$a->actorname}</b> um <b>{$a->timestamp}</b> {$a->eventname}.

ENG:

Your question <b>{$a->questionname}</b> in StudentQuiz activity <b>{$a->modulename}</b> in course <b>{$a->coursename}</b> has been {$a->eventname} by <b>{$a->actorname}</b> at <b>{$a->timestamp}</b>.

It seems to be that the text in the e-mail is incomplete ("reviewablelowercase") --> are there some issues within the variable "eventname"?

PS: Sorry, email text is only in german

br, Anton

lucaboesch commented 7 months ago

state_reviewablelowercase would be the correct string.