Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.4, 2.2.1
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      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
    • Workaround:
      Hide

      Understanding English

      Show
      Understanding English
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      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'));

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12