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

Localised standard role names and descriptions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 1.7.1, 2.1, 2.2, 2.3, 2.4
    • Roles / Access
    • MOODLE_17_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • w28_MDL-8249_m24_roletranslations
    • Hide

      none!

      Show
      none!
    • Hide

      1/ fresh new install, create some new roles, create a few course and rename some roles in them including the course contact role and enrol users to course + create some groups
      2/ test following areas, verify role names are displayed correctly (that is make sure localised role names are present, no blank names)

      • system role definitions and management
      • role management in all other context levels
      • roles in admin settings - search for "role" in admin tree
      • perform back and restore on other system
      • override role name alias
      • verify course contact roles are visible on /index.php and /course/info.php
      • verify main enrol UI role names
      • verify role names in enrol plugins settings pages and instance forms
      • verify group UI including autogroup script
      • verify mod_url extra parameters (you need to enable it in mod_url settings first)
      • verify all reports
      • verify user profile roles
      • verify role option in user selector (bulk files or list of all users)

      3/ try upgrade of existing site
      4/ try manually emptying names and descriptions of standard roles
      5/ try switching language again and verify names and descriptions are fully localised
      6/ review new help icons for role short name, full name and description on role definition page
      7/ verify form validation - empty full names are allowed for standard roles only

      Show
      1/ fresh new install, create some new roles, create a few course and rename some roles in them including the course contact role and enrol users to course + create some groups 2/ test following areas, verify role names are displayed correctly (that is make sure localised role names are present, no blank names) system role definitions and management role management in all other context levels roles in admin settings - search for "role" in admin tree perform back and restore on other system override role name alias verify course contact roles are visible on /index.php and /course/info.php verify main enrol UI role names verify role names in enrol plugins settings pages and instance forms verify group UI including autogroup script verify mod_url extra parameters (you need to enable it in mod_url settings first) verify all reports verify user profile roles verify role option in user selector (bulk files or list of all users) 3/ try upgrade of existing site 4/ try manually emptying names and descriptions of standard roles 5/ try switching language again and verify names and descriptions are fully localised 6/ review new help icons for role short name, full name and description on role definition page 7/ verify form validation - empty full names are allowed for standard roles only

      Originally the names for student and teacher could be changed in courses, I guess we could simulate it now with:

      1/ empty role name means use shortname to get rolename using get_string(); if name present in role definition use format_string() that handles multilang names
      2/ add role name plural field to handle plurals correctly
      3/ add function get_role_name() and get_role_name_plural() and search&replace in codebase

      ideas?

            Votes:
            17 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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