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

Course completion block lang problem

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as Admin.
      2. Install a different language pack (Site administration / Language / Language packs)
      3. Create a Course.
        • In "Completion tracking":
          • "Enable completion tracking" =  Yes.
      4. Enrol one or more Students.
      5. Create several course activities (ex. assignment, lesson, quiz).
        • In "Activity completion" settings set:
          • "Completion tracking" = Show activity as complete when conditions are met.
          • For "Require view", enable "Student must view this activity to complete it".
      6. Go to "Course administration" > Course completion.
        • In "Condition: Activity completion":
          • Check all of the activities
          • Select  "ALL selected activities to be completed" for "Condition requires".
        • Save changes.
      7. Go to Course's main page.
      8. Add a "Course completion status" block.
      9. Log in as Student enrolled in the Course.
      10. Go to the Course.
      11. On the "Course completion status" block, click on "More details".
      12. In the "Completion progress details" page change the interface language. 
        • Make sure the module name string in the "Requirement" column is translated. 
      Show
      Log in as Admin. Install a different language pack (Site administration / Language / Language packs) Create a Course. In "Completion tracking": "Enable completion tracking" =  Yes. Enrol one or more Students. Create several course activities (ex. assignment, lesson, quiz). In "Activity completion" settings set: "Completion tracking" = Show activity as complete when conditions are met. For "Require view", enable "Student must view this activity to complete it". Go to "Course administration" > Course completion. In "Condition: Activity completion": Check all of the activities Select  "ALL selected activities to be completed" for "Condition requires". Save changes. Go to Course's main page. Add a "Course completion status" block. Log in as Student enrolled in the Course. Go to the Course. On the "Course completion status" block, click on "More details". In the "Completion progress details" page change the interface language.  Make sure the module name string in the "Requirement" column is translated.  
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-54021-master

      Description

      There is a problems with this block in student report view

      In column requirement names of acticvities are not translatable and it seams they are in lower cases even if language translation uses them with an upper case.
      I think the string core_completion: viewingactivity is in use

        Attachments

          Activity

            People

            Assignee:
            Geshoski Mihail Geshoski
            Reporter:
            ralfh Ralf Hilgenstock
            Peer reviewer:
            Simey Lameze
            Integrator:
            Damyon Wiese
            Tester:
            Gladys Basiana
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jan/18