MDL-32535 Completion lang string incorrect use, text
This commit is contained in:
+10
-4
@@ -34,14 +34,18 @@ $string['completion_help'] = 'If enabled, activity completion is tracked, either
|
||||
|
||||
A tick next to the activity name on the course page indicates when the activity is complete.';
|
||||
$string['completion_link'] = 'activity/completion';
|
||||
$string['completion-alt-auto-enabled'] = 'The system marks this item complete according to conditions';
|
||||
$string['completion-alt-auto-fail'] = 'Completed (did not achieve pass grade)';
|
||||
$string['completion-alt-auto-enabled'] = 'The system marks this item complete according to conditions: {$a}';
|
||||
$string['completion-alt-auto-fail'] = 'Completed: {$a} (did not achieve pass grade)';
|
||||
$string['completion-alt-auto-n'] = 'Not completed: {$a}';
|
||||
$string['completion-alt-auto-pass'] = 'Completed (achieved pass grade)';
|
||||
$string['completion-alt-auto-pass'] = 'Completed: {$a} (achieved pass grade)';
|
||||
$string['completion-alt-auto-y'] = 'Completed: {$a}';
|
||||
$string['completion-alt-manual-enabled'] = 'Students can manually mark this item complete';
|
||||
$string['completion-alt-manual-enabled'] = 'Students can manually mark this item complete: {$a}';
|
||||
$string['completion-alt-manual-n'] = 'Not completed: {$a}. Select to mark as complete.';
|
||||
$string['completion-alt-manual-y'] = 'Completed: {$a}. Select to mark as not complete.';
|
||||
$string['completion-y'] = 'Completed';
|
||||
$string['completion-n'] = 'Not completed';
|
||||
$string['completion-fail'] = 'Completed (did not achieve pass grade)';
|
||||
$string['completion-pass'] = 'Completed (achieved pass grade)';
|
||||
$string['completion_automatic'] = 'Show activity as complete when conditions are met';
|
||||
$string['completiondisabled'] = 'Disabled, not shown in activity settings';
|
||||
$string['completionexpected'] = 'Expect completed on';
|
||||
@@ -95,6 +99,7 @@ $string['completiononunenrolment']='Completion on unenrolment';
|
||||
$string['completionsettingslocked']='Completion settings locked';
|
||||
$string['completionstartonenrol']='Completion tracking begins on enrolment';
|
||||
$string['completionstartonenrolhelp']='Begin tracking a student\'s progress in course completion after course enrolment';
|
||||
$string['completed'] = 'Completed';
|
||||
$string['confirmselfcompletion']='Confirm self completion';
|
||||
$string['coursealreadycompleted']='You have already completed this course';
|
||||
$string['coursecomplete']='Course complete';
|
||||
@@ -125,6 +130,7 @@ $string['markcomplete']='Mark complete';
|
||||
$string['markedcompleteby']='Marked complete by {$a}';
|
||||
$string['markingyourselfcomplete']='Marking yourself complete';
|
||||
$string['moredetails']='More details';
|
||||
$string['notcompleted'] = 'Not completed';
|
||||
$string['nocriteriaset']='No completion criteria set for this course';
|
||||
$string['notenroled']='You are not enroled in this course';
|
||||
$string['notyetstarted']='Not yet started';
|
||||
|
||||
@@ -604,7 +604,7 @@ foreach ($progress as $user) {
|
||||
($activity->completion==COMPLETION_TRACKING_AUTOMATIC ? 'auto' : 'manual').
|
||||
'-'.$completiontype;
|
||||
|
||||
$describe=get_string('completion-alt-auto-'.$completiontype,'completion');
|
||||
$describe = get_string('completion-' . $completiontype, 'completion');
|
||||
$a=new StdClass;
|
||||
$a->state=$describe;
|
||||
$a->date=$date;
|
||||
@@ -633,7 +633,7 @@ foreach ($progress as $user) {
|
||||
$completiontype = $is_complete ? 'y' : 'n';
|
||||
$completionicon = 'completion-auto-'.$completiontype;
|
||||
|
||||
$describe = get_string('completion-alt-auto-'.$completiontype, 'completion');
|
||||
$describe = get_string('completion-' . $completiontype, 'completion');
|
||||
|
||||
$a = new stdClass();
|
||||
$a->state = $describe;
|
||||
@@ -647,7 +647,7 @@ foreach ($progress as $user) {
|
||||
} else {
|
||||
|
||||
if ($allow_marking_criteria === $criterion->id) {
|
||||
$describe = get_string('completion-alt-auto-'.$completiontype,'completion');
|
||||
$describe = get_string('completion-' . $completiontype, 'completion');
|
||||
|
||||
print '<td class="completion-progresscell">'.
|
||||
'<a href="'.$CFG->wwwroot.'/course/togglecompletion.php?user='.$user->id.'&course='.$course->id.'&rolec='.$allow_marking_criteria.'&sesskey='.sesskey().'">'.
|
||||
@@ -672,7 +672,7 @@ foreach ($progress as $user) {
|
||||
$ccompletion = new completion_completion($params);
|
||||
$completiontype = $ccompletion->is_complete() ? 'y' : 'n';
|
||||
|
||||
$describe = get_string('completion-alt-auto-'.$completiontype, 'completion');
|
||||
$describe = get_string('completion-' . $completiontype, 'completion');
|
||||
|
||||
$a = new StdClass;
|
||||
$a->state = $describe;
|
||||
|
||||
@@ -388,7 +388,7 @@ foreach($progress as $user) {
|
||||
($activity->completion==COMPLETION_TRACKING_AUTOMATIC ? 'auto' : 'manual').
|
||||
'-'.$completiontype;
|
||||
|
||||
$describe=get_string('completion-alt-auto-'.$completiontype,'completion');
|
||||
$describe = get_string('completion-' . $completiontype, 'completion');
|
||||
$a=new StdClass;
|
||||
$a->state=$describe;
|
||||
$a->date=$date;
|
||||
|
||||
Reference in New Issue
Block a user