diff --git a/public/mod/scorm/lang/en/scorm.php b/public/mod/scorm/lang/en/scorm.php index 43c8eed47cd..514b6d2f9a3 100644 --- a/public/mod/scorm/lang/en/scorm.php +++ b/public/mod/scorm/lang/en/scorm.php @@ -36,6 +36,7 @@ $string['activitypleasewait'] = 'Activity loading, please wait ...'; $string['adminsettings'] = 'Admin settings'; $string['advanced'] = 'Parameters'; $string['aliasonly'] = 'When selecting an imsmanifest.xml file from a repository you must use an alias/shortcut for this file.'; +$string['allattempts'] = 'All SCORM attempts'; $string['allowapidebug'] = 'Activate API debug and tracing (set the capture mask with apidebugmask)'; $string['allowedattemptsstudent'] = 'Allowed attempts per student'; $string['allowtypeexternal'] = 'Enable external package type'; @@ -109,7 +110,7 @@ $string['defaultdisplaysettings'] = 'Default display settings'; $string['defaultgradesettings'] = 'Default grade settings'; $string['defaultothersettings'] = 'Other default settings'; $string['deleteattemptcheck'] = 'Are you absolutely sure you want to completely delete these attempts?'; -$string['deleteallattempts'] = 'All SCORM attempts'; +$string['deleteallattempts'] = 'Delete all SCORM attempts'; $string['deleteselected'] = 'Delete selected attempts'; $string['deleteuserattemptcheck'] = 'Are you absolutely sure you want to completely delete all your attempts?'; $string['details'] = 'Track details'; diff --git a/public/mod/scorm/lib.php b/public/mod/scorm/lib.php index 4c08625a4f5..1694d111a5b 100644 --- a/public/mod/scorm/lib.php +++ b/public/mod/scorm/lib.php @@ -775,7 +775,7 @@ function scorm_option2text($scorm) { function scorm_reset_course_form_definition(&$mform) { $mform->addElement('header', 'scormheader', get_string('modulenameplural', 'scorm')); $mform->addElement('static', 'scormdelete', get_string('delete')); - $mform->addElement('advcheckbox', 'reset_scorm', get_string('deleteallattempts', 'scorm')); + $mform->addElement('advcheckbox', 'reset_scorm', get_string('allattempts', 'scorm')); } /** @@ -838,7 +838,7 @@ function scorm_reset_userdata($data) { scorm_reset_gradebook($data->courseid); } - $status[] = ['component' => $componentstr, 'item' => get_string('deleteallattempts', 'scorm'), 'error' => false]; + $status[] = ['component' => $componentstr, 'item' => get_string('allattempts', 'scorm'), 'error' => false]; } // Any changes to the list of dates that needs to be rolled should be same during course restore and course reset.