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

Improve get_string to make it able to deal with "paths" as the module eg "mod/forum" -> forum.php

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.9.3
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      This would make get_string a lot more flexible for code that needs to check all plugins and doesn't want to have to work out the right language file to use all the time. It also documents the language file names we use.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            dougiamas Martin Dougiamas
            Tester:
            Dongsheng Cai
            Participants:
            Component watchers:
            cameron1729, David Mudrák (@mudrd8mz), Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Oct/08