MDL-30402 Removing hard-coded English string from the CLI installer
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -25,6 +25,7 @@ databasehost,install
|
||||
databasename,install
|
||||
databasetypehead,install
|
||||
dataroot,install
|
||||
datarootpermission,install
|
||||
dbprefix,install
|
||||
dirroot,install
|
||||
downloadedfilecheckfailed,error
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user