install.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. 'dom' => array(
  52. 'nok' => '找不到用于浏览 DOM 的库(php-xml 包)',
  53. 'ok' => '已找到用于浏览 DOM 的库',
  54. ),
  55. 'favicons' => array(
  56. 'nok' => '请检查 <em>./data/favicons</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  57. 'ok' => 'favicons 目录权限正常',
  58. ),
  59. 'fileinfo' => array(
  60. 'nok' => '找不到 PHP fileinfo 库(fileinfo 包)',
  61. 'ok' => '已找到 fileinfo 库',
  62. ),
  63. 'json' => array(
  64. 'nok' => '找不到 JSON 扩展(php-json 包)',
  65. 'ok' => '已找到 JSON 扩展',
  66. ),
  67. 'mbstring' => array(
  68. 'nok' => '找不到推荐用于 Unicode 的 mbstring 库',
  69. 'ok' => '已找到推荐用于 Unicode 的 mbstring 库',
  70. ),
  71. 'pcre' => array(
  72. 'nok' => '找不到正则表达式解析库(php-pcre)',
  73. 'ok' => '已找到正则表达式解析库(PCRE)',
  74. ),
  75. 'pdo' => array(
  76. 'nok' => '找不到 PDO 或其中一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  77. 'ok' => '已找到 PDO 和至少一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  78. ),
  79. 'php' => array(
  80. 'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s',
  81. 'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容',
  82. ),
  83. 'reload' => '再检查一遍',
  84. 'tmp' => array(
  85. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  86. 'ok' => '缓存目录权限正常。',
  87. ),
  88. 'unknown_process_username' => '未知',
  89. 'users' => array(
  90. 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  91. 'ok' => 'users 目录权限正常',
  92. ),
  93. 'xml' => array(
  94. 'nok' => '找不到用于 XML 解析库',
  95. 'ok' => '已找到 XML 解析库',
  96. ),
  97. ),
  98. 'conf' => array(
  99. '_' => '常规配置',
  100. 'ok' => '常规配置已保存',
  101. ),
  102. 'congratulations' => '恭喜!',
  103. 'default_user' => array(
  104. '_' => '默认用户名',
  105. 'max_char' => '最多 16 个数字或字母',
  106. ),
  107. 'fix_errors_before' => '请在继续下一步前修复错误',
  108. 'javascript_is_better' => '启用 JavaScript 会使 FreshRSS 工作得更好',
  109. 'js' => array(
  110. 'confirm_reinstall' => '重新安装 FreshRSS 将会重置之前的配置,你确定要继续吗?',
  111. ),
  112. 'language' => array(
  113. '_' => '语言',
  114. 'choose' => '为 FreshRSS 选择语言',
  115. 'defined' => '语言已指定',
  116. ),
  117. 'missing_applied_migrations' => '出现错误,你需要手动创建一个空文件 <em>%s</em>。',
  118. 'ok' => '安装成功',
  119. 'session' => array(
  120. 'nok' => 'Web 服务器似乎未正确配置 PHP 会话所需的 cookie!',
  121. ),
  122. 'step' => '步骤 %d',
  123. 'steps' => '步骤',
  124. 'this_is_the_end' => '最后一步',
  125. 'title' => '安装 FreshRSS',
  126. );