]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16072 adding missing lang strings
authorskodak <skodak>
Sun, 7 Sep 2008 22:37:32 +0000 (22:37 +0000)
committerskodak <skodak>
Sun, 7 Sep 2008 22:37:32 +0000 (22:37 +0000)
lang/en_utf8/forum.php
mod/forum/lib.php

index 606916a447131972d521ac55980dfe46763bc2e4..e5fd92af3133efd57790ef60a1dd8e2e9bee4229 100644 (file)
@@ -21,6 +21,7 @@ $string['allowsdiscussions'] = 'This forum allows each person to start one discu
 $string['allsubscribe'] = 'Subscribe to all forums';
 $string['allunsubscribe'] = 'Unsubscribe from all forums';
 $string['anyfile'] = 'Any file';
+$string['areaintro'] = 'Forum introdution';
 $string['attachment'] = 'Attachment';
 $string['attachments'] = 'Attachments';
 $string['attachmentnopost'] = 'You cannot export attachments without a post id';
index 451e5808cea84ceacedb88328d5ca61c7f6f4852..4de09d2427dc28618cd48d85149b602cb3610058 100644 (file)
@@ -3982,7 +3982,7 @@ function forum_print_attachments($post, $cm, $type) {
 function forum_get_file_areas($course, $cm, $context) {
     $areas = array();
     if (has_capability('moodle/course:managefiles', $context)) {
-        $areas['forum_intro'] = 'Forum introduction files'; // TODO: localise
+        $areas['forum_intro'] = get_string('areaintro', 'forum');
     }
     return $areas;
 }