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

Use app string in lesson question submit button

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • DEV backlog
    • None
    • Lesson add-on

    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

            Unassigned Unassigned
            dpalou Dani Palou
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: