Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.2, 1.9.3, 1.9.4, 1.9.5
-
Fix Version/s: None
-
Component/s: Glossary
-
Labels:None
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
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
| This issue has a non-specific relationship to: | ||||
| MDL-16438 | centralise information about plugins to avoid duplication |
|
|
|
First attempt at a patch for this.