From: moodler Date: Tue, 7 Aug 2007 09:03:53 +0000 (+0000) Subject: Fixed names of total columns X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=aac4c3807f6966d264209ff94fef54cfaa9d7a68;p=moodle.git Fixed names of total columns --- diff --git a/lib/grade/grade_item.php b/lib/grade/grade_item.php index b61350db2b..da4b6e7f26 100644 --- a/lib/grade/grade_item.php +++ b/lib/grade/grade_item.php @@ -1082,7 +1082,10 @@ class grade_item extends grade_object { return format_string($this->itemname); } else if ($this->is_course_item()) { - return get_string('total'); + return get_string('coursetotal', 'grades'); + + } else if ($this->is_category_item()) { + return get_string('categorytotal', 'grades'); } else { return get_string('grade');