Permalink
Browse files

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

  • Loading branch information...
1 parent f28832d commit d53fd52df892af46e4472583878fc2b5da3c9be6 @mudrd8mz mudrd8mz committed Nov 22, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 admin/cli/install.php
  2. +1 −0 install/stringnames.txt
  3. +1 −0 lang/en/install.php
View
@@ -265,7 +265,7 @@
$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
@@ -25,6 +25,7 @@ databasehost,install
databasename,install
databasetypehead,install
dataroot,install
+datarootpermission,install
dbprefix,install
dirroot,install
downloadedfilecheckfailed,error
View
@@ -153,6 +153,7 @@
$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';

0 comments on commit d53fd52

Please sign in to comment.