]> git.mjollnir.org Git - moodle.git/commitdiff
Updated strings. READY TO TRANSLATE!
authormoodler <moodler>
Thu, 19 Aug 2004 08:53:59 +0000 (08:53 +0000)
committermoodler <moodler>
Thu, 19 Aug 2004 08:53:59 +0000 (08:53 +0000)
lang/en/install.php

index e29d4d80d54e2d005c4e80e9e5d1505c5a6df364..6baf2f1b53a6a2b8f1be853cc37cebc69392cf5a 100755 (executable)
@@ -9,6 +9,7 @@ $string['admindirsetting'] = "
     renaming the admin directory in your installation, and putting that \r
     new name here.  For example: <br/>&nbsp;<br /><b>moodleadmin</b><br />&nbsp;<br />\r
     This will fix admin links in Moodle.";\r
+$string['caution'] = 'Caution';\r
 $string['chooselanguage'] = 'Choose a language';\r
 $string['compatibilitysettings'] = 'Checking your PHP settings ...';\r
 $string['configfilenotwritten'] = "The installer script was not able to automatically create a config.php file containing your chosen settings. Please copy the following code into a file named config.php within the root directory of Moodle.";\r
@@ -26,60 +27,126 @@ $string['databasesettings'] = "
        <b>Name:</b> database name, eg moodle<br />\r
        <b>User:</b> your database username<br />\r
        <b>Password:</b> your database password<br />\r
-       <b>Tables Prefix:</b> prefix to use for all table names";\r
-$string['dataroot'] = 'Data';\r
-$string['datarooterror'] = "The 'Data' setting is incorrect";\r
-$string['dbconnectionerror'] = 'Database connection error. Please check your database settings';\r
+       <b>Tables Prefix:</b> optional prefix to use for all table names";\r
+\r
+$string['dataroot'] = 'Data Directory';\r
+$string['datarooterror'] = "The 'Data Directory' you specified could not be found or created.  Either correct the path or create that directory manually.";\r
+$string['dbconnectionerror'] = 'We could not connect to the database you specified. Please check your database settings.';\r
 $string['dbcreationerror'] = 'Database creation error. Could not create the given database name with the settings provided';\r
 $string['dbhost'] = 'Host Server';\r
 $string['dbpass'] = 'Password';\r
 $string['dbprefix'] = 'Tables prefix';\r
 $string['dbtype'] = 'Type';\r
 $string['directorysettings'] = "\r
-    <b>WWW:</b>\r
-    You need to tell Moodle where it is located. Specify the full\r
-    web address to where moodle has been installed.  If your web site \r
-    is accessible via multiple URLs then choose the most natural one \r
-    that your students would use.  Do not include a trailing slash<br/>&nbsp;<br/>\r
-    <b>Directory:</b>\r
-    Specify the full OS directory path to this same location\r
-    Make sure the upper/lower case is correct<br/>&nbsp;<br/>\r
-    <b>Data:</b>\r
-    You need a place where Moodle can save uploaded files.  This\r
-    directory should be readable AND WRITEABLE by the web server user \r
-    (usually 'nobody' or 'apache'), but it should not be accessible \r
-    directly via the web.";\r
-\r
-$string['dirroot'] = 'Directory';\r
-$string['dirrooterror'] = "The 'Directory' setting was incorrect. Try the following setting";\r
+<p>Please confirm the locations of this Moodle installation.</p>\r
+\r
+<p><b>Web Address:</b>\r
+Specify the full web address where Moodle will be accessed.  \r
+If your web site is accessible via multiple URLs then choose the \r
+most natural one that your students would use.  Do not include \r
+a trailing slash.</p>\r
+\r
+<p><b>Moodle Directory:</b>\r
+Specify the full directory path to this installation\r
+Make sure the upper/lower case is correct.</p>\r
+\r
+<p><b>Data Directory:</b>\r
+You need a place where Moodle can save uploaded files.  This\r
+directory should be readable AND WRITEABLE by the web server user \r
+(usually 'nobody' or 'apache'), but it should not be accessible \r
+directly via the web.</p>\r
+";\r
+\r
+$string['dirroot'] = 'Moodle Directory';\r
+$string['dirrooterror'] = "The 'Moodle Directory' setting seems to be incorrect - we can't find a Moodle installation there.  The value below has been reset.";\r
+$string['download'] = 'Download';\r
 $string['fail'] = 'Fail';\r
 $string['fileuploads'] = 'File Uploads';\r
 $string['fileuploadserror'] = 'This should be on';\r
-$string['fileuploadshelp'] = 'Moodle requires file uploading to be switched on';\r
+$string['fileuploadshelp'] = "\r
+<p>File uploading seems to be disabled on your server.</p>\r
+\r
+<p>Moodle can still be installed, but without this ability, you will not be able \r
+   to upload course files or new user profile images.\r
+\r
+<p>To enable file uploading you (or your system administrator) will need to \r
+   edit the main php.ini file on your system and change the setting for \r
+   <b>file_uploads</b> to '1'.</p>\r
+";\r
 $string['gdversion'] = 'GD version';\r
 $string['gdversionerror'] = 'The GD library should be present to process and create images';\r
-$string['gdversionhelp'] = 'The GD library should be present to process and create images';\r
+$string['gdversionhelp'] = '\r
+<p>Your server does not seem to have GD installed.</p>\r
+\r
+<p>GD is a library that is required by PHP to allow Moodle to process images \r
+   (such as the user profile icons) and to create new images (such as \r
+   the log graphs).  Moodle will still work without GD - these features \r
+   will just not be available to you.</p>\r
+\r
+<p>To add GD to PHP under Unix, compile PHP using the --with-gd parameter.</p>\r
+\r
+<p>Under Windows you can usually edit php.ini and uncomment the line referencing libgd.dll.</p>\r
+';\r
 $string['installation'] = 'Installation';\r
 $string['memorylimit'] = 'Memory Limit';\r
-$string['memorylimiterror'] = 'The PHP memory limit setting needs to be set to at least 16M, or be changeable';\r
-$string['memorylimithelp'] = "The memory limit needs to be set to at least 16M, or be changeable. Your current memory limit is set to \$a.<p>You can change your memory limit in your php.ini file, or sometimes by creating a .htaccess file in the Moodle directory containing this line:<p><ul>php_value memory_limit 16M</ul>";\r
+$string['memorylimiterror'] = 'The PHP memory limit is set quite low ... you may run into problems later.';\r
+$string['memorylimithelp'] = "\r
+<p>The PHP memory limit for your server is currently set to \$a.</p>\r
+\r
+<p>This may cause Moodle to have memory problems later on, especially \r
+   if you have a lot of modules enabled and/or a lot of users.\r
+\r
+<p>We recommend that you configure PHP with a higher limit if possible, like 16M.  \r
+   There are several ways of doing this that you can try:\r
+<ol>\r
+<li>If you are able to, recompile PHP with <i>--enable-memory-limit</i>.  \r
+    This will allow Moodle to set the memory limit itself.\r
+<li>If you have access to your php.ini file, you can change the <b>memory_limit</b> \r
+    setting in there to something like 16M.  If you don't have access you might \r
+    be able to ask your administrator to do this for you.\r
+<li>On some PHP servers you can create a .htaccess file in the Moodle directory \r
+    containing this line:\r
+    <p><blockquote>php_value memory_limit 16M</blockquote></p>\r
+    <p>However, on some servers this will prevent <b>all</b> PHP pages from working \r
+    (you will see errors when you look at pages) so you'll have to remove the .htaccess file.\r
+</ol>";\r
 $string['pass'] = 'Pass';\r
-$string['PHPversion'] = 'PHP version';\r
-$string['PHPversionerror'] = 'PHP version must be at least 4.1.0';\r
-$string['phpversionhelp'] = "Moodle requires a PHP version of at least 4.1.0. You are currently running version \$a";\r
+$string['phpversion'] = 'PHP version';\r
+$string['phpversionerror'] = 'PHP version must be at least 4.1.0';\r
+$string['phpversionhelp'] = "\r
+<p>Moodle requires a PHP version of at least 4.1.0.</p>\r
+<p>You are currently running version \$a</p>\r
+<p>You must upgrade PHP or move to a host with a newer version of PHP!</p>";\r
 $string['safemode'] = 'Safe Mode';\r
-$string['safemodeerror'] = 'Moodle can not handle files properly with safe mode on';\r
-$string['safemodehelp'] = 'Moodle can not handle files properly with safe mode on';\r
+$string['safemodeerror'] = 'Moodle may have trouble with safe mode on';\r
+$string['safemodehelp'] = '\r
+<p>Moodle may have a variety of problems with safe mode on, not least is that \r
+   it probably won\'t be allowed to create new files.</p>\r
+   \r
+<p>Safe mode is usually only enabled by paranoid public web hosts, so you may have \r
+   to just find a new web hosting company for your Moodle site.</p>\r
+   \r
+<p>You can try continuing the install if you like, but expect a few problems later on.</p>';\r
 $string['sessionautostart'] = 'Session Auto Start';\r
 $string['sessionautostarterror'] = 'This should be off';\r
-$string['sessionautostarthelp'] = 'Session auto start should be turned off';\r
-$string['sessionsavepath'] = 'Session Save Path';\r
-$string['sessionsavepatherror'] = 'It seems your server does not support sessions';\r
-$string['sessionsavepathhelp'] = 'Moodle requires session support';\r
+$string['sessionautostarthelp'] = '\r
+<p>Moodle requires session support and will not function without it.</p>\r
+\r
+<p>Sessions can be enabled in the php.ini file ... look for the session.auto_start parameter.</p>\r
+';\r
 $string['magicquotesruntime'] = 'Magic Quotes Run Time';\r
 $string['magicquotesruntimeerror'] = 'This should be off';\r
-$string['magicquotesruntimehelp'] = 'Magic quotes should be turned off';\r
-$string['wwwroot'] = 'WWW';\r
-$string['wwwrooterror'] = "The 'WWW' setting is incorrect";\r
+$string['magicquotesruntimehelp'] = "\r
+<p>Magic quotes runtime should be turned off for Moodle to function properly.</p>\r
+\r
+<p>Normally it is off by default ... see the setting <b>magic_quotes_runtime</b> in your php.ini file.</p>\r
+\r
+<p>If you don't have access to your php.ini, you might be able to place the following line in a file \r
+   called .htaccess within your Moodle directory:\r
+   <blockquote>php_value magic_quotes_runtime Off</blockquote>\r
+</p>   \r
+   ";\r
+$string['wwwroot'] = 'Web address';\r
+$string['wwwrooterror'] = "The web address does not appear to be valid - this Moodle installation doesn't appear to be there.";\r
 \r
 ?>\r