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

glossary should use format-specific strings for concept and definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.9.2, 1.9.3, 1.9.4, 1.9.5
    • Glossary
    • None
    • MOODLE_19_STABLE
    • Easy

      The glossary add/edit page uses an mform that does not do format-specific string lookups for the words "concept" and "definition".

      My suggestion is to add two methods to each /mod/glossary/formats/XXX/XXX_format.php file:

      function glossary_get_concept_string_XXX

      and

      function glossary_get_concetp_string_XXX

      as well as two functions in /glossary/lib.php

      function glossary_get_concept_string($displayformat)

      and

      function glossary_get_definition_string($displayformat)

      This also requires calling these function in the mform in mod/glossary/edit_form.php, as well as a changes to each format to add these functions and to call them as required.

      I will attach a patch for 1.9.x after the JIRA has been created.

      Thanks,

      Brian

            stronk7 Eloy Lafuente (stronk7)
            brianj Brian Jorgensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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