MDL-13530 - Improve words used in the gradebook plugin selector dropdown menu

This commit is contained in:
tjhunt
2008-02-19 15:00:00 +00:00
parent 5f65bc5b94
commit aede0ebcc0
2 changed files with 8 additions and 4 deletions
+5 -4
View File
@@ -331,7 +331,7 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
asort($reportnames);
}
if (!empty($reportnames)) {
$menu['reportgroup']='--'.get_string('reportplugins', 'grades');
$menu['reportgroup']='--'.get_string('view');
$menu = $menu+$reportnames;
}
@@ -356,7 +356,7 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
asort($importnames);
}
if (!empty($importnames)) {
$menu['importgroup']='--'.get_string('importplugins', 'grades');
$menu['importgroup']='--'.get_string('importfrom', 'grades');
$menu = $menu+$importnames;
}
@@ -381,7 +381,7 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
asort($exportnames);
}
if (!empty($exportnames)) {
$menu['exportgroup']='--'.get_string('exportplugins', 'grades');
$menu['exportgroup']='--'.get_string('exportto', 'grades');
$menu = $menu+$exportnames;
}
@@ -446,7 +446,8 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
/// finally print/return the popup form
if ($count > 1) {
return popup_form($CFG->wwwroot.'/grade/', $menu, 'choosepluginreport', $active, 'choose', '', '', $return, 'self', get_string('view'));
return popup_form($CFG->wwwroot.'/grade/', $menu, 'choosepluginreport', '',
get_string('chooseaction', 'grades'), '', '', $return, 'self');
} else {
// only one option - no plugin selector needed
return '';
+3
View File
@@ -65,6 +65,7 @@ $string['categoryname'] = 'Category name';
$string['categorytotal'] = 'Category total';
$string['changereportdefaults'] = 'Change report defaults';
$string['choosecategory'] = 'Select category';
$string['chooseaction'] = 'Choose an action ...';
$string['compact'] = 'Compact';
$string['configdisablegradehistory'] = 'Disable history tracking of changes in grades related tables. This may speed up the server a little and conserve space in database.';
$string['configaggregationposition'] = 'Defines the position of the aggregation total column in the report related to the grades being aggregated.';
@@ -161,6 +162,7 @@ $string['export'] = 'Export';
$string['exportfeedback'] = 'Include feedback in export';
$string['exportplugins'] = 'Export plugins';
$string['exportselectedoutcomes'] = 'Export selected outcomes';
$string['exportto'] = 'Export to';
$string['extracredit'] = 'Extra Credit';
$string['extracreditwarning'] = 'Note: Setting all items for a category to extra credit will effectively remove them from the grade calculation. Since there will be no point total';
$string['feedback'] = 'Feedback';
@@ -258,6 +260,7 @@ $string['import'] = 'Import';
$string['importcsv'] = 'Import CSV';
$string['importcustom'] = 'Import as custom outcomes (only this course)';
$string['importerror'] = 'An error occured, this script wasn\'t called with the right parameters.';
$string['importfrom'] = 'Import from';
$string['importfailed'] = 'Import failed';
$string['importfeedback'] = 'Import feedback';
$string['importfile'] = 'Import file';