Bug in AMOS?

Re: Bug in AMOS?

од David Mudrák -
Број на одговори: 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

Во одговорот до David Mudrák

Re: Bug in AMOS?

од Ralf Krause -
Слика од 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>'

Во одговорот до Ralf Krause

Re: Bug in AMOS?

од Ralf Krause -
Слика од 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.

Во одговорот до Ralf Krause

Re: Bug in AMOS?

од Mitsuhiro Yoshida -
Слика од Language pack maintainers
Во одговорот до Mitsuhiro Yoshida

Re: Bug in AMOS?

од Ralf Krause -
Слика од 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