install.php 6.4 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' => '完成安装',
  14. 'fix_errors_before' => '请在继续下一步前修复错误',
  15. 'keep_install' => '保留当前配置',
  16. 'next_step' => '下一步',
  17. 'reinstall' => '重新安装 FreshRSS',
  18. ),
  19. 'bdd' => array(
  20. '_' => '数据库',
  21. 'conf' => array(
  22. '_' => '数据库配置',
  23. 'ko' => '验证你的数据库信息',
  24. 'ok' => '数据库配置已保存',
  25. ),
  26. 'host' => '主机',
  27. 'password' => '数据库密码',
  28. 'prefix' => '表前缀',
  29. 'type' => '数据库类型',
  30. 'username' => '数据库用户名',
  31. ),
  32. 'check' => array(
  33. '_' => '检查',
  34. 'already_installed' => '我们检测到 FreshRSS 已经安装!',
  35. 'cache' => array(
  36. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  37. 'ok' => 'cache 目录权限正常',
  38. ),
  39. 'ctype' => array(
  40. 'nok' => '找不到字符类型检测库(php-ctype)',
  41. 'ok' => '已找到字符类型检测库(ctype)',
  42. ),
  43. 'curl' => array(
  44. 'nok' => '找不到 cURL 库(php-curl 包)',
  45. 'ok' => '已找到 cURL 库',
  46. ),
  47. 'data' => array(
  48. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  49. 'ok' => 'data 目录权限正常',
  50. ),
  51. 'database-connection' => array(
  52. 'nok' => 'Database connection error.', // TODO
  53. 'ok' => 'Database connection is good.', // TODO
  54. ),
  55. 'database-table' => array(
  56. 'nok' => 'Database table "%s" is incomplete.', // TODO
  57. 'ok' => 'Database table "%s" is good.', // TODO
  58. ),
  59. 'database-tables' => array(
  60. 'nok' => 'Some database tables are missing.', // TODO
  61. 'ok' => 'All database tables exist.', // TODO
  62. ),
  63. 'database-title' => 'Database', // TODO
  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.', // TODO
  66. 'ok' => 'Your web server document root correctly points to the <code>./p/</code> folder.', // TODO
  67. ),
  68. 'dom' => array(
  69. 'nok' => '找不到用于浏览 DOM 的库(php-xml 包)',
  70. 'ok' => '已找到用于浏览 DOM 的库',
  71. ),
  72. 'favicons' => array(
  73. 'nok' => '请检查 <em>./data/favicons</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  74. 'ok' => 'favicons 目录权限正常',
  75. ),
  76. 'fileinfo' => array(
  77. 'nok' => '找不到 PHP fileinfo 库(fileinfo 包)',
  78. 'ok' => '已找到 fileinfo 库',
  79. ),
  80. 'files' => '文件相关',
  81. 'gmp' => array(
  82. 'nok' => 'Cannot find the required GMP extension for 32-bit PHP (php-gmp package).', // TODO
  83. 'ok' => 'You have the GMP extension required for 32-bit PHP.', // TODO
  84. ),
  85. 'intl' => array(
  86. 'nok' => '无法找到推荐用于国际化支持的 php-intl 扩展。',
  87. 'ok' => '已找到推荐用于国际化支持的 php-intl 扩展。',
  88. ),
  89. 'json' => array(
  90. 'nok' => '找不到 JSON 扩展(php-json 包)',
  91. 'ok' => '已找到 JSON 扩展',
  92. ),
  93. 'mbstring' => array(
  94. 'nok' => '找不到推荐用于 Unicode 的 mbstring 库',
  95. 'ok' => '已找到推荐用于 Unicode 的 mbstring 库',
  96. ),
  97. 'pcre' => array(
  98. 'nok' => '找不到正则表达式解析库(php-pcre)',
  99. 'ok' => '已找到正则表达式解析库(PCRE)',
  100. ),
  101. 'pdo-mysql' => array(
  102. 'nok' => '无法找到 MySQL 或 MariaDB 所需的 PDO 驱动。',
  103. ),
  104. 'pdo-pgsql' => array(
  105. 'nok' => '无法找到 PostgreSQL 所需的 PDO 驱动。',
  106. ),
  107. 'pdo-sqlite' => array(
  108. 'nok' => '无法找到 SQLite 的 PDO 驱动。',
  109. 'ok' => '已找到 SQLite 的 PDO 驱动。',
  110. ),
  111. 'pdo' => array(
  112. 'nok' => '找不到 PDO 或其中一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  113. 'ok' => '已找到 PDO 和至少一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  114. ),
  115. 'php' => array(
  116. '_' => 'PHP 安装',
  117. 'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s',
  118. 'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容',
  119. ),
  120. 'reload' => '再检查一遍',
  121. 'tmp' => array(
  122. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  123. 'ok' => '缓存目录权限正常。',
  124. ),
  125. 'tokens' => array(
  126. 'nok' => '请检查 <em>./data/tokens</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  127. 'ok' => 'tokens 目录权限正常',
  128. ),
  129. 'unknown_process_username' => '未知',
  130. 'users' => array(
  131. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  132. 'ok' => 'users 目录权限正常',
  133. ),
  134. 'xml' => array(
  135. 'nok' => '找不到用于 XML 解析库',
  136. 'ok' => '已找到 XML 解析库',
  137. ),
  138. 'zip' => array(
  139. 'nok' => '找不到 ZIP 扩展(php-zip 包)',
  140. 'ok' => '已找到 ZIP 扩展',
  141. ),
  142. ),
  143. 'conf' => array(
  144. '_' => '常规配置',
  145. 'ok' => '常规配置已保存',
  146. ),
  147. 'congratulations' => '恭喜!',
  148. 'default_user' => array(
  149. '_' => '默认用户名',
  150. 'max_char' => '1-39 characters: letters, digits, and <code>. _ @ -</code>', // TODO
  151. ),
  152. 'fix_errors_before' => '请在继续下一步前修复错误',
  153. 'javascript_is_better' => '启用 JavaScript 会使 FreshRSS 工作得更好',
  154. 'js' => array(
  155. 'confirm_reinstall' => '重新安装 FreshRSS 将会重置之前的配置,你确定要继续吗?',
  156. ),
  157. 'language' => array(
  158. '_' => '语言',
  159. 'choose' => '为 FreshRSS 选择语言',
  160. 'defined' => '语言已指定',
  161. ),
  162. 'missing_applied_migrations' => '出现错误,你需要手动创建一个空文件 <em>%s</em>。',
  163. 'ok' => '安装成功',
  164. 'session' => array(
  165. 'nok' => 'Web 服务器似乎未正确配置 PHP 会话所需的 cookie!',
  166. ),
  167. 'step' => '步骤 %d',
  168. 'steps' => '步骤',
  169. 'this_is_the_end' => '最后一步',
  170. 'title' => '安装 FreshRSS',
  171. );