]> git.mjollnir.org Git - moodle.git/commitdiff
adding some strings
authortoyomoyo <toyomoyo>
Thu, 26 Jul 2007 03:09:13 +0000 (03:09 +0000)
committertoyomoyo <toyomoyo>
Thu, 26 Jul 2007 03:09:13 +0000 (03:09 +0000)
grade/report/outcomes/course.php
grade/report/outcomes/site.php
lang/en_utf8/gradereport_outcomes.php

index 8cb254bfa0ef368c7c6eaec7f888740d41e6172a..e3f2bd8431acd7186465319545c35a435f6f9e61 100755 (executable)
@@ -105,7 +105,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
 
     /// interface to add/edit/delete course specific outcomes
     echo '<p/>';
-    print_string('coursespecoutcome', 'grades'); // course sepcific outcomes
+    print_heading(get_string('coursespecoutcome', 'gradereport_outcomes')); // course sepcific outcomes
 
     $totalcount = count_records('grade_outcomes_courses', 'courseid', $courseid);
     $baseurl = "course.php";
@@ -114,10 +114,10 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
     if ($outcomes = get_recordset('grade_outcomes', 'courseid', $courseid, '', '*', $page * $perpage, $perpage)) {
 
         $tablecolumns = array('outcome', 'scale', 'edit', 'usedgradeitems');
-        $tableheaders = array(get_string('outcomes'),
+        $tableheaders = array(get_string('outcomes', 'grades'),
                               get_string('scale'),
-                              get_string('operations'),
-                              get_string('usedgradeitem'));
+                              '',
+                              get_string('activities'));
 
         $table = new flexible_table('outcomes');
         $table->define_columns($tablecolumns);
@@ -157,7 +157,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
         $table->print_html();
     }
     if (has_capability('gradereport/outcomes:manage', get_context_instance(CONTEXT_COURSE, $courseid))) {
-        echo '<a href="editoutcomes.php?courseid='.$courseid.'">Add a new outcome</a>';
+        echo '<a href="editoutcomes.php?courseid='.$courseid.'">'.get_string('addoutcome', 'gradereport_outcomes').'</a>';
     }
     print_footer();
 
index c8bfff94ca0a245fd5f23e8e92f1a85d2f5a567e..a098b6e7d30badf4457a63c544f42e17b398c3cf 100755 (executable)
@@ -62,12 +62,12 @@ $perpage = 30;
     if ($outcomes = get_recordset('grade_outcomes', '', '', '', '*', $page * $perpage, $perpage)) {
 
         $tablecolumns = array('outcome', 'scale', 'course', 'edit', 'usedgradeitems', 'usedcourses');
-        $tableheaders = array(get_string('outcomes'),
+        $tableheaders = array(get_string('outcomes', 'grades'),
                               get_string('scale'),
                               get_string('course'),
-                              get_string('operations'),
-                              get_string('usedgradeitem'),
-                              get_string('usedcourses'));
+                              '',
+                              get_string('activities'),
+                              get_string('courses'));
 
         $table = new flexible_table('outcomes');
         $table->define_columns($tablecolumns);
@@ -120,7 +120,7 @@ $perpage = 30;
         $table->print_html();
     }
     if (has_capability('gradereport/outcomes:manage', get_context_instance(CONTEXT_SYSTEM))) {
-        echo '<a href="editoutcomes.php">Add a new outcome</a>';
+        echo '<a href="editoutcomes.php">'.get_string('addoutcome', 'gradereport_outcomes').'</a>';
     }
     // print the footer, end of page
     admin_externalpage_print_footer();
index b7ef03a48dce0ad5f5c7bc8070d283e25e5914cf..a755444e228c8fd6da702ddfa2d190fda1250773 100644 (file)
@@ -1,5 +1,8 @@
 <?PHP // $Id$ 
 
+$string['addoutcome'] = 'Add an outcome';
+$string['courseoutcomes'] = 'Course outcomes';
+$string['coursespecoutcome'] = 'Course outcomes';
 $string['modulename'] = 'Outcomes';
-
+$string['usedgradeitem'] = 'Number of grade items';
 ?>