Skip to content

Commit

Permalink
MDL-30402 Removing hard-coded English string from the CLI installer
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Nov 22, 2011
1 parent f28832d commit d53fd52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin/cli/install.php
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions install/stringnames.txt
Expand Up @@ -25,6 +25,7 @@ databasehost,install
databasename,install
databasetypehead,install
dataroot,install
datarootpermission,install
dbprefix,install
dirroot,install
downloadedfilecheckfailed,error
Expand Down
1 change: 1 addition & 0 deletions lang/en/install.php
Expand Up @@ -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';
Expand Down

0 comments on commit d53fd52

Please sign in to comment.