]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed names of total columns
authormoodler <moodler>
Tue, 7 Aug 2007 09:03:53 +0000 (09:03 +0000)
committermoodler <moodler>
Tue, 7 Aug 2007 09:03:53 +0000 (09:03 +0000)
lib/grade/grade_item.php

index b61350db2b3d4d9c584814ca6c78556b84cd8972..da4b6e7f2682c535fda478ef45f6a3324f8ef2b7 100644 (file)
@@ -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');