Publicaciones hechas por por Joseph Rézeau

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Thanks, Matteo.

I used the @codingStandardsIgnoreStart and @codingStandardsIgnoreEnd to ignore parts of my files. This works fine inside my local moodle codechecker tool. Will it also work when I upload my plugin to the moodle plugin repo?

Moodle in English -> Moodle for mobile -> codechecker and js

por Joseph Rézeau -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

In my addon question type for mobile js file I have the following code (copied from the moodle mobile code):

// Wait for the DOM to be rendered.
        setTimeout(() => {

        });

When I scan this file through the moodle codechecker tool, it complains that:

#43: ········setTimeout(()·=>·{ Expected 1 space after "="; 0 found Expected 1 space before ">"; 0 found

But if I correct and change ·=> to ·=·> then my js script no longer works!

What should I do? Should the codechecker tool be fixed?

Promedio de valuaciones (ratings): -

Moodle in English -> Moodle for mobile -> short answer misfunction

por Joseph Rézeau -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

When creating a short-answer question, in Moodle desktop app it is possible to include a series of underscore to create an input box within the question text.

In the mobile app, the input box does get displayed, and it is possible to type text inside it (1), but when checking the answer, your input text is removed and you are invited to enter an answer. The answer should be typed on the "Answer" line (2). This is quite misleading.

Promedio de valuaciones (ratings):Useful (2)

Moodle in English -> Moodle for mobile -> Missing translations for questions

por Joseph Rézeau -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

The lack of translations has already been mentioned in this forum. In the process of making my REGEXP question type mobile-compliant I have had a look at the core question types and am surprised to find out that a number of translations are missing. When switching the language to French, in the example below for the short-answer question type, the strings I have framed in green are translated but the strings framed in red are not. And the same is true of ALL the question types.

I am surprised that the translations in the desktop version of moodle are not automatically made available to the mobile app.

Promedio de valuaciones (ratings):Useful (2)
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

This URL should give you the list of the Moodle plugins currently compatible with the mobile app: https://moodle.org/plugins/?q=award:mobile-app

That list is very short indeed. Maybe it's not complete for some reason. For instance the current version of Marcus Green's Wordselect is indeed mobile compatible but does not appear in the list.

Promedio de valuaciones (ratings):Useful (2)