Oqallisissiat Joseph Rézeau-imit allatat

Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga
@Gabriel,
You have nothing to do. If you are browsing your Moodle site in English, the Yes/No questions will display Yes & No radio buttons; if you browse your site in French, those buttons will automatically display the Oui & Non radio buttons!
Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga

This patch seems to work OK.

diff --git a/question/type/ddmarker/edit_ddmarker_form.php b/question/type/ddmarker/edit_ddmarker_form.php
index a30c81d87ef..e98a7e28337 100644
--- a/question/type/ddmarker/edit_ddmarker_form.php
+++ b/question/type/ddmarker/edit_ddmarker_form.php
@@ -271,6 +271,9 @@ class qtype_ddmarker_edit_form extends qtype_ddtoimage_edit_form_base {
                 }
                 // Just return the data for the first good file, there should only be one.
                 $imageinfo = $file->get_imageinfo();
+                if ($imageinfo === false && $file->get_mimetype() == 'image/svg+xml') {
+                   return array(9999, 9999);
+                }
                 $width    = $imageinfo['width'];
                 $height   = $imageinfo['height'];
                 return array($width, $height);

Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga

Hi Marcelo,

We regularly have Moodle users posting about this irritating problem of the lack of international standardization of thousands and decimal separators. This is primarily not a Moodle issue but a historical/cultural issue.

Please refer to this lengthy discussion on the topic at https://moodle.org/mod/forum/discuss.php?d=139409#p608288

My point of view in that discussion was that "it is high time for the formatting of numbers to follow a unique scientific standard, which would probably be as follows:

  • thousands separator: a blank space (no commas, etc.)
  • decimal separator: a full stop (no commas, etc.)"

In the meantime, all that the Moodle programmers can do is to provide workarounds which sometimes work, sometimes don't. store øjne

 

Moodle in English -> Questionnaire (plugin) -> Survey Pro Plugin -> Re: Survey Pro Plugin

Joseph Rézeau-mit -
Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga

Ciao Gaspare!

Which version of Moodle are you using?

What you want to achieve is explained in the documentation at https://docs.moodle.org/310/en/Questionnaire_Conditional_branching

1.2 Organization: "At least one question response in the optional section must be met for the question to be displayed."

Screen attached for Question 02 dependencies