From cc17b250d809490a21f4edc2b133ab6dcfa97af8 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 20 Dec 2005 20:19:17 +0000 Subject: [PATCH] Fixing bug #4496: strings to long in lang file --- course/participation.php | 2 +- lang/en/error.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/course/participation.php b/course/participation.php index 8b787d4248a..acf8c3c3957 100644 --- a/course/participation.php +++ b/course/participation.php @@ -52,7 +52,7 @@ if (!$modules = get_records_sql('SELECT DISTINCT module,name FROM '.$CFG->prefix.'course_modules cm JOIN '. $CFG->prefix.'modules m ON cm.module = m.id WHERE course = '.$course->id)) { - print_error('participationreportnocoursemodules',$CFG->wwwroot.'/course/view.php?id='.$course->id); + print_error('noparticipatorycms',$CFG->wwwroot.'/course/view.php?id='.$course->id); } diff --git a/lang/en/error.php b/lang/en/error.php index 54114c96729..3dcb42c4fd2 100755 --- a/lang/en/error.php +++ b/lang/en/error.php @@ -26,10 +26,10 @@ $string['modulemissingcode'] = 'Module $a is missing the code needed to perform $string['mustbeteacher'] = 'You must be a teacher to look at this page'; $string['noinstances'] = 'There are no instances of $a in this course! '; $string['nonmeaningfulcontent'] = 'Non meaningful content'; +$string['noparticipatorycms'] = 'Sorry, but you have no participatory course modules to report on.'; $string['notavailable'] = 'That is not currently available'; $string['onlyeditown'] = 'You can only edit your own information'; $string['onlyeditingteachers'] = 'Only editing teachers can do that.'; -$string['participationreportnocoursemodules'] = 'Sorry, but you have no participatory course modules to report on.'; $string['processingstops'] = 'Processing stops here. Remaining records ignored.'; $string['restricteduser'] = 'Sorry, but your current account \"$a\" is restricted from doing that.'; $string['sessionerroruser'] = 'Your session has timed out. Please login again.';