From: moodler <moodler>
Date: Sat, 31 Jan 2004 05:55:11 +0000 (+0000)
Subject: Fixed some hard-coded strings http://moodle.org/bugs/bug.php?op=show&bugid=1011
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a80a772821f0cd8663ee3850564e4a5ae24dc9ac;p=moodle.git

Fixed some hard-coded strings http://moodle.org/bugs/bug.php?op=show&bugid=1011
---

diff --git a/mod/journal/report.php b/mod/journal/report.php
index ebe18eb0e2..e6f88e9f84 100644
--- a/mod/journal/report.php
+++ b/mod/journal/report.php
@@ -35,11 +35,13 @@
         $entrybyentry = array () ;
     }
 
-    print_header("$course->shortname: Journals", "$course->fullname",
-                 "<A HREF=../../course/view.php?id=$course->id>$course->shortname</A> ->
-                  <A HREF=index.php?id=$course->id>Journals</A> ->
-                  <A HREF=view.php?id=$cm->id>$journal->name</A> -> Responses", "",
-                  "", true);
+    $strentries = get_string("entries", "journal");
+    $strjournals = get_string("modulenameplural", "journal");
+
+    print_header("$course->shortname: $strjournals", "$course->fullname",
+                 "<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> ->
+                  <a href=\"index.php?id=$course->id\">$strjournals</a> ->
+                  <a href=\"view.php?id=$cm->id\">$journal->name</a> -> $strentries", "", "", true);
 
     if ($data = data_submitted()) {