Skip to content

Commit

Permalink
MDL-27196 workshop - hardcoded string in the number of errors strateg…
Browse files Browse the repository at this point in the history
…y form
  • Loading branch information
mudrd8mz committed Jun 22, 2011
1 parent cc50a2f commit 0ff186d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/form/numerrors/assessment_form.php
Expand Up @@ -71,7 +71,7 @@ protected function definition_inner(&$mform) {

// evaluation of the assertion
$label = get_string('dimensiongrade', 'workshopform_numerrors');
$mform->addElement('radio', 'grade__idx_' . $i, 'Your assessment', $fields->{'grade0__idx_'.$i}, 0); // todo localize
$mform->addElement('radio', 'grade__idx_' . $i, get_string('yourassessment', 'workshop'), $fields->{'grade0__idx_'.$i}, 0);
$mform->addElement('radio', 'grade__idx_' . $i, '', $fields->{'grade1__idx_'.$i}, 1);
$mform->setDefault('grade__idx_' . $i, 0);

Expand Down
1 change: 1 addition & 0 deletions mod/workshop/lang/en/workshop.php
Expand Up @@ -257,4 +257,5 @@
$string['workshop:viewauthorpublished'] = 'View authors of published submissions';
$string['workshop:viewpublishedsubmissions'] = 'View published submissions';
$string['workshop:viewreviewernames'] = 'View reviewer names';
$string['yourassessment'] = 'Your assessment';
$string['yoursubmission'] = 'Your submission';

0 comments on commit 0ff186d

Please sign in to comment.