From: moodler Date: Fri, 22 Jun 2007 05:48:24 +0000 (+0000) Subject: Merged string fixes from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3b631edabee6ea941e230bf2fe7a9425ff48767c;p=moodle.git Merged string fixes from stable --- diff --git a/lang/en_utf8/form.php b/lang/en_utf8/form.php index 85689674a6..8ff186d2ec 100644 --- a/lang/en_utf8/form.php +++ b/lang/en_utf8/form.php @@ -17,8 +17,10 @@ $string['requiredelement'] = 'Required field'; $string['general'] = 'General'; $string['optional'] = 'Optional'; $string['unmaskpassword'] = 'Unmask'; -$string['modstandardels']='Common Module Settings'; +$string['revealpassword'] = 'Reveal'; +$string['modstandardels']='Common module settings'; $string['miscellaneoussettings']='Miscellaneous Settings'; +$string['othersettings']='Other settings'; $string['addfields']='Add $a fields to form'; $string['day']='Day'; $string['month']='Month'; @@ -26,7 +28,7 @@ $string['year']='Year'; $string['hour']='Hour'; $string['minute']='Minute'; -$string['advancedelement']='Advanced Element'; +$string['advancedelement']='Advanced element'; $string['hideadvanced']='Hide Advanced'; $string['showadvanced']='Show Advanced'; diff --git a/lang/en_utf8/scorm.php b/lang/en_utf8/scorm.php index d49aa813fe..e065bc34e5 100644 --- a/lang/en_utf8/scorm.php +++ b/lang/en_utf8/scorm.php @@ -6,7 +6,9 @@ $string['advanced'] = 'Parameters'; $string['asset'] = 'Asset'; $string['assetlaunched'] = 'Asset - Viewed'; $string['attempt'] = 'attempt'; -$string['attempts'] = 'attempts'; +$string['attempt1'] = '1 attempt'; +$string['attempts'] = 'Attempts'; +$string['attemptsx'] = '$a attempts'; $string['attr_error'] = 'Bad value for attribute ($a->attr) in tag $a->tag.'; $string['autocontinue'] = 'Auto-Continue'; $string['averageattempt'] = 'Average attempts'; diff --git a/mod/scorm/mod_form.php b/mod/scorm/mod_form.php index fbe880b684..75e67dbc7a 100644 --- a/mod/scorm/mod_form.php +++ b/mod/scorm/mod_form.php @@ -31,10 +31,8 @@ class mod_scorm_mod_form extends moodleform_mod { //------------------------------------------------------------------------------- // Other Settings - $mform->addElement('header', 'advanced', get_string('othersettings','scorm')); + $mform->addElement('header', 'advanced', get_string('othersettings', 'form')); -// Grading - $mform->addElement('static', 'grade', get_string('grades')); // Grade Method $mform->addElement('select', 'grademethod', get_string('grademethod', 'scorm'), $SCORM_GRADE_METHOD); $mform->setHelpButton('grademethod', array('grademethod',get_string('grademethod', 'scorm')), 'scorm'); @@ -50,15 +48,14 @@ class mod_scorm_mod_form extends moodleform_mod { // Attempts $mform->addElement('static', '', '' ,'
'); - $mform->addElement('static', 'attempts', get_string('attempts','scorm')); // Max Attempts $attempts = array(0 => get_string('nolimit','scorm')); for ($i=1; $i<=$CFG->scorm_maxattempts; $i++) { if ($i == 1) { - $attempts[$i] = $i . ' ' . get_string('attempt','scorm'); + $attempts[$i] = get_string('attempt1','scorm'); } else { - $attempts[$i] = $i . ' ' . get_string('attempts','scorm'); + $attempts[$i] = get_string('attemptsx','scorm', $i); } } $mform->addElement('select', 'maxattempt', get_string('maximumattempts', 'scorm'), $attempts);