MDL-18153 fixed typo - thanks Nicolas Martignoni

This commit is contained in:
skodak 2009-02-07 22:15:15 +00:00
parent 64c368e3df
commit f404df92b1
2 changed files with 4 additions and 4 deletions

View File

@ -378,8 +378,8 @@ $string['enrolmultipleusers'] = 'Enrol the users';
$string['environment'] = 'Environment';
$string['environmenterrortodo'] = 'You must solve all the environmental problems (errors) found above before proceeding to install this Moodle version!';
$string['environmenterrorupgrade'] = 'Warning: you should solve all the environmental problems (errors) found above before proceeding to upgrade this Moodle version! Upgrading without fixing these requirements could cause problems such as data loss. Are you sure you want to continue with the upgrade?';
$string['environmenmustfixsetting'] = 'PHP setting must be changed.';
$string['environmenshouldfixsetting'] = 'PHP setting should be changed.';
$string['environmentmustfixsetting'] = 'PHP setting must be changed.';
$string['environmentshouldfixsetting'] = 'PHP setting should be changed.';
$string['environmentsettingok'] = 'recommended setting detected';
$string['environmentok'] = 'Your server environment meets all minimum requirements.';
$string['environmentrecommendcustomcheck'] = 'if this test fails, it indicates a potential problem';

View File

@ -198,9 +198,9 @@ function print_moodle_environment($result, $environment_results) {
if ($status) {
$stringtouse = 'environmentsettingok';
} else if ($environment_result->getLevel() == 'required') {
$stringtouse = 'environmenmustfixsetting';
$stringtouse = 'environmentmustfixsetting';
} else {
$stringtouse = 'environmenshouldfixsetting';
$stringtouse = 'environmentshouldfixsetting';
}
} else {
if ($environment_result->getLevel() == 'required') {