From 46217d06b507b3dc093ec9a4e631d3da772d5c0b Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 6 Nov 2002 07:40:36 +0000 Subject: [PATCH] Language fixes --- mod/forum/search.php | 14 +++++++++----- mod/journal/index.php | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/mod/forum/search.php b/mod/forum/search.php index 1ee32b5aec..432cbfd84c 100644 --- a/mod/forum/search.php +++ b/mod/forum/search.php @@ -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", "id\">$course->shortname -> - id\">Forums -> - id\">Search -> \"$search\"", "search.search"); + id\">$strforums -> + id\">$strsearch -> \"$search\"", "search.search"); } else { - print_header("$course->shortname: Search", "$course->fullname", + print_header("$course->shortname: $strsearch", "$course->fullname", "id\">$course->shortname -> - id\">Forums -> Search", "search.search"); + id\">$strforums -> $strsearch", "search.search"); } echo "
"; diff --git a/mod/journal/index.php b/mod/journal/index.php index 5ef9baa7a7..25aec9c313 100644 --- a/mod/journal/index.php +++ b/mod/journal/index.php @@ -62,9 +62,9 @@ $text = text_to_html($entry->text)."

coursemodule\">"; if ($journalopen) { - $text .= "Edit

"; + $text .= "$stredit

"; } else { - $text .= "View

"; + $text .= "$strview

"; } if ($course->format == "weeks" or $course->format == "topics") { $table->data[] = array ("$journal->section", -- 2.39.5