Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AntonT76 opened this issue Oct 24, 2023 · 1 comment
Open

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

AntonT76 opened this issue Oct 24, 2023 · 1 comment

Comments

@AntonT76
Copy link

AntonT76 commented Oct 24, 2023

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
Copy link
Contributor

state_reviewablelowercase would be the correct string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants