Skip to content
Browse files

MDL-30111 Rubric - some English strings rewording

  • Loading branch information...
1 parent 903198d commit de2eb195fef308c3dd2325aeb7f1343fd48e3823 @moodler moodler committed with mudrd8mz Nov 7, 2011
Showing with 6 additions and 22 deletions.
  1. +5 −21 grade/grading/form/rubric/lang/en/gradingform_rubric.php
  2. +1 −1 grade/grading/form/rubric/renderer.php
View
26 grade/grading/form/rubric/lang/en/gradingform_rubric.php
@@ -26,26 +26,21 @@
$string['definerubric'] = 'Define rubric';
$string['pluginname'] = 'Rubric';
-
$string['confirmdeletecriterion'] = 'Are you sure you want to delete this criterion?';
$string['confirmdeletelevel'] = 'Are you sure you want to delete this level?';
$string['description'] = 'Description';
$string['name'] = 'Name';
-
$string['addcriterion'] = 'Add criterion';
$string['criterionmoveup'] = 'Move up';
$string['criteriondelete'] = 'Delete criterion';
$string['criterionmovedown'] = 'Move down';
$string['criterionaddlevel'] = 'Add level';
-$string['scorepostfix'] = ' points';
+$string['scorepostfix'] = '{$a} points';
$string['leveldelete'] = 'Delete level';
-
$string['criterionempty'] = 'Click to edit criterion';
$string['levelempty'] = 'Click to edit level';
-
$string['rubric'] = 'Rubric';
$string['rubricoptions'] = 'Rubric options';
-
$string['sortlevelsasc'] = 'Sort order for levels:';
$string['sortlevelsasc1'] = 'Ascending by number of points';
$string['sortlevelsasc0'] = 'Descending by number of points';
@@ -55,33 +50,22 @@
$string['showscorestudent'] = 'Display points for each level to those being graded';
$string['enableremarks'] = 'Allow grader to add text remarks for each criteria';
$string['showremarksstudent'] = 'Show remarks to those being graded';
-
$string['saverubric'] = 'Save rubric and make it ready';
$string['saverubricdraft'] = 'Save as draft';
-
$string['rubricstatus'] = 'Current rubric status';
$string['statusdraft'] = 'Draft';
$string['statusready'] = 'Ready';
-
$string['err_nocriteria'] = 'Rubric must contain at least one criterion';
$string['err_mintwolevels'] = 'Each criterion must have at least two levels';
$string['err_nodescription'] = 'Criterion description can not be empty';
$string['err_nodefinition'] = 'Level definition can not be empty';
$string['err_scoreformat'] = 'Number of points for each level must be a valid non-negative number';
$string['err_totalscore'] = 'Maximum number of points possible when graded by the rubric must be more than zero';
-
-$string['regrademessage1'] = 'You are about to save changes to the rubric that has already been used for grading. Please indicate whether your changes
- are significant and students grades need to be reviewed.
- If students already graded are marked for re-grading their
- current grades remain in gradebook but the students will not see the rubric grading before teacher updates it.';
-$string['regrademessage5'] = 'You are about to save significant changes to the rubric that has already been used for grading. Please note that all students already graded will be marked for re-grading.
- The
- current grades remain in gradebook but the students will not see the rubric grading before teacher updates it.';
+$string['regrademessage1'] = 'You are about to save changes to a rubric that has already been used for grading. Please indicate if existing grades need to be reviewed. If you set this then the rubric will be hidden from students until their item is regraded.';
+$string['regrademessage5'] = 'You are about to save significant changes to a rubric that has already been used for grading. The gradebook value will be unchanged, but the rubric will be hidden from students until their item is regraded.';
$string['regradeoption0'] = 'Do not mark for regrade';
$string['regradeoption1'] = 'Mark for regrade';
-
-$string['needregrademessage'] = 'Rubric definition was changed after this student had been graded. You must update the grade otherwise it will not be shown to student.';
+$string['needregrademessage'] = 'The rubric definition was changed after this student had been graded. The student can not see this rubric until you check the rubric and update the grade.';
$string['rubricnotcompleted'] = 'Please choose something for each criterion';
-$string['restoredfromdraft'] = 'Please note: You did not submit the last attempt to grade this person. The grading is restored from draft. To cancel the changes press "Cancel" button below';
-
+$string['restoredfromdraft'] = 'NOTE: The last attempt to grade this person was not saved properly so draft grades have been restored. If you want to cancel these changes use the \'Cancel\' button below.';
$string['backtoediting'] = 'Back to editing';
View
2 grade/grading/form/rubric/renderer.php
@@ -199,7 +199,7 @@ public function level_template($mode, $options, $elementname = '{NAME}', $criter
if (isset($level['error_score'])) {
$scoreclass .= ' error';
}
- $level_template .= html_writer::tag('div', $score. get_string('scorepostfix', 'gradingform_rubric'), array('class' => $scoreclass));
+ $level_template .= html_writer::tag('div', get_string('scorepostfix', 'gradingform_rubric', $score), array('class' => $scoreclass));
}
if ($mode == gradingform_rubric_controller::DISPLAY_EDIT_FULL) {
$value = get_string('leveldelete', 'gradingform_rubric');

0 comments on commit de2eb19

Please sign in to comment.
Something went wrong with that request. Please try again.