mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-54021 blocks: Course completion block lang problem
This commit is contained in:
parent
109aa07648
commit
d381732329
@ -279,7 +279,8 @@ class completion_criteria_activity extends completion_criteria {
|
|||||||
$details['requirement'][] = get_string('markingyourselfcomplete', 'completion');
|
$details['requirement'][] = get_string('markingyourselfcomplete', 'completion');
|
||||||
} elseif ($cm->completion == COMPLETION_TRACKING_AUTOMATIC) {
|
} elseif ($cm->completion == COMPLETION_TRACKING_AUTOMATIC) {
|
||||||
if ($cm->completionview) {
|
if ($cm->completionview) {
|
||||||
$details['requirement'][] = get_string('viewingactivity', 'completion', $this->module);
|
$modulename = core_text::strtolower(get_string('modulename', $this->module));
|
||||||
|
$details['requirement'][] = get_string('viewingactivity', 'completion', $modulename);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_null($cm->completiongradeitemnumber)) {
|
if (!is_null($cm->completiongradeitemnumber)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user