install.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?php
  2. /******************************************************************************
  3. * Each entry of that file can be associated with a comment to indicate its *
  4. * state. When there is no comment, it means the entry is fully translated. *
  5. * The recognized comments are (comment matching is case-insensitive): *
  6. * + TODO: the entry has never been translated. *
  7. * + DIRTY: the entry has been translated but needs to be updated. *
  8. * + IGNORE: the entry does not need to be translated. *
  9. * When a comment is not recognized, it is discarded. *
  10. ******************************************************************************/
  11. return array(
  12. 'action' => array(
  13. 'finish' => 'Complete installation',
  14. 'fix_errors_before' => 'Please all fix errors before continuing to the next step.',
  15. 'keep_install' => 'Keep previous configuration',
  16. 'next_step' => 'Go to the next step',
  17. 'reinstall' => 'Reinstall FreshRSS',
  18. ),
  19. 'bdd' => array(
  20. '_' => 'Database',
  21. 'conf' => array(
  22. '_' => 'Database configuration',
  23. 'ko' => 'Verify your database configuration.',
  24. 'ok' => 'Database configuration has been saved.',
  25. ),
  26. 'host' => 'Host',
  27. 'password' => 'Database password',
  28. 'prefix' => 'Table prefix',
  29. 'type' => 'Type of database',
  30. 'username' => 'Database username',
  31. ),
  32. 'check' => array(
  33. '_' => 'Checks',
  34. 'already_installed' => 'We have detected that FreshRSS is already installed!',
  35. 'cache' => array(
  36. 'nok' => 'Check permissions on the <em>%1$s</em> directory for <em>%2$s</em> user. The HTTP server must have write permission.',
  37. 'ok' => 'Permissions on the cache directory are good.',
  38. ),
  39. 'ctype' => array(
  40. 'nok' => 'Cannot find the required library for character type checking (php-ctype).',
  41. 'ok' => 'You have the required library for character type checking (ctype).',
  42. ),
  43. 'curl' => array(
  44. 'nok' => 'Cannot find the required cURL library (php-curl package).',
  45. 'ok' => 'You have the required cURL library.',
  46. ),
  47. 'data' => array(
  48. 'nok' => 'Check permissions on the <em>%1$s</em> directory for <em>%2$s</em> user. The HTTP server must have write permission.',
  49. 'ok' => 'Permissions on the data directory are good.',
  50. ),
  51. 'database-connection' => array(
  52. 'nok' => 'Database connection error.',
  53. 'ok' => 'Database connection is good.',
  54. ),
  55. 'database-table' => array(
  56. 'nok' => 'Database table "%s" is incomplete.',
  57. 'ok' => 'Database table "%s" is good.',
  58. ),
  59. 'database-tables' => array(
  60. 'nok' => 'Some database tables are missing.',
  61. 'ok' => 'All database tables exist.',
  62. ),
  63. 'database-title' => 'Database',
  64. 'docroot' => array(
  65. 'nok' => 'Your web server document root does not seem to point to the <code>./p/</code> folder. Other folders such as <code>./data/</code> may be publicly accessible.',
  66. 'ok' => 'Your web server document root correctly points to the <code>./p/</code> folder.',
  67. ),
  68. 'dom' => array(
  69. 'nok' => 'Cannot find the required library to browse the DOM.',
  70. 'ok' => 'You have the required library to browse the DOM.',
  71. ),
  72. 'favicons' => array(
  73. 'nok' => 'Check permissions on the <em>%1$s</em> directory for <em>%2$s</em> user. The HTTP server must have write permission.',
  74. 'ok' => 'Permissions on the favicons directory are good.',
  75. ),
  76. 'fileinfo' => array(
  77. 'nok' => 'Cannot find the recommended PHP fileinfo library (fileinfo package).',
  78. 'ok' => 'You have the recommended PHP fileinfo library (fileinfo package).',
  79. ),
  80. 'files' => 'File installation',
  81. 'gmp' => array(
  82. 'nok' => 'Cannot find the required GMP extension for 32-bit PHP (php-gmp package).',
  83. 'ok' => 'You have the GMP extension required for 32-bit PHP.',
  84. ),
  85. 'intl' => array(
  86. 'nok' => 'Cannot find the recommended library php-intl for internationalisation.',
  87. 'ok' => 'You have the recommended library php-intl for internationalisation.',
  88. ),
  89. 'json' => array(
  90. 'nok' => 'Cannot find the required library to parse JSON.',
  91. 'ok' => 'You have the required library to parse JSON.',
  92. ),
  93. 'mbstring' => array(
  94. 'nok' => 'Cannot find the recommended library mbstring for Unicode.',
  95. 'ok' => 'You have the recommended library mbstring for Unicode.',
  96. ),
  97. 'pcre' => array(
  98. 'nok' => 'Cannot find the required library for regular expressions (php-pcre).',
  99. 'ok' => 'You have the required library for regular expressions (PCRE).',
  100. ),
  101. 'pdo-mysql' => array(
  102. 'nok' => 'Cannot find the required PDO driver for MySQL/MariaDB.',
  103. ),
  104. 'pdo-pgsql' => array(
  105. 'nok' => 'Cannot find the required PDO driver for PostgreSQL.',
  106. ),
  107. 'pdo-sqlite' => array(
  108. 'nok' => 'Cannot find the PDO driver for SQLite.',
  109. 'ok' => 'You have the PDO driver for SQLite.',
  110. ),
  111. 'pdo' => array(
  112. 'nok' => 'Cannot find PDO or one of the supported drivers (pdo_sqlite, pdo_pgsql, pdo_mysql).',
  113. 'ok' => 'You have PDO and at least one of the supported drivers (pdo_sqlite, pdo_pgsql, pdo_mysql).',
  114. ),
  115. 'php' => array(
  116. '_' => 'PHP installation',
  117. 'nok' => 'Your PHP version is %s but FreshRSS requires at least version %s.',
  118. 'ok' => 'Your PHP version (%s) is compatible with FreshRSS.',
  119. ),
  120. 'reload' => 'Check again',
  121. 'tmp' => array(
  122. 'nok' => 'Check permissions on the <em>%1$s</em> directory for <em>%2$s</em> user. The HTTP server must have write permissions.',
  123. 'ok' => 'Permissions on the temp directory are good.',
  124. ),
  125. 'tokens' => array(
  126. 'nok' => 'Check permissions on <em>./data/tokens</em> directory. HTTP server must have write permission',
  127. 'ok' => 'Permissions on the tokens directory are good.',
  128. ),
  129. 'unknown_process_username' => 'unknown',
  130. 'users' => array(
  131. 'nok' => 'Check permissions on the <em>%1$s</em> directory for <em>%2$s</em> user. The HTTP server must have write permissions.',
  132. 'ok' => 'Permissions on the users directory are good.',
  133. ),
  134. 'xml' => array(
  135. 'nok' => 'Cannot find the required library to parse XML.',
  136. 'ok' => 'You have the required library to parse XML.',
  137. ),
  138. 'zip' => array(
  139. 'nok' => 'Cannot find the recommended extension for ZIP (php-zip package).',
  140. 'ok' => 'You have the recommended extension for ZIP (php-zip package).',
  141. ),
  142. ),
  143. 'conf' => array(
  144. '_' => 'General configuration',
  145. 'ok' => 'General configuration has been saved.',
  146. ),
  147. 'congratulations' => 'Congratulations!',
  148. 'default_user' => array(
  149. '_' => 'Username of the default user',
  150. 'max_char' => '1-39 characters: letters, digits, and <code>. _ @ -</code>',
  151. ),
  152. 'fix_errors_before' => 'Please fix errors before continuing to the next step.',
  153. 'javascript_is_better' => 'FreshRSS is more pleasant with JavaScript enabled',
  154. 'js' => array(
  155. 'confirm_reinstall' => 'You will lose your previous configuration by reinstalling FreshRSS. Are you sure you want to continue?',
  156. ),
  157. 'language' => array(
  158. '_' => 'Language',
  159. 'choose' => 'Choose a language for FreshRSS',
  160. 'defined' => 'Language has been defined.',
  161. ),
  162. 'missing_applied_migrations' => 'Something went wrong; you should create an empty file <em>%s</em> manually.',
  163. 'ok' => 'The installation process was successful.',
  164. 'session' => array(
  165. 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!',
  166. ),
  167. 'step' => 'step %d',
  168. 'steps' => 'Steps',
  169. 'this_is_the_end' => 'This is the end',
  170. 'title' => 'Installation · FreshRSS',
  171. );