Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29160 META: en language pack improvements
  3. MDL-31651

The title of the course info page is hardcoded

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.5, 2.2.2
    • 2.1.4, 2.2.1
    • Course
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Understanding English

      Show
      Understanding English
    • Hide

      [simple cheating instructions]
      1/ Install the german lang pack
      2/ Visit http://moodle/course/info.php?id=3&?lang=de [where 3 is a valid course id]
      Expected result:

      • The title is in german
        Actual Result:
      • Title is hardcoded english

      [Advanced through instructions]

      • On the course/ page, select a categories with many courses (more than 10).
      • Click on the blue icon right next to any course
      • Select another language than english
      • The title won't change
      Show
      [simple cheating instructions] 1/ Install the german lang pack 2/ Visit http://moodle/course/info.php?id=3&?lang=de [where 3 is a valid course id] Expected result: The title is in german Actual Result: Title is hardcoded english [Advanced through instructions] On the course/ page, select a categories with many courses (more than 10). Click on the blue icon right next to any course Select another language than english The title won't change

      The course info title is hard coded.

      To repair, simply replace this code at line 40:

      course/info.php

      $PAGE->set_heading('Course info');

      with:

      course/info.php

      $PAGE->set_heading(get_string('courseinfo'));

            poltawski Dan Poltawski
            leblangi Gilles-Philippe Leblanc
            Dan Poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.