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

Resource type names cannot be put in their own local lang files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.8, 1.9.4
    • Fix Version/s: 1.8.9, 1.9.5
    • Component/s: Resource
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Custom resource type plugins can have their own lang/ directory under /mod/resource/type/foo/lang/

      However, the name of the resource type itself has to be in the 'resource' namespace.

      e.g. $string['resourcetypefoo'] = 'Link to a Foo document';

        Attachments

          Activity

            People

            • Assignee:
              francois Francois Marier
              Reporter:
              francois Francois Marier
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/09