Skip to content

Commit

Permalink
MDL-23322 Fixed incorrect definition of installer strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Jul 23, 2010
1 parent 25d3cf4 commit 85ed076
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion install.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
if ($version_fail or $curl_fail or $zip_fail) {
$config->stage = INSTALL_ENVIRONMENT;

install_print_header($config, get_string('environment', 'install'),
install_print_header($config, get_string('environmenthead', 'install'),
get_string('errorsinenvironment', 'install'),
get_string('environmentsub2', 'install'));

Expand Down
8 changes: 4 additions & 4 deletions install/stringnames.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ dataroot,install
dbprefix,install
dirroot,install
downloadedfilecheckfailed,error
environment,install
environmentrequireinstall,install
environmentrequireversion,install
environmenthead,install
environmentrequireinstall,admin
environmentrequireversion,admin
environmentsub2,install
errorsinenvironment,install
installation,install
Expand All @@ -57,7 +57,7 @@ phpextension,install
phpversionhelp,install
phpversion,install
previous,moodle
reload,admin
reload,moodle
remotedownloaderror,error
thisdirection,langconfig
thislanguage,langconfig
Expand Down
2 changes: 1 addition & 1 deletion lang/en/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

$string['admindirerror'] = 'The admin directory specified is incorrect';
$string['admindirname'] = 'Admin Directory';
$string['admindirname'] = 'Admin directory';
$string['admindirsetting'] = 'A very few webhosts use /admin as a special URL for you to access a
control panel or something. Unfortunately this conflicts with the
standard location for the Moodle admin pages. You can fix this by
Expand Down
4 changes: 2 additions & 2 deletions lib/installlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function install_print_footer($config, $reload=false) {
if ($config->stage > INSTALL_WELCOME) {
$first = '<input type="submit" id="previousbutton" name="previous" value="&laquo; '.s(get_string('previous')).'" />';
} else {
$first = '<input type="submit" id="previousbutton" name="next" value="'.s(get_string('reload', 'admin')).'" />';
$first = '<input type="submit" id="previousbutton" name="next" value="'.s(get_string('reload')).'" />';
$first .= '<script type="text/javascript">
//<![CDATA[
var first = document.getElementById("previousbutton");
Expand All @@ -311,7 +311,7 @@ function install_print_footer($config, $reload=false) {
}

if ($reload) {
$next = '<input type="submit" id="nextbutton" name="next" value="'.s(get_string('reload', 'admin')).'" />';
$next = '<input type="submit" id="nextbutton" name="next" value="'.s(get_string('reload')).'" />';
} else {
$next = '<input type="submit" id="nextbutton" name="next" value="'.s(get_string('next')).' &raquo;" />';
}
Expand Down

0 comments on commit 85ed076

Please sign in to comment.