]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14129 missing language string.
authortjhunt <tjhunt>
Thu, 11 Sep 2008 08:49:42 +0000 (08:49 +0000)
committertjhunt <tjhunt>
Thu, 11 Sep 2008 08:49:42 +0000 (08:49 +0000)
admin/modules.php
lang/en_utf8/forum.php

index b6afa1e4ce9e767c2d550f0921be04254284f10f..1d3c566df5649bc19ab49c5a7c1631b3b675524e 100644 (file)
@@ -87,7 +87,7 @@
         } else {  // Delete everything!!
 
             if ($delete == "forum") {
-                print_error("cannotdeleteforummudule", 'forum');
+                print_error("cannotdeleteforummodule", 'forum');
             }
 
             if (!$module = $DB->get_record("modules", array("name"=>$delete))) {
index 8e9808f4efea5c2e207c038165b09fb7722d1602..b430de8d5983c7755e44bf402c3dce3c2a151d26 100644 (file)
@@ -32,6 +32,7 @@ $string['bynameondate'] = 'by $a->name - $a->date';
 $string['cannotviewpostyet'] = 'You cannot read other students questions in this discussion yet because you haven\'t posted';
 $string['cannotadddiscussion'] = 'Adding discussions to this forum requires group membership.';
 $string['cannotadddiscussionall'] = 'You do not have permission to add a new discussion topic for all participants.';
+$string['cannotdeleteforummodule'] = 'You can not delete the forum module.';
 $string['cannotsubscribe'] = 'Sorry, but you must be a group member to subscribe.';
 $string['cannotunsubscribe'] = 'Could not unsubscribe you from that forum';
 $string['cannotaddsubscriber'] = 'Could not add subscriber with id $a to this forum!';