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

glossary should use format-specific strings for concept and definition

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              brianj Brian Jorgensen
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: