diff -r 5c807fe77020 -r 68060328e9c6 language/english/install.json
--- a/language/english/install.json Sun Jan 11 21:37:49 2009 -0500
+++ b/language/english/install.json Wed Jan 14 20:33:05 2009 -0500
@@ -15,7 +15,7 @@
var enano_lang_install = {
categories: [
- 'meta', 'language', 'welcome', 'license', 'sysreqs', 'database', 'dbmysql', 'dbpgsql', 'website', 'login', 'confirm', 'install', 'finish', 'pophelp', 'upgrade'
+ 'meta', 'language', 'welcome', 'license', 'sysreqs', 'database', 'dbmysql', 'dbpgsql', 'website', 'login', 'confirm', 'install', 'finish', 'pophelp', 'upgrade', 'cli'
],
strings: {
meta: {
@@ -84,7 +84,7 @@
req_desc_mysql: 'It seems that your PHP installation does not have the MySQL extension enabled. If this is your own server, you may need to just enable the "libmysql.so" extension in php.ini. If you do not have the MySQL extension installed, you will need to either use your distribution\'s package manager to install it, or you will have to compile PHP from source. If you compile PHP from source, please remember to use the "--with-mysql" configure option, and you will have to have the MySQL development files installed (they usually are). If this is not your server, please contact your hosting company and ask them to install the PHP MySQL extension.',
req_desc_uploads: 'It seems that your server does not support uploading files. Enano *requires* this functionality in order to work properly. Please ask your server administrator to set the "file_uploads" option in php.ini to "On".',
req_desc_apache: 'Apparently your server is running a web server other than Apache. Enano will work nontheless, but there are some known bugs with non-Apache servers, and the "fancy" URLs will not work properly. The "Standard URLs" option will be set on the website configuration page, only change it if you are absolutely certain that your server is running Apache.',
- req_desc_config: 'It looks like the configuration file, config.new.php, is not writable. Enano needs to be able to write to this file in order to install.
If you are installing Enano on a SourceForge web site:
SourceForge mounts the web partitions read-only now, so you will need to use the project shell service to symlink config.php to a file in the /tmp/persistent directory.',
+ req_desc_config: 'It looks like the configuration file, config.new.php, is not writable. Enano needs to be able to write to this file in order to install.
If you are installing Enano on a SourceForge web site:
SourceForge mounts the web partitions read-only now, so you will need to use the project shell service to symlink config.php to a file in the /tmp/persistent directory.',
req_desc_magick: 'Enano uses ImageMagick to scale images into thumbnails. Because ImageMagick was not found on your server, Enano will use the width= and height= attributes on the <img> tag to scale images. This can cause somewhat of a performance increase, but bandwidth usage will be higher, especially if you use high-resolution images on your site.
If you are sure that you have ImageMagick, you can set the location of the "convert" program using the administration panel after installation is complete.',
req_desc_cachewriteable: 'Apparently the cache/ directory is not writable. Enano will still work, but you will not be able to cache thumbnails, meaning the server will need to re-render them each time they are requested. In some cases, this can cause a significant slowdown.',
req_desc_fileswriteable: 'It seems that the directory where uploaded files are stored (%enano_root%/files) cannot be written by the server. Enano will still function, but file uploads will not function, and will be disabled by default.',
@@ -399,6 +399,67 @@
stg_flushcache_body: 'The upgrader failed to delete some cached data. You may experience some problems with file corruption or badly drawn pages until the caches expire, which is often no longer than 20 minutes.',
stg_setversion_title: 'Set Enano version and log upgrade',
stg_setversion_body: 'There was a problem finalizing the upgrade and inserting logs. You really shouldn\'t ever see this message, but calling setConfig(\'enano_version\', installer_enano_version()) should get you rolling again since everything else is probably done by now.',
+ },
+ cli: {
+ welcome_line1: 'Welcome to the Enano CMS installation wizard.\n',
+ welcome_line2: 'Installing Enano version %enano_version% on PHP %php_version%\n',
+
+ prompt_dbdriver: 'Database type (mysql or postgresql)',
+ prompt_dbhost: 'Hostname of database server',
+ prompt_dbuser: 'Database username',
+ prompt_dbpasswd: 'Database password',
+ prompt_dbname: 'Database name',
+ prompt_tblpfx: 'Table prefix',
+ prompt_user: 'Enano administrator username',
+ prompt_pass: 'Enano administrator password',
+ prompt_email: 'Contact e-mail',
+ prompt_sitename: 'Site name',
+ prompt_sitedesc: 'Site description',
+ prompt_copyright: 'Copyright notice',
+ prompt_urlscheme: 'URL scheme (standard, short, or rewrite)',
+ prompt_scriptpath: 'Now we need the path to Enano, relative to your website\'s document root,\nwithout a trailing slash. This should be based on the URL your site will\nuse. For example, if your site is http://yoursite.com/enano/, use the value\n"/enano" here. Leave this blank if Enano is in your document root, e.g.\nhttp://yoursite.com/index.php?title=Enano_page.\nSite URL',
+ prompt_confirm: 'Enter again to confirm',
+ msg_echo_warning: '(WARNING, will be echoed)',
+
+ default_site_name: 'Enano site',
+ default_site_desc: 'My first Enano site',
+ default_copyright: '© %year%',
+
+ msg_testing_db: 'Testing database connectivity...',
+
+ stage_sysreqs: 'Checking system.\n',
+ test_pass: 'PASS',
+ test_warn: 'FAIL',
+ test_fail: 'FAIL',
+
+ msg_tests_passed: 'All tests passed. Installing Enano.\n',
+ msg_installing_db_stage1: 'Installing database, stage 1...',
+ msg_parsing_schema: 'Preparing installation payload...',
+ msg_installing_db_stage2: 'Installing database, stage 2...',
+ msg_writing_config: 'Generating config file...',
+ msg_starting_api: 'Starting up the Enano API...',
+ msg_importing_language: 'Importing default language...',
+ msg_initting_logs: 'Initializing logs...',
+ msg_cleaning_up: 'Removing temporary data...',
+ msg_initting_index: 'Initializing search index...',
+ msg_renaming_config: 'Renaming config file...',
+
+ msg_ok: 'OK',
+ msg_install_success: 'Congratulations! Enano was successfully installed.\nNow, navigate your browser to your Enano installation to make sure everything\nworks right. If you encounter problems, contact the Enano Team for support at\nhttp://forum.enanocms.org or in #enano on irc.freenode.net. Be sure to\nmention that you used the CLI installer.\n',
+
+ err_pass_no_match: ' Passwords do not match.\n',
+ err_db_connect_fail: 'Could not connect to the database',
+ err_sysreqs_fail: 'One or more system requirement checks has failed.',
+ err_no_drivers: 'Support for at least one database driver is required.',
+ err_schema_load: 'Could not load the database schema file.',
+ err_db_query: 'A database error occurred; see the message above for details.',
+ err_query_sanity_failed: 'The sanity check on a database query failed.',
+ err_writing_config: 'Could not write the configuration file.',
+ err_importing_language: 'Could not import the default language.',
+ err_initting_logs: 'Could not initialize Enano\'s logs.',
+ err_cleaning_up: 'Could not clean up the temporary data.',
+ err_initting_index: 'Could not initialize the search index.',
+ err_renaming_config: 'Could not rename config.new.php to config.php; please do this manually.',
}
}
}