From 16677200a3ac19e8297b5f143bf9fdf15e57769d Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 26 Jul 2007 03:09:13 +0000 Subject: [PATCH] adding some strings --- grade/report/outcomes/course.php | 10 +++++----- grade/report/outcomes/site.php | 10 +++++----- lang/en_utf8/gradereport_outcomes.php | 5 ++++- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/grade/report/outcomes/course.php b/grade/report/outcomes/course.php index 8cb254bfa..e3f2bd843 100755 --- a/grade/report/outcomes/course.php +++ b/grade/report/outcomes/course.php @@ -105,7 +105,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, '' /// interface to add/edit/delete course specific outcomes echo '

'; - 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 'Add a new outcome'; + echo ''.get_string('addoutcome', 'gradereport_outcomes').''; } print_footer(); diff --git a/grade/report/outcomes/site.php b/grade/report/outcomes/site.php index c8bfff94c..a098b6e7d 100755 --- a/grade/report/outcomes/site.php +++ b/grade/report/outcomes/site.php @@ -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 'Add a new outcome'; + echo ''.get_string('addoutcome', 'gradereport_outcomes').''; } // print the footer, end of page admin_externalpage_print_footer(); diff --git a/lang/en_utf8/gradereport_outcomes.php b/lang/en_utf8/gradereport_outcomes.php index b7ef03a48..a755444e2 100644 --- a/lang/en_utf8/gradereport_outcomes.php +++ b/lang/en_utf8/gradereport_outcomes.php @@ -1,5 +1,8 @@ -- 2.11.4.GIT