mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Changes to strings in print_recent_activity (added, updated, deleted activities)
This commit is contained in:
parent
4b1371a74c
commit
27038d9fe0
@ -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;
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user