Skip to content

Commit

Permalink
CHOICE MDL-24102 fix lang string
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Nov 19, 2010
1 parent a467d24 commit f51d388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mod/choice/lang/en/choice.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
$string['choice:readresponses'] = 'Read responses';
$string['choicesaved'] = 'Your choice has been saved';
$string['choicetext'] = 'Choice text';
$string['chooseaction'] = 'Choose an action ...';
$string['limit'] = 'Limit';
$string['limitanswers'] = 'Limit the number of responses allowed';
$string['modulename'] = 'Choice';
Expand Down
2 changes: 1 addition & 1 deletion mod/choice/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function display_publish_name_vertical($choices) {
$actiondata .= html_writer::tag('label', ' ' . get_string('withselected', 'quiz') . ' ', array('for'=>'menuaction'));

$actionurl = new moodle_url('/mod/choice/view.php', array('sesskey'=>sesskey(), 'action'=>'delete_confirmation()'));
$select = new single_select($actionurl, 'action', array('delete'=>get_string('delete')), null, array(''=>get_string('moveselectedusersto', 'choice')), 'attemptsform');
$select = new single_select($actionurl, 'action', array('delete'=>get_string('delete')), null, array(''=>get_string('chooseaction', 'choice')), 'attemptsform');

$actiondata .= $this->output->render($select);
}
Expand Down

0 comments on commit f51d388

Please sign in to comment.