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

My Moodle "You have 1 messages" is incorrectly pluralized

    XMLWordPrintable

Details

    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              bawjaws David Scotson
              Eric Merrill Eric Merrill
              Sam Hemelryk Sam Hemelryk
              Jason Fowler Jason Fowler
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jul/14