PageRenderTime 47ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/htdocs/setup/language/test/setup.php

https://github.com/Doap/xoops
PHP | 202 lines | 135 code | 43 blank | 24 comment | 20 complexity | 547f16f36ceb0b85dffb82e7fb76ce76 MD5 | raw file
  1. <?php
  2. // $Id$
  3. // _LANGCODE: en
  4. // _CHARSET : UTF-8
  5. // Translator: XOOPS Translation Team
  6. // Titles (main and pages)
  7. define("_INSTALL_WIZARD", "Xoops Engine Setup Wizard");
  8. define("_INSTALL_PAGE_PRESETTING", "Presettings");
  9. define("_INSTALL_PAGE_PRESETTING_DESC", "Presettings and server configuration detection");
  10. define("_INSTALL_PAGE_DIRECTIVE", "Directives");
  11. define("_INSTALL_PAGE_DIRECTIVE_DESC", "Directive settings for website");
  12. define("_INSTALL_PAGE_DATABASE", "Database");
  13. define("_INSTALL_PAGE_DATABASE_DESC", "Database settings");
  14. define("_INSTALL_PAGE_ADMIN", "Administrator");
  15. define("_INSTALL_PAGE_ADMIN_DESC", "Administrator account creation");
  16. define("_INSTALL_LANGUAGE_LEGEND", "Language Selection");
  17. define("_INSTALL_LANGUAGE_LABEL", "Language");
  18. define("_INSTALL_LANGUAGE_DESC", "Choose the language for the installation and website");
  19. define("_INSTALL_CHECK_SEVERSETTINGS", "Sever setting detection");
  20. // Settings (labels and help text)
  21. define("_INSTALL_ROOT_PATH_LABEL", "Documents root physical path");
  22. define("_INSTALL_ROOT_PATH_HELP", "Physical path to the documents (served) directory without trailing slash");
  23. define("_INSTALL_URL_LABEL", "Website location (URL)"); // L56
  24. define("_INSTALL_URL_HELP", "Main URL that will be used to access your XOOPS installation"); // L58
  25. define("_INSTALL_LIB_PATH_LABEL", "Library directory");
  26. define("_INSTALL_LIB_PATH_HELP", "Physical path to library directory without trailing slash. Locate the folder out of " . _INSTALL_ROOT_PATH_LABEL . " to make it secure.");
  27. define("_INSTALL_DATA_PATH_LABEL", "Data file directory");
  28. define("_INSTALL_DATA_PATH_HELP", "Physical path to the data files (writable) directory WITHOUT trailing slash. Locate the folder out of " . _INSTALL_ROOT_PATH_LABEL . " to make it secure.");
  29. define("_INSTALL_USR_PATH_LABEL", "Basic directory for user applications");
  30. define("_INSTALL_USR_PATH_HELP", "Physical path to user application directory WITHOUT trailing slash. Locate the folder out of " . _INSTALL_ROOT_PATH_LABEL . " to make it secure.");
  31. define("_INSTALL_APP_PATH_LABEL", "Application module directory");
  32. define("_INSTALL_APP_PATH_HELP", "Physical path to application module directory without trailing slash.");
  33. define("_INSTALL_APP_URL_LABEL", "URL of application root directory");
  34. define("_INSTALL_APP_URL_HELP", "URL that will be used to access application directory. For security consideration, it is highly recommended to leave it blank.");
  35. define("_INSTALL_PLUGIN_PATH_LABEL", "Plugin directory");
  36. define("_INSTALL_PLUGIN_PATH_HELP", "Physical path to plugin directory without trailing slash.");
  37. define("_INSTALL_PLUGIN_URL_LABEL", "URL of plugin root directory");
  38. define("_INSTALL_PLUGIN_URL_HELP", "URL that will be used to access plugin directory. For security consideration, it is highly recommended to leave it blank.");
  39. define("_INSTALL_APPLET_PATH_LABEL", "Applet directory");
  40. define("_INSTALL_APPLET_PATH_HELP", "Physical path to applet directory without trailing slash.");
  41. define("_INSTALL_APPLET_URL_LABEL", "URL of applet root directory");
  42. define("_INSTALL_APPLET_URL_HELP", "URL that will be used to access applet directory. For security consideration, it is highly recommended to leave it blank.");
  43. define("_INSTALL_UPLOAD_PATH_LABEL", "Upload directory");
  44. define("_INSTALL_UPLOAD_PATH_HELP", "Physical path to upload directory without trailing slash. A relative path will be allocated in XOOPS root directory");
  45. define("_INSTALL_UPLOAD_URL_LABEL", "URL of upload root");
  46. define("_INSTALL_UPLOAD_URL_HELP", "URL that will be used to access upload directory. A relative URL will be appended to XOOPS root URL.");
  47. define("_INSTALL_IMG_PATH_LABEL", "Static file directory");
  48. define("_INSTALL_IMG_PATH_HELP", "Physical path to static file directory without trailing slash. Upload directory will be used if not set explicitly.");
  49. define("_INSTALL_IMG_URL_LABEL", "URL of static file root directory");
  50. define("_INSTALL_IMG_URL_HELP", "URL that will be used to access static files. Upload URL will be used if static directory is not set explicitly.");
  51. define("_INSTALL_THEME_PATH_LABEL", "Theme directory");
  52. define("_INSTALL_THEME_PATH_HELP", "Physical path to theme directory without trailing slash. 'themes' in img will be used if not set explicitly.");
  53. define("_INSTALL_THEME_URL_LABEL", "URL of theme root directory");
  54. define("_INSTALL_THEME_URL_HELP", "URL that will be used to access themes. 'themes' in img will be used if not set explicitly.");
  55. define("_INSTALL_LEGEND_CONNECTION", "Server connection");
  56. define("_INSTALL_LEGEND_DATABASE", "Database");
  57. define("_INSTALL_DB_HOST_LABEL", "Server hostname");
  58. define("_INSTALL_DB_HOST_HELP", "Hostname of the database server. If you are unsure, <strong>localhost</strong> works in most cases, or <strong>127.0.0.1</strong>");
  59. define("_INSTALL_DB_USER_LABEL", "User name");
  60. define("_INSTALL_DB_USER_HELP", "Name of the user account that will be used to connect to the database server");
  61. define("_INSTALL_DB_PASS_LABEL", "Password");
  62. define("_INSTALL_DB_PASS_HELP", "Password of your database user account");
  63. define("_INSTALL_DB_NAME_LABEL", "Database name");
  64. define("_INSTALL_DB_NAME_HELP", "The name of database on the host. The installer will attempt to create the database if not exist");
  65. define("_INSTALL_DB_CHARSET_LABEL", "Database character set");
  66. define("_INSTALL_DB_CHARSET_HELP", "MySQL includes character set support that enables you to store data using a variety of character sets and perform comparisons according to a variety of collations.");
  67. define("_INSTALL_DB_COLLATION_LABEL", "Database collation");
  68. define("_INSTALL_DB_COLLATION_HELP", "A collation is a set of rules for comparing characters in a character set.");
  69. define("_INSTALL_DB_PREFIX_LABEL", "Table prefix");
  70. define("_INSTALL_DB_PREFIX_HELP", "This prefix will be added to all new tables created to avoid name conflicts in the database. If you are unsure, just keep the default");
  71. define("_INSTALL_DB_PCONNECT_LABEL", "Use persistent connection");
  72. define("_INSTALL_DB_PCONNECT_HELP", "Default is 'No'. Leave it blank if you are unsure.");
  73. define("_INSTALL_DB_DATABASE_LABEL", "Database");
  74. define("_INSTALL_DB_SKIP", "Skip Database");
  75. define("_INSTALL_DB_SKIP_DESC", "If database is not utilized, you can skip database settings and the installer is finished.");
  76. define("_INSTALL_LEGEND_ADMIN_ACCOUNT", "Administrator account");
  77. define("_INSTALL_ADMIN_LOGIN_LABEL", "Admin login");
  78. define("_INSTALL_ADMIN_EMAIL_LABEL", "Admin email");
  79. define("_INSTALL_ADMIN_PASS_LABEL", "Admin password");
  80. define("_INSTALL_ADMIN_CONFIRMPASS_LABEL", "Confirm password");
  81. // Buttons
  82. define("_INSTALL_BUTTON_PREVIOUS", "Previous");
  83. define("_INSTALL_BUTTON_NEXT", "Next");
  84. define("_INSTALL_BUTTON_RELOAD", "Reload");
  85. // Messages
  86. define("_INSTALL_CHECKING_PERMISSIONS", "Checking file and directory permissions...");
  87. define("_INSTALL_IS_NOT_WRITABLE", "%s is NOT writable.");
  88. define("_INSTALL_IS_WRITABLE", "%s is writable.");
  89. define("_INSTALL_PATH_FOUND", "Path found.");
  90. // %s is table name
  91. /*
  92. define("TABLE_NOT_CREATED", "Unable to create table %s");
  93. define("TABLE_CREATED", "Table %s created.");
  94. define("ROWS_INSERTED", "%d entrie(s) inserted to table %s.");
  95. define("ROWS_FAILED", "Failed inserting %d entrie(s) to table %s.");
  96. define("TABLE_ALTERED", "Table %s updated.");
  97. define("TABLE_NOT_ALTERED", "Failed updating table %s.");
  98. define("TABLE_DROPPED", "Table %s dropped.");
  99. define("TABLE_NOT_DROPPED", "Failed deleting table %s.");
  100. */
  101. // Error messages
  102. define("_INSTALL_ERR_COULD_NOT_ACCESS", "Could not access the specified folder. Please verify that it exists and is readable by the server.");
  103. //define("ERR_NO_XOOPS_FOUND", "No system installation could be found in the specified folder.");
  104. define("_INSTALL_ERR_INVALID_EMAIL", "Invalid Email");
  105. define("_INSTALL_ERR_REQUIRED", "Information is required.");
  106. define("_INSTALL_ERR_PASSWORD_MATCH", "The two passwords do not match");
  107. define("_INSTALL_ERR_WRITE_CONFIGFILE", "The configuration file '%s' is not written correctly.");
  108. define("_INSTALL_ERR_NEED_WRITE_ACCESS", "The server must be given write access to the following files and folders<br />(i.e. <strong>chmod 777 directory_name</strong> on a UNIX/LINUX server)<br />If they are not available or not created correctly, please create manually and set proper permissions.");
  109. define("_INSTALL_ERR_COPY_CONFIGFILES", "The configuration files are not copied correctly or not readable, please create and/or set read permissions for the files manually.");
  110. define("_INSTALL_ERR_NO_DATABASE", "Could not create database. Contact the server administrator for details."); // L31
  111. define("_INSTALL_ERR_NO_DBCONNECTION", "Could not connect to the database server.");
  112. define("_INSTALL_ERR_MYSQL_STRICT_MODE", "MySQL is running in strict mode, you are advised to turn it off. For details, check <a href='http://dev.mysql.com/doc/refman/5.5/en/faqs-sql-modes.html' target='_blank'>MySQL manual</a>.");
  113. define("_INSTALL_ERR_INVALID_DBCHARSET", "The charset '%s' is not supported.");
  114. define("_INSTALL_ERR_INVALID_DBCOLLATION", "The collation '%s' is not supported.");
  115. define("_INSTALL_ERR_CHARSET_NOT_SET", "Default character set is not set for XOOPS database.");
  116. //define("_INSTALL_CHARSET", "UTF-8");
  117. //define("SUPPORT", "Supports");
  118. define("_INSTALL_ADMIN_EXIST", "The administrator account already exists.<br />Press <strong>next</strong> to go to the next step.");
  119. // Settings (labels and help text)
  120. define("_INSTALL_XOOPS_SETTINGS_BASIC", "Basic settings");
  121. define("_INSTALL_XOOPS_SETTINGS_ADVANCED", "Advanced settings");
  122. define("_INSTALL_XOOPS_SETTINGS_BASIC_HELP", "Settings required by system");
  123. define("_INSTALL_XOOPS_SETTINGS_ADVANCED_HELP", "Settings that can help improve security, depolyment flexibility, etc. If you are unsure about it, leave as it is.");
  124. define("_INSTALL_URL_FOUND", "URL is detected.");
  125. define("_INSTALL_ERR_URL_NOT_ACCESS", "URL is not accessible. Please check and try again.");
  126. define("_INSTALL_SYSTEM_ALREADY_INSTALLED", 'System module already exists. Please continue to re-install.');
  127. define("_INSTALL_SYSTEM_TO_INSTALL", 'Please continue to install system module.');
  128. define("_INSTALL_SYSTEM_INSTALLED_SUCCESS", 'System module is installed successfully.');
  129. define("_INSTALL_SYSTEM_INSTALLED_FAILED", 'System module installation is failed. Please continue to try again.');
  130. define("_INSTALL_REQUIREMENT_SYSTEM", "System requirements");
  131. define("_INSTALL_REQUIREMENT_SYSTEM_HELP", "Server settings and system extensions required by Xoops Engine");
  132. define("_INSTALL_REQUIREMENT_VERSION_REQUIRED", "Version %s is required.");
  133. define("_INSTALL_REQUIREMENT_SERVER", "Web server");
  134. define("_INSTALL_REQUIREMENT_SERVER_NGINX", "Make sure you have adequate <a href='http://nginx.net' title='nginx' target='_blank'>nginx</a> knowledge, refer to <a href='http://dev.xoopsengine.org' title='Xoops Engine' target='_blank'>Xoops Engine Dev</a> for nginx settings.");
  135. define("_INSTALL_REQUIREMENT_SERVER_MOD_REWRITE", "Apache \"mod_rewrite\" module is required, check <a href='http://httpd.apache.org/docs/current/mod/mod_rewrite.html' title='mod_rewrite' target='_blank'>mod_rewrite</a> for details.");
  136. define("_INSTALL_REQUIREMENT_SERVER_NOT_SUPPORTED", "The webserver is currently not supported, please use <a href='http://nginx.net' title='nginx' target='_blank'>nginx</a> or <a href='http://www.php.net/manual/en/book.apache.php' target='_blank' title='Apache'>Apache</a>.");
  137. define("_INSTALL_REQUIREMENT_PHP", "PHP");
  138. define("_INSTALL_REQUIREMENT_PDO", "PDO drivers");
  139. define("_INSTALL_REQUIREMENT_PDO_PROMPT", "PHP Data Objects (PDO) extension with MySQL driver is required for regular Xoops Engine instances, check <a href='http://www.php.net/manual/en/book.pdo.php' title='PDO' target='_blank'>PDO manual</a> for details.");
  140. define("_INSTALL_REQUIREMENT_PERSIST", "Persist options");
  141. define("_INSTALL_REQUIREMENT_PERSIST_PROMPT", "There is no recommended persist engine available. One of the following extensions is recommended: %s");
  142. define("_INSTALL_REQUIREMENT_UNKNOWN", "Unknown");
  143. define("_INSTALL_REQUIREMENT_VALID", "Valid");
  144. define("_INSTALL_REQUIREMENT_INVALID", "Invalid");
  145. define("_INSTALL_REQUIREMENT_UPDATE", "Not desired");
  146. define("_INSTALL_REQUIREMENT_EXTENSION", "System extension recommendations");
  147. define("_INSTALL_REQUIREMENT_EXTENSION_HELP", "Extesions recommended for better functionality or performance");
  148. define("_INSTALL_EXTENSION_APC", "APC");
  149. define("_INSTALL_EXTENSION_APC_PROMPT", 'The Alternative PHP Cache (APC) is highly recommended for high-performance senario. Refer to <a href="http://www.php.net/manual/en/intro.apc.php" target="_blank" title="APC introduction">APC introduction</a> for details.');
  150. define("_INSTALL_EXTENSION_REDIS", "Redis");
  151. define("_INSTALL_EXTENSION_REDIS_PROMPT", 'The extension is highly recommended for performance senario and advanced data structure. Refer to <a href="http://redis.io" target="_blank" title="Redis">Redis page</a> for details.');
  152. define("_INSTALL_EXTENSION_MEMCACHED", "Memcached");
  153. define("_INSTALL_EXTENSION_MEMCACHED_PROMPT", 'Memcached is highly recommended for high-performance yet robust distributed senario. Refer to <a href="http://www.php.net/manual/en/intro.memcached.php" target="_blank" title="Memcached introduction">Memcached introduction</a> for details.');
  154. define("_INSTALL_EXTENSION_MEMCACHE", "Memcache");
  155. define("_INSTALL_EXTENSION_MEMCACHE_PROMPT", 'Memcache a widely used cache engine. Refer to <a href="http://www.php.net/manual/en/intro.memcache.php" target="_blank" title="Memcache introduction">Memcache introduction</a> for details.');
  156. define("_INSTALL_EXTENSION_FILE", 'File');
  157. define("_INSTALL_EXTENSION_FILE_PROMPT", 'Caching storage with files is not recommended. You are highly adviced to check recommended extensions to ensure they are installed and configured correctly.');
  158. define("_INSTALL_EXTENSION_MBSTRING", "mbstring");
  159. define("_INSTALL_EXTENSION_MBSTRING_PROMPT", "The extension is required for multibyte string processing, check <a href='http://www.php.net/manual/en/book.mbstring.php' title='Multibyte String' target='_blank'>Multibyte String</a> for details.");