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

third party course reports cannot follow standard naming strategy and proper language packaging (true on capability names)

    XMLWordPrintable

    Details

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

      Description

      When trying to name capabilities of additional course reports added to course/report as coursereport/customreportname:view and expecting string being fetched within the plugin scope as course/report/customreportname/lang/xx_utf8/coursereport_customereportname.php, this strategy fails :

      For this standard strategy to be solved :

      add the folowing entry :

      'coursereport_' => array('course/report'),

      to the place list in places_to_search_for_lang_strings() (moodlelib.php)

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            vf Valery Fremaux
            Tester:
            Nobody
            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:
              24/Nov/10