Merge branch 'MDL-30402-install-string' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2011-11-23 01:07:44 +01:00
commit 7242b051ac
3 changed files with 3 additions and 1 deletions

View File

@ -270,7 +270,7 @@ if ($interactive) {
$chmod = octdec(clean_param($options['chmod'], PARAM_INT));
if ($interactive) {
cli_separator();
cli_heading('Data directories permission'); // todo localize
cli_heading(get_string('datarootpermission', 'install'));
$prompt = get_string('clitypevaluedefault', 'admin', decoct($chmod));
$error = '';
do {

View File

@ -26,6 +26,7 @@ databasehost,install
databasename,install
databasetypehead,install
dataroot,install
datarootpermission,install
dbprefix,install
dirroot,install
downloadedfilecheckfailed,error

View File

@ -154,6 +154,7 @@ $string['databasetypesub'] = 'Moodle supports several types of database servers.
$string['databaseuser'] = 'Database user';
$string['dataroot'] = 'Data directory';
$string['datarooterror'] = 'The \'data directory\' you specified could not be found or created. Either correct the path or create that directory manually.';
$string['datarootpermission'] = 'Data directories permission';
$string['datarootpublicerror'] = 'The \'data directory\' you specified is directly accessible via web, you must use different directory.';
$string['dbconnectionerror'] = 'We could not connect to the database you specified. Please check your database settings.';
$string['dbcreationerror'] = 'Database creation error. Could not create the given database name with the settings provided';