Permalink
Browse files

Language fixes

  • Loading branch information...
1 parent 5ebe27e commit 46217d06b507b3dc093ec9a4e631d3da772d5c0b moodler committed Nov 6, 2002
Showing with 11 additions and 7 deletions.
  1. +9 −5 mod/forum/search.php
  2. +2 −2 mod/journal/index.php
View
@@ -18,15 +18,19 @@
add_to_log($course->id, "forum", "search", "search.php?id=$course->id&search=$search", "$search");
+ $strforums = get_string("modulenameplural", "forum");
+ $strsearch = get_string("search", "forum");
+ $strsearchresults = get_string("searchresults", "forum");
+
if ($search) {
- print_header("$course->shortname: Search Results", "$course->fullname",
+ print_header("$course->shortname: $strsearchresults", "$course->fullname",
"<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->
- <A HREF=\"index.php?id=$course->id\">Forums</A> ->
- <A HREF=\"search.php?id=$course->id\">Search</A> -> \"$search\"", "search.search");
+ <A HREF=\"index.php?id=$course->id\">$strforums</A> ->
+ <A HREF=\"search.php?id=$course->id\">$strsearch</A> -> \"$search\"", "search.search");
} else {
- print_header("$course->shortname: Search", "$course->fullname",
+ print_header("$course->shortname: $strsearch", "$course->fullname",
"<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->
- <A HREF=\"index.php?id=$course->id\">Forums</A> -> Search", "search.search");
+ <A HREF=\"index.php?id=$course->id\">$strforums</A> -> $strsearch", "search.search");
}
echo "<DIV ALIGN=CENTER>";
View
@@ -62,9 +62,9 @@
$text = text_to_html($entry->text)."<P ALIGN=right><A HREF=\"view.php?id=$journal->coursemodule\">";
if ($journalopen) {
- $text .= "Edit</A></P>";
+ $text .= "$stredit</A></P>";
} else {
- $text .= "View</A></P>";
+ $text .= "$strview</A></P>";
}
if ($course->format == "weeks" or $course->format == "topics") {
$table->data[] = array ("$journal->section",

0 comments on commit 46217d0

Please sign in to comment.