From 27038d9fe014f578683021d9a718e030a4e3c370 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 11 Aug 2002 05:24:25 +0000 Subject: [PATCH] Changes to strings in print_recent_activity (added, updated, deleted activities) --- course/lib.php | 6 +++--- lang/en/moodle.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/course/lib.php b/course/lib.php index 60b945a583..52c8546e7e 100644 --- a/course/lib.php +++ b/course/lib.php @@ -304,11 +304,11 @@ function print_recent_activity($course) { switch ($log->action) { case "add mod": - $stradded = get_string("addeda", "", get_string("modulename", $info[0])); + $stradded = get_string("added", "moodle", get_string("modulename", $info[0])); $changelist["$log->info"] = array ("operation" => "add", "text" => "$stradded:
wwwroot/course/$log->url\">$modname"); break; case "update mod": - $strupdated = get_string("updatedthe", "", get_string("modulename", $info[0])); + $strupdated = get_string("updated", "moodle", get_string("modulename", $info[0])); if (! $changelist["$log->info"]) { $changelist["$log->info"] = array ("operation" => "update", "text" => "$strupdated:
wwwroot/course/$log->url\">$modname"); } @@ -317,7 +317,7 @@ function print_recent_activity($course) { if ($changelist["$log->info"]["operation"] == "add") { $changelist["$log->info"] = NULL; } else { - $strdeleted = get_string("deleteda", "", get_string("modulename", $info[0])); + $strdeleted = get_string("deletedactivity", "moodle", get_string("modulename", $info[0])); $changelist["$log->info"] = array ("operation" => "delete", "text" => $strdeleted); } break; diff --git a/lang/en/moodle.php b/lang/en/moodle.php index f2760e6388..ffe6260e57 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -4,7 +4,7 @@ $string[activity] = "Activity"; $string[activities] = "Activities"; $string[activityreport] = "Activity report"; $string[add] = "Add"; -$string[addeda] = "Added a \$a"; +$string[added] = "Added \$a"; $string[addnewcourse] = "Add a new course"; $string[addnewuser] = "Add a new user"; $string[address] = "Address"; @@ -45,7 +45,7 @@ $string[deletecheck] = "Delete \$a ?"; $string[deletecheckfull] = "Are you absolutely sure you want to completely delete this course and all the data it contains?"; $string[deletecourse] = "Delete a course"; $string[deleted] = "Deleted"; -$string[deleteda] = "Deleted a \$a"; +$string[deletedactivity] = "Deleted \$a"; $string[deletedcourse] = "\$a has been completely deleted"; $string[deletingcourse] = "Deleting \$a"; $string[description] = "Description"; @@ -259,7 +259,7 @@ $string[turneditingon] = "Turn editing on"; $string[unenrol] = "Unenrol"; $string[unenrolme] = "Unenrol me from \$a"; $string[update] = "Update"; -$string[updatedthe] = "Updated the \$a"; +$string[updated] = "Updated \$a"; $string[updatemyprofile] = "Update profile"; $string[updatethiscourse] = "Update this course"; $string[upload] = "Upload"; -- 2.39.5