From 20ea81c535ca6425596aa3a208818e39408f0f47 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 14 Jun 2003 14:36:27 +0000 Subject: [PATCH] Moved lang strings git-svn-id: file:///svn/phpbb/trunk@4129 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install.php | 194 ++++++++++++++++--------------- phpBB/language/en/lang_admin.php | 124 +++++++++++--------- 2 files changed, 174 insertions(+), 144 deletions(-) diff --git a/phpBB/install/install.php b/phpBB/install/install.php index ca9c685df8..d62131e50d 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -90,7 +90,6 @@ $available_dbms = array( 'SCHEMA' => 'firebird', 'MODULE' => 'interbase', 'DELIM' => ';', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'mysql' => array( @@ -98,7 +97,6 @@ $available_dbms = array( 'SCHEMA' => 'mysql', 'MODULE' => 'mysql', 'DELIM' => ';', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'mysql4' => array( @@ -106,7 +104,6 @@ $available_dbms = array( 'SCHEMA' => 'mysql', 'MODULE' => 'mysql', 'DELIM' => ';', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_remarks' ), 'mssql' => array( @@ -114,7 +111,6 @@ $available_dbms = array( 'SCHEMA' => 'mssql', 'MODULE' => 'mssql', 'DELIM' => 'GO', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'msaccess' => array( @@ -122,7 +118,6 @@ $available_dbms = array( 'SCHEMA' => '', 'MODULE' => 'odbc', 'DELIM' => '', - 'DELIM_BASIC' => ';', 'COMMENTS' => '' ), 'mssql-odbc'=> array( @@ -130,7 +125,6 @@ $available_dbms = array( 'SCHEMA' => 'mssql', 'MODULE' => 'odbc', 'DELIM' => 'GO', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'oracle' => array( @@ -138,7 +132,6 @@ $available_dbms = array( 'SCHEMA' => 'oracle', 'MODULE' => 'oracle', 'DELIM' => '', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), 'postgres' => array( @@ -146,7 +139,6 @@ $available_dbms = array( 'SCHEMA' => 'postgres', 'MODULE' => 'pgsql', 'DELIM' => ';', - 'DELIM_BASIC' => ';', 'COMMENTS' => 'remove_comments' ), ); @@ -233,7 +225,7 @@ else if (isset($_POST['install'])) { if (!$$var) { - $error[$var_type][] = 'You must fill out all fields in this block'; + $error[$var_type][] = $lang['INST_ERR_MISSING_DATA']; break; } } @@ -242,12 +234,12 @@ else if (isset($_POST['install'])) // Check the entered email address and password if ($admin_pass1 != $admin_pass2 && $admin_pass1 != '') { - $error['admin'][] = $lang['INSTALL_PASSWORD_MISMATCH']; + $error['admin'][] = $lang['INST_ERR_PASSWORD_MISMATCH']; } if ($board_email1 != $board_email2 && $board_email1 != '') { - $error['admin'][] = $lang['INSTALL_EMAIL_MISMATCH']; + $error['admin'][] = $lang['INST_ERR_EMAIL_MISMATCH']; } // Test the database connectivity @@ -255,7 +247,7 @@ else if (isset($_POST['install'])) { if (!can_load_dll($available_dbms[$dbms]['MODULE'])) { - $error['db'][] = 'Cannot load the PHP module for the selected database type'; + $error['db'][] = $lang['INST_ERR_NO_DB']; } } @@ -270,7 +262,7 @@ else if (isset($_POST['install'])) if (is_array($db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false))) { $db_error = $db->sql_error(); - $error['db'][] = 'Could not connect to the database, error message returned:' . '
' . (($db_error['message']) ? $db_error['message'] : 'No error message given'); + $error['db'][] = $lang['INST_ERR_DB_CONNECT'] . '
' . (($db_error['message']) ? $db_error['message'] : $lang['INST_ERR_DB_NO_ERROR']); } // No errors so lets do the twist @@ -326,11 +318,11 @@ if ($stage == 0) { if (!can_load_dll($dll)) { - $dlls_other[$dll] = '' . 'Unavailable' . ''; + $dlls_other[$dll] = '' . $lang['UNAVAILABLE'] . ''; continue; } } - $dlls_other[$dll] = '' . 'Available' . ''; + $dlls_other[$dll] = '' . $lang['AVAILABLE'] . ''; } inst_page_header(); @@ -444,11 +436,11 @@ if ($stage == 0)
-

Directory and file setup

+

-

Required

+

-

In order to function correctly phpBB needs to be able to access or write to certain files or directories. If you see "Does not exist" you need to create the relevant file or directory. If you see "Not writeable" you need to change the permissions on the file or directory to allow phpBB to write to it.

+

Exists' : 'Does not exist'; - $write = ($write) ? ', Writeable' : (($exists) ? ', Not writeable' : ''); + $exists = ($exists) ? '' . $lang['FILE_FOUND'] . '' : '' . $lang['FILE_NOT_FOUND'] . ''; + $write = ($write) ? ', ' . $lang['FILE_WRITEABLE'] . '' : (($exists) ? ', ' . $lang['FILE_UNWRITEABLE'] . '' : ''); ?> @@ -490,9 +482,9 @@ if ($stage == 0) ?>
-

Optional

+

-

These files, directories or permissions are optional. The installation routines will attempt to use various techniques to complete if they do not exist or cannot be written to. However, the presence of these files, directories or permissions will speed installation.

+

Exists' : 'Does not exist'; - $write = ($write) ? ', Writeable' : (($exists) ? ', Not writeable' : ''); + $exists = ($exists) ? '' . $lang['FILE_FOUND'] . '' : '' . $lang['FILE_NOT_FOUND'] . ''; + $write = ($write) ? ', ' . $lang['FILE_WRITEABLE'] . '' : (($exists) ? ', ' . $lang['FILE_UNWRITEABLE'] . '' : ''); ?> @@ -522,15 +514,15 @@ if ($stage == 0)
-

Tests passed' : 'style="color:red">Tests failed'; ?>

+

' . $lang['TESTS_PASSED'] : 'style="color:red">' . $lang['TESTS_FAILED']; ?>


-

Next stage

+

@@ -551,14 +543,9 @@ if ($stage == 0) - - -
- - - sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false))) { $db_error = $db->sql_error(); - $error['db'][] = 'Could not connect to the database, error message returned:' . '
' . (($db_error['message']) ? $db_error['message'] : 'No error message given'); + $error['db'][] = $lang['INST_ERR_DB_CONNECT'] . '
' . (($db_error['message']) ? $db_error['message'] : $lang['INST_ERR_DB_NO_ERROR']); } if (!sizeof($error['db'])) { - $error['db'][] = 'CONNECTION SUCCESSFULL'; + $error['db'][] = $lang['INSTALL_DB_CONNECT']; } } @@ -663,6 +650,11 @@ if ($stage == 1) inst_page_header(); ?> + +

+ +

+ @@ -680,27 +672,27 @@ if ($stage == 1) } ?> - + - + - + - + - + - + @@ -735,7 +727,7 @@ if ($stage == 1) - + @@ -755,7 +747,7 @@ if ($stage == 1) - +
: :
: :
: :
: :
: :
: :
:
Leave this blank unless you know the server operates on a non-standard port.
:
@@ -763,7 +755,7 @@ if ($stage == 1) - + - + - + - + - +
Server Configuration
: :
: :
: :
-

Unfortunately phpBB could not write the configuration information directly to your config.php. This may be because the file does not exist or is not writeable. A number of options will be listed below enabling you to complete installation of config.php.

+

-

Transfer config.php by FTP

+

-

phpBB has detected the presence of the ftp module on this server. You may attempt to install your config.php via this if you wish. You will need to supply the information listed below. Remember your username and password are those to your server! (ask your hosting provider for details if you are unsure what these are)

+

@@ -988,7 +979,7 @@ if ($stage == 2) ?> - + @@ -1000,7 +991,7 @@ if ($stage == 2) - +
:
This is the path from your root directory to that of phpBB2, e.g. htdocs/phpBB2/
:
@@ -1012,25 +1003,25 @@ if ($stage == 2) ?> -

Download config.php

+

-

You may download the complete config.php to your own PC. You will then need to upload the file manually, replacing any existing config.php in your phpBB 2.2 root directory. Please remember to upload the file in ASCII format (see your FTP application documentation if you are unsure how to achieve this). When you have uploaded the config.php please click "Done" to move to the next stage.

+

- +
     

-

Retry automatic writing of config.php

+

-

If you wish you can change the permissions on config.php to allow phpBB to write to it. Should you wish to do that you can click Retry below to try again. Remember to return the permissions on config.php after phpBB2 has finished installation.

+

- +
@@ -1058,6 +1049,7 @@ if ($stage == 3) @dl($available_dbms[$dbms]['MODULE'] . ".$prefix"); } + // Load the appropriate database class if not already loaded include_once($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); @@ -1065,14 +1057,6 @@ if ($stage == 3) $db = new sql_db(); $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false); - // Load the appropriate schema and basic data - $dbms_schema = 'schemas/' . $available_dbms[$dbms]['SCHEMA'] . '_schema.sql'; - $dbms_basic = 'schemas/' . $available_dbms[$dbms]['SCHEMA'] . '_basic.sql'; - - // How should we treat this schema? - $remove_remarks = $available_dbms[$dbms]['COMMENTS'];; - $delimiter = $available_dbms[$dbms]['DELIM']; - $delimiter_basic = $available_dbms[$dbms]['DELIM_BASIC']; // We ship the Access schema complete, we don't need to create tables nor // populate it (at this time ... this may change). So we skip this section @@ -1082,16 +1066,21 @@ if ($stage == 3) $db->return_on_error = true; $ignore_tables = array(); + // Ok we have the db info go ahead and read in the relevant schema - // and work on building the table.. probably ought to provide some - // kind of feedback to the user as we are working here in order - // to let them know we are actually doing something. + // and work on building the table + $dbms_schema = 'schemas/' . $available_dbms[$dbms]['SCHEMA'] . '_schema.sql'; + + // How should we treat this schema? + $remove_remarks = $available_dbms[$dbms]['COMMENTS'];; + $delimiter = $available_dbms[$dbms]['DELIM']; + $delimiter_basic = $available_dbms[$dbms]['DELIM_BASIC']; + $sql_query = @fread(@fopen($dbms_schema, 'r'), @filesize($dbms_schema)); $sql_query = preg_replace('#phpbb_#is', $table_prefix, $sql_query); $sql_query = $remove_remarks($sql_query); $sql_query = split_sql_file($sql_query, $delimiter); - $sql_count = count($sql_query); foreach ($sql_query as $sql) { @@ -1105,25 +1094,40 @@ if ($stage == 3) // to quit back to stage 1 and inform the user that this table extension // is already in use $ignore_tables[] = preg_replace('#^CREATE TABLE ([a-z_]+?) .*$#is', '\1', $sql); + $error = $db->sql_error(); die($error['message']); } } + unset($sql_query); $ignore_tables = str_replace('\\|', '|', preg_quote(implode('|', $ignore_tables), '#')); + // Ok tables have been built, let's fill in the basic information - $sql_query = @fread(@fopen($dbms_basic, 'r'), @filesize($dbms_basic)); + $sql_query = fread(fopen('schemas/schema_data.sql', 'r'), filesize('schemas/schema_data.sql')); + + // Deal with any special comments, used at present for mssql set identity switching + switch ($dbms) + { + case 'mssql': + case 'mssql-odbc': + $sql_query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', 'SET IDENTITY_INSERT \1 \2', $sql_query); + break; + + default: + $sql_query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', '', $sql_query); + } + $sql_query = preg_replace('#phpbb_#', $table_prefix, $sql_query); - $sql_query = $remove_remarks($sql_query); - $sql_query = split_sql_file($sql_query, $delimiter_basic); - $sql_count = count($sql_query); + $sql_query = remove_remarks($sql_query); + $sql_query = split_sql_file($sql_query, ';'); foreach ($sql_query as $sql) { $sql = trim(str_replace('|', ';', $sql)); - if ($ignore_tables != '' && preg_match('#' . $ignore_tables . '#i', $sql)) + if ($ignore_tables != '' && preg_match('#' . $ignore_tables . '#', $sql)) { continue; } @@ -1134,12 +1138,13 @@ if ($stage == 3) die($error['message']); } } + unset($sql_query); } + $current_time = time(); - // Set default config and post data, this applies to all DB's including - // MS Access + // Set default config and post data, this applies to all DB's including Access $sql_ary = array( 'INSERT INTO ' . $table_prefix . "config (config_name, config_value) VALUES ('board_startdate', $current_time)", @@ -1199,7 +1204,6 @@ if ($stage == 3) 'UPDATE ' . $table_prefix . "forums SET forum_last_post_time = $current_time", - ); foreach ($sql_ary as $sql) @@ -1245,11 +1249,12 @@ if ($stage == 4) ?> -

Congratulations

+

-

You have now successfully installed phpBB 2.2. Clicking the button below will take you to your Administration Control Panel (ACP). Take some time to examine the options available to you. Remember that help is available online via the Userguide and the phpBB support forums, see the README for further information.

-">

Login

+

', ''); ?>

+ +">

- +
@@ -1328,8 +1337,6 @@ function inst_page_footer() } - - function inst_language_select($default = '') { global $phpbb_root_path, $phpEx; @@ -1372,5 +1379,8 @@ function can_load_dll($dll) return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') && @dl($dll . ".$suffix")) ? true : false; } +// +// FUNCTIONS +// --------- ?> \ No newline at end of file diff --git a/phpBB/language/en/lang_admin.php b/phpBB/language/en/lang_admin.php index 299f14a807..b7c8e69741 100644 --- a/phpBB/language/en/lang_admin.php +++ b/phpBB/language/en/lang_admin.php @@ -1065,8 +1065,16 @@ $lang = array_merge($lang, array( 'WELCOME_INSTALL' => 'Welcome to phpBB 2 Installation', 'INSTALL_ADVICE_EXPLAIN'=> 'Before proceeding with full installation phpBB will carry out some tests on your server and basic install. Please ensure you read through the results thoroughly and do not proceed until all tests are passed.', + 'INSTALL_REQUIRED' => 'Required', + 'INSTALL_OPTIONAL' => 'Optional', + 'UNAVAILABLE' => 'Unavailable', + 'AVAILABLE' => 'Available', + 'TESTS_PASSED' => 'Tests passed', + 'TESTS_FAILED' => 'Tests failed', + 'PHP_AND_APPS' => 'PHP and Applications', 'INSTALL_REQUIRED_PHP' => 'You must be running at least PHP 4.1.0 with support for at least one compatible database. If no support modules are shown as available you should contact your hosting provider or review the relevant PHP installation documentation for advice.', + 'INSTALL_OPTIONAL_PHP' => 'These modules or applications are optional, you do not need these to use phpBB 2.2. However if you do have them they will will enable greater functionality.', 'PHP_VERSION_REQD' => 'PHP version >= 4.1.0', 'PHP_SAFE_MODE' => 'Safe Mode', 'PHP_REQD_DB' => 'Supported Databases', @@ -1078,67 +1086,79 @@ $lang = array_merge($lang, array( 'DLL_MSACCESS' => 'MS Access via ODBC', 'DLL_ORACLE' => 'Oracle', 'DLL_POSTGRES' => 'PostgreSQL 7.x', - 'INSTALL_OPTIONAL_PHP' => 'These modules or applications are optional, you do not need these to use phpBB 2.2. However if you do have them they will will enable greater functionality.', - 'DLL_MBSTRING' => 'Multi-byte character support', - 'DLL_ZLIB' => 'zlib Compression support', - 'DLL_FTP' => 'Remote FTP support', - 'APP_MAGICK' => 'Imagemagick support', + 'DLL_MBSTRING' => 'Multi-byte character support', + 'DLL_ZLIB' => 'zlib Compression support', + 'DLL_FTP' => 'Remote FTP support', + 'APP_MAGICK' => 'Imagemagick support', + 'NO_LOCATION' => 'Cannot determine location', + 'DIRECTORIES_AND_FILES' => 'Directory and file setup', + 'INSTALL_REQUIRED_FILES' => 'In order to function correctly phpBB needs to be able to access or write to certain files or directories. If you see "Not Found" you need to create the relevant file or directory. If you see "Unwriteable" you need to change the permissions on the file or directory to allow phpBB to write to it.', + 'INSTALL_OPTIONAL_FILES' => 'These files, directories or permissions are optional. The installation routines will attempt to use various techniques to complete if they do not exist or cannot be written to. However, the presence of these files, directories or permissions will speed installation.', + 'FILE_FOUND' => 'Found', + 'FILE_NOT_FOUND' => 'Cannot find', + 'FILE_WRITEABLE' => 'Writeable', + 'FILE_UNWRITEABLE' => 'Unwriteable', + 'INSTALL_NEXT' => 'Next stage', + 'INSTALL_NEXT_PASS' => 'All the basic tests have been passed and you may proceed to the next stage of installation. If you have changed any permissions, modules, etc. and wish to re-test you can do so if you wish.', + 'INSTALL_NEXT_FAIL' => 'Some tests failed and you should correct these problems before proceeding to the next stage. Failure to do so may result in an incomplete installation.', - 'INSTALL_REQUIRED' => 'Required', - 'INSTALL_OPTIONAL' => 'Optional', - 'NO_LOCATION' => 'Cannot determine location', - - 'TESTS_PASSED' => 'Tests passed', - 'TESTS_FAILED' => 'Tests failed', - - 'DBMS' => 'Database Type', - 'DB_HOST' => 'Database Server Hostname or DSN', - 'DB_HOST_EXPLAIN' => 'DSN stands for Data Source Name and is relevant only for ODBC installs.', - 'DB_NAME' => 'Your Database Name', - 'DB_USERNAME' => 'Database Username', - 'DB_PASSWORD' => 'Database Password', - 'TABLE_PREFIX' => 'Prefix for tables in database', - - 'INITIAL_CONFIG' => 'Basic Configuration', + 'INITIAL_CONFIG' => 'Basic Configuration', + 'INITIAL_CONFIG_EXPLAIN'=> 'Now that install has determined your server can run phpBB you need to supply some specific information. If you do not know how to connect to your database please contact your hosting provider (in the first instance) or use the phpBB support forums. When entering data please ensure you check it thoroughly before continuing.', + 'ADMIN_CONFIG' => 'Admin Configuration', 'DEFAULT_LANG' => 'Default board language', 'ADMIN_USERNAME' => 'Administrator Username', 'ADMIN_EMAIL_CONFIRM' => 'Admin Email Address [ Confirm ]', 'ADMIN_PASSWORD' => 'Administrator Password', 'ADMIN_PASSWORD_CONFIRM'=> 'Administrator Password [ Confirm ]', + 'DB_CONFIG' => 'Database Configuration', + 'DBMS' => 'Database Type', + 'DB_HOST' => 'Database Server Hostname or DSN', + 'DB_HOST_EXPLAIN' => 'DSN stands for Data Source Name and is relevant only for ODBC installs.', + 'DB_PORT' => 'Database Server Port', + 'DB_PORT_EXPLAIN' => 'Leave this blank unless you know the server operates on a non-standard port.', + 'DB_NAME' => 'Your Database Name', + 'DB_USERNAME' => 'Database Username', + 'DB_PASSWORD' => 'Database Password', + 'TABLE_PREFIX' => 'Prefix for tables in database', + 'DB_TEST' => 'Test Connection', + 'INSTALL_DB_CONNECT'=> 'Successfull Connection', + 'SERVER_CONFIG' => 'Server Configuration', + 'SERVER_NAME' => 'Domain Name', + 'SERVER_NAME_EXPLAIN' => 'The domain name this board runs from', + 'SCRIPT_PATH' => 'Script path', + 'SCRIPT_PATH_EXPLAIN' => 'The path where phpBB2 is located relative to the domain name', + 'SERVER_PORT' => 'Server Port', + 'SERVER_PORT_EXPLAIN' => 'The port your server is running on, usually 80, only change if different', + 'INSTALL_START' => 'Start Install', - 'ADMIN_CONFIG' => 'Admin Configuration', - - 'INSTALLER_ERROR' => 'An error has occurred during installation', - 'INSTALL_EMAIL_MISMATCH' => 'The emails you entered did not match.', - 'INSTALL_PASSWORD_MISMATCH' => 'The passwords you entered did not match.', - - - - 'UNAVAILABLE' => 'Unavailable', - 'AVAILABLE' => 'Available', - - - 'UNWRITEABLE_CONFIG' => 'Your config file is un-writeable at present. A copy of the config file will be downloaded to your when you click the button below. You should upload this file to the same directory as phpBB 2. Once this is done you should log in using the administrator name and password you provided on the previous form and visit the admin control centre (a link will appear at the bottom of each screen once logged in) to check the general configuration. Thank you for choosing phpBB 2.', - 'DOWNLOAD_CONFIG' => 'Download Config', - 'FTP_CHOOSE' => 'Choose Download Method', - 'FTP_OPTION' => '
Since FTP extensions are enabled in this version of PHP you may also be given the option of first trying to automatically ftp the config file into place.', - 'FTP_INSTRUCTS' => 'You have chosen to ftp the file to the account containing phpBB 2 automatically. Please enter the information below to facilitate this process. Note that the FTP path should be the exact path via ftp to your phpBB2 installation as if you were ftping to it using any normal client.', - 'FTP_INFO' => 'Enter Your FTP Information', - 'ATTEMPT_FTP' => 'Attempt to ftp config file into place', - 'SEND_FILE' => 'Just send the file to me and I will ftp it manually', - 'FTP_PATH' => 'FTP path to phpBB 2', - 'FTP_USERNAME' => 'Your FTP Username', - 'FTP_PASSWORD' => 'Your FTP Password', - 'TRANSFER_CONFIG' => 'Start Transfer', - 'NO_FTP_CONFIG' => 'The attempt to ftp the config file into place failed. Please download the config file and ftp it into place manually.', - 'INSTALL' => 'Install', - 'UPGRADE' => 'Upgrade', - 'INSTALL_METHOD' => 'Choose your installation method', - 'Install_No_PHP4' => 'phpBB2 requires you have at least PHP 4.0.4 installed

Contact your hosting provider or see www.php.net for more information', - 'INSTALL_EXT_FAILED' => 'The PHP configuration on your server does not support the database type that you choose

Contact your hosting provider or see www.php.net for more information', - 'Install_No_PCRE' => 'phpBB2 requires the Perl-Compatible Regular Expressions module for PHP to be available

Contact your hosting provider or see www.php.net for more information', + 'INSTALL_SEND_CONFIG' => 'Unfortunately phpBB could not write the configuration information directly to your config.php. This may be because the file does not exist or is not writeable. A number of options will be listed below enabling you to complete installation of config.php.', + 'FTP_CONFIG' => 'Transfer config by FTP', + 'FTP_CONFIG_EXPLAIN'=> 'phpBB has detected the presence of the ftp module on this server. You may attempt to install your config.php via this if you wish. You will need to supply the information listed below. Remember your username and password are those to your server! (ask your hosting provider for details if you are unsure what these are)', + 'FTP_PATH' => 'FTP Path', + 'FTP_PATH_EXPLAIN' => 'This is the path from your root directory to that of phpBB2, e.g. htdocs/phpBB2/', + 'FTP_USERNAME' => 'FTP Username', + 'FTP_PASSWORD' => 'FTP Password', + 'FTP_UPLOAD' => 'Upload', + 'DL_CONFIG' => 'Download config', + 'DL_CONFIG_EXPLAIN' => 'You may download the complete config.php to your own PC. You will then need to upload the file manually, replacing any existing config.php in your phpBB 2.2 root directory. Please remember to upload the file in ASCII format (see your FTP application documentation if you are unsure how to achieve this). When you have uploaded the config.php please click "Done" to move to the next stage.', + 'DL_DOWNLOAD' => 'Download', + 'DL_DONE' => 'Done', + 'RETRY_WRITE' => 'Retry writing config', + 'RETRY_WRITE_EXPLAIN' => 'If you wish you can change the permissions on config.php to allow phpBB to write to it. Should you wish to do that you can click Retry below to try again. Remember to return the permissions on config.php after phpBB2 has finished installation.', + 'CONFIG_RETRY' => 'Retry', + 'INSTALL_CONGRATS' => 'Congratulations', + 'INSTALL_CONGRATS_EXPLAIN' => 'You have now successfully installed phpBB 2.2. Clicking the button below will take you to your Administration Control Panel (ACP). Take some time to examine the options available to you. Remember that help is available online via the Userguide and the phpBB support forums, see the %sREADME%s for further information.', + 'INSTALL_LOGIN' => 'Login', + 'INST_ERR_MISSING_DATA' => 'You must fill out all fields in this block', + 'INST_ERR_NO_DB' => 'Cannot load the PHP module for the selected database type', + 'INST_ERR_EMAIL_MISMATCH' => 'The emails you entered did not match.', + 'INST_ERR_PASSWORD_MISMATCH'=> 'The passwords you entered did not match.', + 'INST_ERR_DB_CONNECT' => 'Could not connect to the database, see error message below', + 'INST_ERR_DB_NO_ERROR' => 'No error message given', + 'INST_ERR_FTP_PATH' => 'Could not change to the given directory, please check the path.', + 'INST_ERR_FTP_LOGIN' => 'Could not login to ftp server, check your username and password', ));