Use strategy-specific term for assessment dimension

This commit is contained in:
David Mudrak
2010-01-04 17:36:43 +00:00
parent c125ca37a6
commit b53f8015cd
2 changed files with 6 additions and 7 deletions
@@ -53,7 +53,7 @@ class workshop_edit_accumulative_strategy_form extends workshop_edit_strategy_fo
$repeated = array();
$repeated[] =& $mform->createElement('hidden', 'dimensionid', 0);
$repeated[] =& $mform->createElement('header', 'dimension', get_string('dimensionnumber', 'workshop', '{no}'));
$repeated[] =& $mform->createElement('header', 'dimension', get_string('dimensionnumberaccumulative', 'workshop', '{no}'));
$repeated[] =& $mform->createElement('textarea', 'description',
get_string('dimensiondescription', 'workshop'), array('cols'=>60));
$repeated[] =& $mform->createElement('select', 'grade', get_string('grade'), $gradeoptions);
@@ -69,7 +69,7 @@ class workshop_edit_accumulative_strategy_form extends workshop_edit_strategy_fo
$numofdimensionstoadd = 2;
$numofinitialdimensions = 3;
$numofdisplaydimensions = max($this->numofdimensions + $numofdimensionstoadd, $numofinitialdimensions);
$this->repeat_elements($repeated, $numofdisplaydimensions, $repeatedoptions, 'numofdimensions', 'adddimensions', $numofdimensionstoadd, get_string('addmoredimensionblanks', 'workshop', $numofdimensionstoadd));
$this->repeat_elements($repeated, $numofdisplaydimensions, $repeatedoptions, 'numofdimensions', 'adddimensions', $numofdimensionstoadd, get_string('addmoredimensionsaccumulative', 'workshop', $numofdimensionstoadd));
}
+4 -5
View File
@@ -25,7 +25,7 @@
*/
$string['accesscontrol'] = 'Access control';
$string['addmoredimensionblanks'] = 'Blanks for $a more dimensions';
$string['addmoredimensionsaccumulative'] = 'Blanks for $a more aspects';
$string['agreeassessments'] = 'Assessments must be agreed';
$string['agreeassessmentsdesc'] = 'Authors may comment assessments of their work and agree/disagree with it';
$string['anonymity'] = 'Anonymity mode';
@@ -56,10 +56,9 @@ $string['confignsassessments'] = 'Default number of allocated submissions to be
$string['configstrategy'] = 'Default grading strategy for workshops';
$string['editgradingform'] = 'Edit grading form';
$string['editinggradingform'] = 'Editing grading form';
$string['dimensiondescription'] = 'Dimension description';
$string['dimensionweight'] = 'Dimension weight';
$string['dimension'] = 'Assessment dimension';
$string['dimensionnumber'] = 'Dimension $a';
$string['dimensiondescription'] = 'Description';
$string['dimensionweight'] = 'Weight';
$string['dimensionnumberaccumulative'] = 'Aspect $a';
$string['examplesbeforeassessment'] = 'Examples are available after own submission and must be assessed before peer/self assessment phase';
$string['examplesbeforesubmission'] = 'Examples must be assessed before own submission';
$string['examplesmode'] = 'Mode of examples assessment';