admin.php 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. 'auth' => array(
  13. 'allow_anonymous' => '允许匿名阅读默认用户(%s)的文章',
  14. 'allow_anonymous_refresh' => '允许匿名刷新文章',
  15. 'api_enabled' => '允许 <abbr>API</abbr> 访问 <small>(用于手机应用 and sharing user queries)</small>', // DIRTY
  16. 'form' => '网页表单(传统方式, 需要 JavaScript)',
  17. 'http' => 'HTTP (advanced: managed by Web server, OIDC, SSO…)', // TODO
  18. 'none' => '无(危险)',
  19. 'title' => '认证',
  20. 'token' => '主验证 token',
  21. 'token_help' => '允许不验证而访问用户的全部 RSS 输出以及刷新订阅源:',
  22. 'type' => '认证方式',
  23. 'unsafe_autologin' => '允许不安全的自动登陆方式:',
  24. ),
  25. 'check_install' => array(
  26. 'cache' => array(
  27. 'nok' => '请检查 <em>./data/cache</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  28. 'ok' => 'cache 目录权限正常',
  29. ),
  30. 'categories' => array(
  31. 'nok' => 'Category 表配置错误',
  32. 'ok' => 'Category 表正常',
  33. ),
  34. 'connection' => array(
  35. 'nok' => '数据库连接失败',
  36. 'ok' => '数据库连接正常',
  37. ),
  38. 'ctype' => array(
  39. 'nok' => '找不到字符类型检测库(php-ctype)',
  40. 'ok' => '已找到字符类型检测库(ctype)',
  41. ),
  42. 'curl' => array(
  43. 'nok' => '找不到 cURL 库(php-curl 包)',
  44. 'ok' => '已找到 cURL 库',
  45. ),
  46. 'data' => array(
  47. 'nok' => '请检查 <em>./data</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  48. 'ok' => 'data 目录权限正常',
  49. ),
  50. 'database' => '数据库安装',
  51. 'dom' => array(
  52. 'nok' => '找不到用于浏览 DOM 的库(php-xml 包)',
  53. 'ok' => '已找到用于浏览 DOM 的库',
  54. ),
  55. 'entries' => array(
  56. 'nok' => 'Entry 表配置错误',
  57. 'ok' => 'Entry 表配置正常',
  58. ),
  59. 'favicons' => array(
  60. 'nok' => '请检查 <em>./data/favicons</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  61. 'ok' => 'favicons 目录权限正常',
  62. ),
  63. 'feeds' => array(
  64. 'nok' => 'Feed 表配置错误',
  65. 'ok' => 'Feed 表正常',
  66. ),
  67. 'fileinfo' => array(
  68. 'nok' => '找不到 PHP fileinfo 库(php-fileinfo 包)',
  69. 'ok' => '已找到 fileinfo 库',
  70. ),
  71. 'files' => '文件相关',
  72. 'json' => array(
  73. 'nok' => '找不到 JSON 扩展(php-json 包)',
  74. 'ok' => '已找到 JSON 扩展',
  75. ),
  76. 'mbstring' => array(
  77. 'nok' => '找不到推荐用于 Unicode 的 mbstring 库',
  78. 'ok' => '已找到推荐用于 Unicode 的 mbstring 库',
  79. ),
  80. 'pcre' => array(
  81. 'nok' => '找不到正则表达式解析库(php-pcre)',
  82. 'ok' => '已找到正则表达式解析库(PCRE)',
  83. ),
  84. 'pdo' => array(
  85. 'nok' => '找不到 PDO 或其中一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  86. 'ok' => '已找到 PDO 和至少一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',
  87. ),
  88. 'php' => array(
  89. '_' => 'PHP 安装',
  90. 'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s',
  91. 'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容',
  92. ),
  93. 'tables' => array(
  94. 'nok' => '数据库中缺少一个或多个表',
  95. 'ok' => '数据库中存在正确的表',
  96. ),
  97. 'title' => '环境检查',
  98. 'tokens' => array(
  99. 'nok' => '请检查 <em>./data/tokens</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  100. 'ok' => 'tokens 目录权限正常',
  101. ),
  102. 'users' => array(
  103. 'nok' => '请检查 <em>./data/users</em> 目录权限,HTTP 服务器必须拥有写入权限。',
  104. 'ok' => 'users 目录权限正常',
  105. ),
  106. 'zip' => array(
  107. 'nok' => '找不到 ZIP 扩展(php-zip 包)',
  108. 'ok' => '已找到 ZIP 扩展',
  109. ),
  110. ),
  111. 'extensions' => array(
  112. 'author' => '作者',
  113. 'community' => '可用的社区扩展',
  114. 'description' => '描述',
  115. 'disabled' => '已禁用',
  116. 'empty_list' => '没有已安装的扩展',
  117. 'empty_list_help' => 'Check the logs to determine the reason behind the empty extension list.', // TODO
  118. 'enabled' => '已启用',
  119. 'latest' => '已安装',
  120. 'name' => '名称',
  121. 'no_configure_view' => '此扩展无法配置。',
  122. 'system' => array(
  123. '_' => '系统扩展',
  124. 'no_rights' => '系统扩展(你没有所需权限)',
  125. ),
  126. 'title' => '扩展',
  127. 'update' => '更新可用',
  128. 'user' => '用户扩展',
  129. 'version' => '版本',
  130. ),
  131. 'stats' => array(
  132. '_' => '统计数据',
  133. 'all_feeds' => '所有订阅源',
  134. 'category' => '分类',
  135. 'entry_count' => '文章数',
  136. 'entry_per_category' => '各分类文章数',
  137. 'entry_per_day' => '每日文章数(近三十日)',
  138. 'entry_per_day_of_week' => '一周中(平均:%.2f 条消息)',
  139. 'entry_per_hour' => '各小时(平均:%.2f 条消息)',
  140. 'entry_per_month' => '各月(平均:%.2f 条消息)',
  141. 'entry_repartition' => '文章分布',
  142. 'feed' => '订阅源',
  143. 'feed_per_category' => '各分类订阅源数',
  144. 'idle' => '长期无更新订阅源',
  145. 'main' => '主要统计数据',
  146. 'main_stream' => '首页',
  147. 'no_idle' => '订阅源近期皆有更新!',
  148. 'number_entries' => '%d 篇文章',
  149. 'overview' => 'Overview', // TODO
  150. 'percent_of_total' => '%',
  151. 'repartition' => '文章分布: %s', // DIRTY
  152. 'status_favorites' => '收藏',
  153. 'status_read' => '已读',
  154. 'status_total' => '总计',
  155. 'status_unread' => '未读',
  156. 'title' => '统计',
  157. 'top_feed' => '前十订阅源',
  158. ),
  159. 'system' => array(
  160. '_' => '系统配置',
  161. 'auto-update-url' => '自动更新服务器 URL',
  162. 'base-url' => array(
  163. '_' => '基础 URL',
  164. 'recommendation' => '推荐: <kbd>%s</kbd>',
  165. ),
  166. 'cookie-duration' => array(
  167. 'help' => '单位:秒',
  168. 'number' => '保持登录的时长',
  169. ),
  170. 'force_email_validation' => '强制验证邮箱地址',
  171. 'instance-name' => '实例名称',
  172. 'max-categories' => '各用户分类数限制',
  173. 'max-feeds' => '各用户订阅源数限制',
  174. 'registration' => array(
  175. 'number' => '最大用户数',
  176. 'select' => array(
  177. 'label' => '注册表单',
  178. 'option' => array(
  179. 'noform' => '禁用,无注册表单',
  180. 'nolimit' => '启用,且无账户限制',
  181. 'setaccountsnumber' => '设置用户数的最大值',
  182. ),
  183. ),
  184. 'status' => array(
  185. 'disabled' => '注册表单已禁用',
  186. 'enabled' => '注册表单已启用',
  187. ),
  188. 'title' => '用户注册表单',
  189. ),
  190. 'sensitive-parameter' => '敏感参数。在 <kbd>./data/config.php</kbd> 中手动修改',
  191. 'tos' => array(
  192. 'disabled' => '没有提供',
  193. 'enabled' => '<a href="./?a=tos">已启用</a>',
  194. 'help' => '如何<a href="https://freshrss.github.io/FreshRSS/en/admins/12_User_management.html#enable-terms-of-service-tos" target="_blank">启用服务条款</a>',
  195. ),
  196. 'websub' => array(
  197. 'help' => '关于 <a href="https://freshrss.github.io/FreshRSS/en/users/WebSub.html" target="_blank">WebSub</a>',
  198. ),
  199. ),
  200. 'update' => array(
  201. '_' => '更新系统',
  202. 'apply' => '应用',
  203. 'changelog' => '更新记录',
  204. 'check' => '检查更新',
  205. 'copiedFromURL' => '从 %s 复制 update.php 到 ./data',
  206. 'current_version' => '当前 版本为',
  207. 'last' => '上次检查',
  208. 'loading' => '更新中…',
  209. 'none' => '没有可用更新',
  210. 'releaseChannel' => array(
  211. '_' => '发布通道',
  212. 'edge' => '滚动发布 (“edge”)',
  213. 'latest' => '稳定版本 (“latest”)',
  214. ),
  215. 'title' => '更新系统',
  216. 'viaGit' => '开始通过 git and GitHub.com 更新',
  217. ),
  218. 'user' => array(
  219. 'admin' => '管理员',
  220. 'article_count' => '文章数',
  221. 'back_to_manage' => '← 返回用户列表',
  222. 'create' => '创建新用户',
  223. 'database_size' => '数据库大小',
  224. 'email' => '邮箱地址',
  225. 'enabled' => '已启用',
  226. 'feed_count' => '订阅源数',
  227. 'is_admin' => '管理员',
  228. 'language' => '语言',
  229. 'last_user_activity' => '上次用户活跃',
  230. 'list' => '用户列表',
  231. 'number' => '已有 %d 个用户',
  232. 'numbers' => '已有 %d 个用户',
  233. 'password_form' => '密码<br /><small>(用于网页表单登录方式)</small>',
  234. 'password_format' => '至少 7 个字符',
  235. 'title' => '用户管理',
  236. 'username' => '用户名',
  237. ),
  238. );