From: danmarsden Date: Mon, 9 Feb 2009 10:09:57 +0000 (+0000) Subject: MDL-18125 - improve lang for options/choices X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ca5387202f8610c490263e33643fdd1674250e02;p=moodle.git MDL-18125 - improve lang for options/choices --- diff --git a/lang/en_utf8/choice.php b/lang/en_utf8/choice.php index 13dd742958..920e1a13b5 100644 --- a/lang/en_utf8/choice.php +++ b/lang/en_utf8/choice.php @@ -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 diff --git a/mod/choice/mod_form.php b/mod/choice/mod_form.php index 16dbc68e03..bf19b4f78e 100644 --- a/mod/choice/mod_form.php +++ b/mod/choice/mod_form.php @@ -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);