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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.8, 1.9.4
    • 1.8.9, 1.9.5
    • Resource
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • 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

            francois Francois Marier
            francois Francois Marier
            Sam Hemelryk Sam Hemelryk
            Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/May/09