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

My Moodle "You have 1 messages" is incorrectly pluralized

XMLWordPrintable

    • MOODLE_24_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-37838-master
    • Hide
      1. In a site with two users, send a message from user A to user B. Don't read the message as user B
      2. As admin, go to Site administration / ▶ Plugins / ▶ Blocks / ▶ Course overview
      3. Enable 'Show welcome area'
      4. As user B, go to moodle/my/ - verify you see the correct pluralisation of 'messages' when one message only.
      Show
      In a site with two users, send a message from user A to user B. Don't read the message as user B As admin, go to Site administration / ▶ Plugins / ▶ Blocks / ▶ Course overview Enable 'Show welcome area' As user B, go to moodle/my/ - verify you see the correct pluralisation of 'messages' when one message only.

      There's a bug in block_course_overview's renderer, in the welcome_area function which means that it pluralises message incorrectly if you have exactly one message waiting.

            poltawski Dan Poltawski
            bawjaws David Scotson
            Eric Merrill Eric Merrill
            Sam Hemelryk Sam Hemelryk
            Jason Fowler Jason Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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