]> git.mjollnir.org Git - moodle.git/commitdiff
Changes to strings in print_recent_activity (added, updated, deleted activities)
authormartin <martin>
Sun, 11 Aug 2002 05:24:25 +0000 (05:24 +0000)
committermartin <martin>
Sun, 11 Aug 2002 05:24:25 +0000 (05:24 +0000)
course/lib.php
lang/en/moodle.php

index 60b945a583e9bcfe97f72dad32b63024220fa8b6..52c8546e7e3ad3422276233ee432246f706b839b 100644 (file)
@@ -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:<BR><A HREF=\"$CFG->wwwroot/course/$log->url\">$modname</A>");
                     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:<BR><A HREF=\"$CFG->wwwroot/course/$log->url\">$modname</A>");
                        }
@@ -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;
index f2760e638817b16014e7e79f44318fd8efc40412..ffe6260e57a3632157c4be7f71ca0323e0be6424 100644 (file)
@@ -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";