]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some more missing strings
authormoodler <moodler>
Wed, 6 Nov 2002 09:13:19 +0000 (09:13 +0000)
committermoodler <moodler>
Wed, 6 Nov 2002 09:13:19 +0000 (09:13 +0000)
lang/en/forum.php
mod/forum/search.php

index 859aa44d44b9e5a1a643361265a0f918f5540a2a..fedd7cc378226020860fe4711ce71f5c71c49790 100644 (file)
@@ -59,6 +59,7 @@ $string['newforumposts'] = "New forum posts";
 $string['nodiscussions'] = "There are no discussion topics yet in this forum";
 $string['noguestpost'] = "Sorry, guests are not allowed to post";
 $string['noposts'] = "No posts";
+$string['nopostscontaining'] = "No posts containing '\$a' were found";
 $string['nosubscribers'] = "There are no subscribers yet for this forum";
 $string['nownotsubscribed'] = "\$a->name will NOT receive copies of '\$a->forum' by email.";
 $string['nowsubscribed'] = "\$a->name will receive copies of '\$a->forum' by email.";
@@ -69,6 +70,7 @@ $string['openmode1'] = "No discussions, but replies are allowed";
 $string['openmode2'] = "Discussions and replies are allowed";
 $string['parentofthispost'] = "Parent of this post";
 $string['postadded'] = "Your post was successfully added.<P>You have \$a to edit it if you want to make any changes.";
+$string['postincontext'] = "See this post in context";
 $string['postmailinfo'] = "This is a copy of a message posted on the \$a website.
 To add your reply via the website, click on this link:";
 
index 432cbfd84cfcd7ceaceb3b50adf93d9773991a02..7e60a588610771bca2ccc054737f596389f0557f 100644 (file)
@@ -53,7 +53,7 @@
                                   ORDER BY p.modified DESC LIMIT 0, 50 ");
 
         if (!$posts) {
-            print_heading("<BR>No posts found containing \"$search\"");
+            print_heading("<BR>".get_string("nopostscontaining", "forum", $search));
 
         } else {
             foreach ($posts as $post) {
@@ -75,7 +75,7 @@
                 $post->subject = $fullsubject;
                 $post->message = highlight("$search", $post->message);
 
-                $fulllink = "<P ALIGN=right><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">See this post in context</A></P>";
+                $fulllink = "<P ALIGN=right><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">".get_string("postincontext", "forum")."</A></P>";
                 forum_print_post($post, $course->id, false, false, false, false, $fulllink);
 
                 echo "<BR>";