Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56253

filters not applied to assignment name in advanced grading interface

XMLWordPrintable

    • Any
    • MOODLE_31_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-56253-master
    • Hide
      1. Login as an admin
      2. Navigate to "Site administration / Language / Language packs"
      3. From the list of "Available language packs", install the "{{Español - Internacional ‎(es)‎‎}}" language pack.
      4. Navigate to "Site administration / Plugins / Filters / Manage filters"
      5. Turn on "Multi-Language Content" and make sure it applies to both "Content and heading".
      6. Create a course.
      7. Add an assignment activity to your course. Set it's name to

        My assign <span class="multilang" lang="en">EN</span><span class="multilang" lang="es">ES</span>
        

      8. After filling out the required fields, click "Save and display"
      9. On the assingment's page, click on the cog menu and slect "Advanced grading"
      10. Check the heading.
        • Confirm that the assignment's name is being displayed in the header as "My assign EN" and not "My assign ENES"
      11. Switch your site's language selecting "{{Español - Internacional ‎(es)‎‎}}" from the banner at the top of the site. (or by adding "&lang=es" at the end of the URL)
      12. Check the heading.
        • Confirm that the assignment's name is being displayed in the header as "My assign ES" and not "My assign ENES"
      Show
      Login as an admin Navigate to " Site administration / Language / Language packs " From the list of " Available language packs ", install the "{{Español - Internacional ‎(es)‎‎}}" language pack. Navigate to " Site administration / Plugins / Filters / Manage filters " Turn on " Multi-Language Content " and make sure it applies to both " Content and heading ". Create a course. Add an assignment activity to your course. Set it's name to My assign <span class="multilang" lang="en">EN</span><span class="multilang" lang="es">ES</span> After filling out the required fields, click " Save and display " On the assingment's page, click on the cog menu and slect " Advanced grading " Check the heading. Confirm that the assignment's name is being displayed in the header as " My assign EN " and not " My assign ENES " Switch your site's language selecting "{{Español - Internacional ‎(es)‎‎}}" from the banner at the top of the site. (or by adding " &lang=es " at the end of the URL) Check the heading. Confirm that the assignment's name is being displayed in the header as " My assign ES " and not " My assign ENES "

      format_string() is missing somewhere.

      To reproduce:

      • enable multilang filter for contents and headings
      • create assignment with name <span class="multilang" lang="en">TEST</span><span class="multilang" lang="es">PRUEBA</span>
      • go to grading interface and make sure the assignment name is displayed in the current language

      weirdly enough html tags are escaped instead of being stripped

            lucaboesch Luca Bösch
            marina Marina Glancy
            Marina Glancy Marina Glancy
            David Monllaó David Monllaó
            Gladys Basiana Gladys Basiana
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.