MDL-30402 Removing hard-coded English string from the CLI installer

This commit is contained in:
David Mudrak
2011-11-22 10:04:35 +01:00
parent cf04ce3a50
commit 2b50d26f00
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -265,7 +265,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 {
+1
View File
@@ -25,6 +25,7 @@ databasehost,install
databasename,install
databasetypehead,install
dataroot,install
datarootpermission,install
dbprefix,install
dirroot,install
downloadedfilecheckfailed,error
+1
View File
@@ -153,6 +153,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';