]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18125 - improve lang for options/choices
authordanmarsden <danmarsden>
Mon, 9 Feb 2009 10:09:57 +0000 (10:09 +0000)
committerdanmarsden <danmarsden>
Mon, 9 Feb 2009 10:09:57 +0000 (10:09 +0000)
lang/en_utf8/choice.php
mod/choice/mod_form.php

index 13dd74295899cfa58a5b031d2b639e9ec3d97ffe..920e1a13b52ed1d1e5abeb88ba99c205949e9d58 100644 (file)
@@ -16,6 +16,7 @@ $string['choiceclose'] = 'Until';
 $string['choicefull'] = 'This choice is full and there are no available places.';
 $string['choicename'] = 'Choice name';
 $string['choiceopen'] = 'Open';
+$string['choicesaved'] = 'Your choice has been saved';
 $string['choicetext'] = 'Choice text';
 $string['displayhorizontal'] = 'Display horizontally';
 $string['displaymode'] = 'Display Mode';
@@ -33,6 +34,7 @@ $string['noguestchoose'] = 'Sorry, guests are not allowed to make choices.';
 $string['noresultsviewable'] = 'The results are not currently viewable.';
 $string['notanswered'] = 'Not answered yet';
 $string['notopenyet'] = 'Sorry, this activity is not available until $a';
+$string['option'] = 'Option';
 $string['privacy'] = 'Privacy of results';
 $string['publish'] = 'Publish results';
 $string['publishafteranswer'] = 'Show results to a student after they answer';
@@ -53,5 +55,4 @@ $string['taken'] = 'Taken';
 $string['timerestrict'] = 'Restrict answering to this time period';
 $string['viewallresponses'] = 'View $a responses';
 $string['yourselection'] = 'Your selection';
-$string['choicesaved'] = 'Your choice has been saved';
 ?>
\ No newline at end of file
index 16dbc68e03274ecfd3509fec28d3d43856171c76..bf19b4f78edadcf37ca4ac4e3841a7a308f9b203 100644 (file)
@@ -28,8 +28,8 @@ class mod_choice_mod_form extends moodleform_mod {
 
 //-------------------------------------------------------------------------------
         $repeatarray=array();
-        $repeatarray[] = &MoodleQuickForm::createElement('header', '', get_string('choice','choice').' {no}');
-        $repeatarray[] = &MoodleQuickForm::createElement('text', 'option', get_string('choice','choice'));
+        $repeatarray[] = &MoodleQuickForm::createElement('header', '', get_string('option','choice').' {no}');
+        $repeatarray[] = &MoodleQuickForm::createElement('text', 'option', get_string('option','choice'));
         $repeatarray[] = &MoodleQuickForm::createElement('text', 'limit', get_string('limit','choice'));
         $repeatarray[] = &MoodleQuickForm::createElement('hidden', 'optionid', 0);