Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.5
    • Fix Version/s: None
    • Component/s: Accessibility, Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      753

      Description

      Often in Moodle a label is associated with a variable number. The number may change from zero to two or more. Because the number isn't known in advance the label is pluralized with a trailing "s" surrounded by parentheses, e.g., "This quiz is limited to 1 attempt(s)."

      Why it matters

      While a sighted person has no trouble understanding the metaphor, a blind person hears, "This quiz is limited to two attempt open parenthesis ess close parenthesis." Several times I observed users backtracking and listening to this word again in order to understand it.

      Possible solution

      The best solution would be a robust pluralization algorithm. Many languages and frameworks have this already. Removing the parenthesized "s" entirely would be more accessible.

      1. str.txt
        11 kB
        Rossiani Wijaya

        Issue Links

          Activity

          Hide
          Helen Foster added a comment -

          Unfortunately it seems the solution to this issue is rather complicated - see linked issue MDL-12433.

          Show
          Helen Foster added a comment - Unfortunately it seems the solution to this issue is rather complicated - see linked issue MDL-12433 .
          Hide
          Rossiani Wijaya added a comment -

          Currently, David is working on improving the language components and hopefully he will be able to work on pluralization. I will post an update when David finish working on it.

          Show
          Rossiani Wijaya added a comment - Currently, David is working on improving the language components and hopefully he will be able to work on pluralization. I will post an update when David finish working on it.
          Hide
          Martin Dougiamas added a comment -

          The linked bug looks like a good solution, but until then

          Rosie:

          1) How many times does the "(s)" get used in Moodle? I don't think there are many.

          2) Can you fix this string? "Number of attempts allowed: 1"

          Show
          Martin Dougiamas added a comment - The linked bug looks like a good solution, but until then Rosie: 1) How many times does the "(s)" get used in Moodle? I don't think there are many. 2) Can you fix this string? "Number of attempts allowed: 1"
          Hide
          Rossiani Wijaya added a comment -

          Currently, there are 74 strings contain '(s)' in 2.0.
          Please view the attachment for list of strings.

          Show
          Rossiani Wijaya added a comment - Currently, there are 74 strings contain '(s)' in 2.0. Please view the attachment for list of strings.
          Hide
          Michael de Raadt added a comment -

          Thanks for reporting this issue.

          We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported.

          If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

          Michael d.

          TW9vZGxlDQo=

          Show
          Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d. TW9vZGxlDQo=
          Hide
          Michael de Raadt added a comment -

          I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported.

          This is being done as part of a bulk annual clean-up of issues.

          If you still believe this is an issue in supported versions, please create a new issue.

          Show
          Michael de Raadt added a comment - I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported. This is being done as part of a bulk annual clean-up of issues. If you still believe this is an issue in supported versions, please create a new issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: