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

In statslib role names are not passing multilang filters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.3, 3.3
    • Fix Version/s: 3.2.4, 3.3.1
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. Set up Moodle with at least another language pack, e.g. russian.
      2. Enable multilang filter, applied to both content and headings
      3. As admin, in admin/roles/manage.php (Users > Permissions > Define roles) modify the student role's custom full name with a string containing those language tags, for example <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span>
      4. Have a course with statistics by role to watch. Go and watch those.
      5. TEST: Make sure the role names when you call student (Learner) don't show any of the raw language tags but were interpreted.
      Show
      Set up Moodle with at least another language pack, e.g. russian. Enable multilang filter, applied to both content and headings As admin, in admin/roles/manage.php (Users > Permissions > Define roles) modify the student role's custom full name with a string containing those language tags, for example <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span> Have a course with statistics by role to watch. Go and watch those. TEST: Make sure the role names when you call student (Learner) don't show any of the raw language tags but were interpreted.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58756-statslib-roles-multilang

      Attachments

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Jul/17