Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2181

Use app string in lesson question submit button

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: DEV backlog
    • Fix Version/s: None
    • Component/s: Lesson add-on
    • Labels:

      Description

      Right now the submit button shown in the lesson questions uses the string returned by the WebService. We should try to calculate this value ourselves and use app strings.

      All the questions have similar code for this:

       

              if ($hasattempt) {
                  $this->add_action_buttons(null, get_string("nextpage", "lesson"));
              } else {
                  $this->add_action_buttons(null, get_string("submit", "lesson"));
              }
      

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            dpalou Dani Palou
            Participants:
            Component watchers:
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: