From: jamiesensei Date: Fri, 19 Jan 2007 11:10:09 +0000 (+0000) Subject: fixes for 'Choose legend/header text carefully - short and non-repeated' MDL-7780 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ec3dac9876d283dbca20a8b74cd274cd5c91e10b;p=moodle.git fixes for 'Choose legend/header text carefully - short and non-repeated' MDL-7780 --- diff --git a/course/edit_form.php b/course/edit_form.php index b4eb8c815e..e0dfec65ac 100644 --- a/course/edit_form.php +++ b/course/edit_form.php @@ -244,7 +244,7 @@ class course_edit_form extends moodleform { $choices = array(); $choices['0'] = get_string('no'); $choices['1'] = get_string('yes'); - $mform->addElement('select', 'expirynotify', get_string('expirynotify'), $choices); + $mform->addElement('select', 'expirynotify', get_string('notify'), $choices); $mform->setHelpButton('expirynotify', array('expirynotify', get_string('expirynotify')), true); $mform->setDefault('expirynotify', 0); @@ -262,12 +262,12 @@ class course_edit_form extends moodleform { $mform->setDefault('expirythreshold', 10 * 86400); //-------------------------------------------------------------------------------- - $mform->addElement('header','', get_string('groupmode')); + $mform->addElement('header','', get_string('groups', 'group')); $choices = array(); - $choices[NOGROUPS] = get_string('groupsnone'); - $choices[SEPARATEGROUPS] = get_string('groupsseparate'); - $choices[VISIBLEGROUPS] = get_string('groupsvisible'); + $choices[NOGROUPS] = get_string('no'); + $choices[SEPARATEGROUPS] = get_string('separate'); + $choices[VISIBLEGROUPS] = get_string('visible'); $mform->addElement('select', 'groupmode', get_string('groupmode'), $choices); $mform->setHelpButton('groupmode', array('groupmode', get_string('groupmode')), true); $mform->setDefault('groupmode', 0); diff --git a/lang/en_utf8/form.php b/lang/en_utf8/form.php index 5985d5722c..7270fe45ee 100644 --- a/lang/en_utf8/form.php +++ b/lang/en_utf8/form.php @@ -15,7 +15,8 @@ $string['err_required']='You must supply a value here.'; $string['nomethodforaddinghelpbutton'] = 'There is no method for adding a help button to form element $a->name (class $a->classname)'; $string['nonexistentformelements'] = 'Trying to add help buttons to nonexistent form elements : $a'; $string['requiredelement'] = 'Required field'; -$string['general'] = 'General Settings'; +$string['general'] = 'General'; +$string['optional'] = 'Optional'; $string['modstandardels']='Common Module Settings'; $string['miscellaneoussettings']='Miscellaneous Settings'; $string['addfields']='Add $a fields to form'; diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index 21e4eb33c2..d9e971ec69 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -1,4 +1,4 @@ -backuprelease ($a->backupversion) and it\'s newer than your currently installed Moodle $a->serverrelease ($a->serverversion). This could cause some inconsistencies because backwards compatibility of backup files cannot be guaranteed.'; $string['notifications'] = 'Notifications'; $string['notifyloginfailuresmessage'] = '$a->time, IP: $a->ip, User: $a->info'; +$string['notify'] = 'Notify'; $string['notifyloginfailuresmessageend'] = 'You can view these logs at $a/course/log.php?id=1&chooselog=1&modid=site_errors.'; $string['notifyloginfailuresmessagestart'] = 'Here is a list of failed login attempts at $a since you were last notified'; $string['notifyloginfailuressubject'] = '$a :: Failed logins notification'; @@ -1206,6 +1207,7 @@ $string['selectednowmove'] = '$a files selected for moving. Now go to the destin $string['selectnos'] = 'Select all \'no\''; $string['selectperiod'] = 'Select period'; $string['senddetails'] = 'Send my details via email'; +$string['separate'] = 'Separate'; $string['separateandconnected'] = 'Separate and Connected ways of knowing'; $string['serverlocaltime'] = 'Server\'s local time'; $string['settings'] = 'Settings';