Closed ndunand closed 2 months ago
I was able to reproduce the problem and will look into it now.
Found the problem. Support for variable substitution in language strings of help buttons came with Moodle 4.3. See: https://github.com/moodle/moodle/commit/36b865b3d90f1a0561b01c88b0be59d662a8598d
Since the content for these help buttons comes exclusively from the language strings it will be hard to inject something there. The only quick solution I see would be to have a static language string for Moodle <= 4.2. That's dirty but should at least work.
Fixed with fd86130fbdaaa61b5607ac5dfd7e9944356beea6 Release will follow today
Quiz archiver moodle plugin version
latest
Quiz archiver worker version
latest
Worker service deployment method
Docker compose
Moodle Version
4.2.8
PHP Version
PHP 8.1
Database
MariaDB
Operating system
Debian 12
What happened?
Expected behavior:
works fine in Moodle 4.4
Actual behavior:
localized strings are not resolved in Moodle 4.2
Additional information:
Steps to reproduce
Relevant Moodle / PHP log output (if applicable)
No response
Relevant quiz archive worker service log output (if applicable)
No response