From f404df92b18ea686f21174d9d0e35d3421e8821e Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 7 Feb 2009 22:15:15 +0000 Subject: [PATCH] MDL-18153 fixed typo - thanks Nicolas Martignoni --- lang/en_utf8/admin.php | 4 ++-- lib/environmentlib.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index 0ee136fdb9f..a70b0542f13 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -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'; diff --git a/lib/environmentlib.php b/lib/environmentlib.php index 21d734f8f79..aa30ec7b699 100644 --- a/lib/environmentlib.php +++ b/lib/environmentlib.php @@ -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') {