Bug in AMOS?

Re: Bug in AMOS?

- Mudrák David の投稿
返信数: 6
画像 Language pack maintainers

Right. Yeah, I can see what is going on here.

If you look at the string history for the "slowwebsolution" string, you will see that the recent change was imported to AMOS. But it did not get imported as the most recent version. This latest plugin version v1.5.1 (2023012800) has Moodle 2.7 and higher marked as supported versions. So AMOS imports this string as for Moodle 2.7 and higher. But there were plugin versions such as v1.4.0 that had more recent Moodle versions marked as supported. And these strings were imported as more recent, effectively taking precedence over the 2.7 ones (even if 2.7 ones were added later).

This is not right of course. I will need to think about the best way to handle these cases.

AMOS export log

String history report

Mudrák David への返信

Re: Bug in AMOS?

- Krause Ralf の投稿
画像 Language pack maintainers

Hi David,
I just noticed that the problem still exists. The text from the English language file is not imported into the AMOS translation tool correctly.
Best regards,
Ralf

In the english language file of the plugin
$string['slowwebsolution'] = '<ul><li><a href="{$a}" target="_blank">Purge the Moodle cache</a>.</li></ul>';

In AMOS
$string['slowwebsolution'] = '<ul><li><a href="/admin/purgecaches.php" target="_blank">Purge the Moodle cache</a>.</li></ul>'

Krause Ralf への返信

Re: Bug in AMOS?

- Krause Ralf の投稿
画像 Language pack maintainers

The international translations look like this .... only French, German, and Japanese are using the string as the developer wants to see it.

Krause Ralf への返信

Re: Bug in AMOS?

- Yoshida Mitsuhiro の投稿
画像 Language pack maintainers
I also updated the Japanese string. Thank you.
Yoshida Mitsuhiro への返信

Re: Bug in AMOS?

- Krause Ralf の投稿
画像 Language pack maintainers

Hej, the japanese string was correct and is incorrect now! The english string in AMOS is wrong!
The german, the french, and the mexican spanish versions are containing the correct link.

Please look at https://github.com/mikasmart/moodle-report_benchmark/issues/32#issuecomment-1385672129 and the following comments.

Best regards,
Ralf