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
У відповідь на 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