elearning-ostfalia / moodle-qtype_proforma

qtype proforma (a moodle-plugin for programming exercises)
0 stars 1 forks source link

Plugin is not available in AMOS for translation #8

Closed germanvaleroelizondo closed 2 months ago

germanvaleroelizondo commented 3 months ago

Hi. This plugin is not available for translation in AMOS.

Most likely there is a coding error with string concatenation.

Please see https://docs.moodle.org/404/en/Translating_plugins#Plugins_with_coding_errors

I think lines 95 to 99 in lang/en/qtype_proforma.php might be the problem, but I am not a PHP programmer, I am a mere translator.

Thanks in advance

KBorm commented 3 months ago

Thank you for the info. The string resources have been updated so that the problem should now be fixed.

germanvaleroelizondo commented 3 months ago

Thanks, BUT... strings still NOT available for translation.

There might still be other issues.

Line 225-226 looks suspicious (string concatenation) to me (but I am not a PHP programmer):

$string['regexpfromgrader_desc'] = 'To display the compiler messages, the compiler output is parsed using a regular expression. ' . 'Normally the regular expression should be used by the grader. In case of an error, however, the regular expression of the plugin can be used.';

KBorm commented 3 months ago

Oh sorry, I missed that out... should be ok now.

germanvaleroelizondo commented 2 months ago

Translations are now available in AMOS :) I will add a Mexican spanish translation soon. Thanks a lot.