install.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. 'dom' => array(
  65. 'nok' => '找不到用于浏览 DOM 的库(php-xml 包)',
  66. 'ok' => '已找到用于浏览 DOM 的库',
  67. ),
  68. 'favicons' => array(
  69. 'nok' => '请检查 <em>./data/favicons</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  70. 'ok' => 'favicons 目录权限正常',
  71. ),
  72. 'fileinfo' => array(
  73. 'nok' => '找不到 PHP fileinfo 库(fileinfo 包)',
  74. 'ok' => '已找到 fileinfo 库',
  75. ),
  76. 'files' => '文件相关',
  77. 'intl' => array(
  78. 'nok' => '无法找到推荐用于国际化支持的 php-intl 扩展。',
  79. 'ok' => '已找到推荐用于国际化支持的 php-intl 扩展。',
  80. ),
  81. 'json' => array(
  82. 'nok' => '找不到 JSON 扩展(php-json 包)',
  83. 'ok' => '已找到 JSON 扩展',
  84. ),
  85. 'mbstring' => array(
  86. 'nok' => '找不到推荐用于 Unicode 的 mbstring 库',
  87. 'ok' => '已找到推荐用于 Unicode 的 mbstring 库',
  88. ),
  89. 'pcre' => array(
  90. 'nok' => '找不到正则表达式解析库(php-pcre)',
  91. 'ok' => '已找到正则表达式解析库(PCRE)',
  92. ),
  93. 'pdo-mysql' => array(
  94. 'nok' => '无法找到 MySQL 或 MariaDB 所需的 PDO 驱动。',
  95. ),
  96. 'pdo-pgsql' => array(
  97. 'nok' => '无法找到 PostgreSQL 所需的 PDO 驱动。',
  98. ),
  99. 'pdo-sqlite' => array(
  100. 'nok' => '无法找到 SQLite 的 PDO 驱动。',
  101. 'ok' => '已找到 SQLite 的 PDO 驱动。',
  102. ),
  103. 'pdo' => array(
  104. 'nok' => '找不到 PDO 或其中一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  105. 'ok' => '已找到 PDO 和至少一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  106. ),
  107. 'php' => array(
  108. '_' => 'PHP 安装',
  109. 'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s',
  110. 'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容',
  111. ),
  112. 'reload' => '再检查一遍',
  113. 'tmp' => array(
  114. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  115. 'ok' => '缓存目录权限正常。',
  116. ),
  117. 'tokens' => array(
  118. 'nok' => '请检查 <em>./data/tokens</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  119. 'ok' => 'tokens 目录权限正常',
  120. ),
  121. 'unknown_process_username' => '未知',
  122. 'users' => array(
  123. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  124. 'ok' => 'users 目录权限正常',
  125. ),
  126. 'xml' => array(
  127. 'nok' => '找不到用于 XML 解析库',
  128. 'ok' => '已找到 XML 解析库',
  129. ),
  130. 'zip' => array(
  131. 'nok' => '找不到 ZIP 扩展(php-zip 包)',
  132. 'ok' => '已找到 ZIP 扩展',
  133. ),
  134. ),
  135. 'conf' => array(
  136. '_' => '常规配置',
  137. 'ok' => '常规配置已保存',
  138. ),
  139. 'congratulations' => '恭喜!',
  140. 'default_user' => array(
  141. '_' => '默认用户名',
  142. 'max_char' => '最多 16 个数字或字母',
  143. ),
  144. 'fix_errors_before' => '请在继续下一步前修复错误',
  145. 'javascript_is_better' => '启用 JavaScript 会使 FreshRSS 工作得更好',
  146. 'js' => array(
  147. 'confirm_reinstall' => '重新安装 FreshRSS 将会重置之前的配置,你确定要继续吗?',
  148. ),
  149. 'language' => array(
  150. '_' => '语言',
  151. 'choose' => '为 FreshRSS 选择语言',
  152. 'defined' => '语言已指定',
  153. ),
  154. 'missing_applied_migrations' => '出现错误,你需要手动创建一个空文件 <em>%s</em>。',
  155. 'ok' => '安装成功',
  156. 'session' => array(
  157. 'nok' => 'Web 服务器似乎未正确配置 PHP 会话所需的 cookie!',
  158. ),
  159. 'step' => '步骤 %d',
  160. 'steps' => '步骤',
  161. 'this_is_the_end' => '最后一步',
  162. 'title' => '安装 FreshRSS',
  163. );