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

Choice options mislabelled

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 2.0
    • Component/s: Choice
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When editing a Choice, the options are labelled as 'choices'. They're not, they're options.

      Can be fixed by changing /mod/choice/mod_form.php lines 27-28 to:
      $repeatarray[] = &MoodleQuickForm::createElement('header', '', get_string('option','choice').'

      {no}

      ');
      $repeatarray[] = &MoodleQuickForm::createElement('text', 'option', get_string('option','choice'));

      And adding a line to /lang/en_utf8/choice.php:
      $string['option'] = 'Option';

        Attachments

          Activity

            People

            • Assignee:
              danmarsden Dan Marsden
              Reporter:
              daveyboond Steve Bond
              Participants:
              Component watchers:
              Dan Marsden, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10