sub.php 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. 'api' => array(
  13. 'documentation' => '复制以下地址,以供外部工具使用',
  14. 'title' => 'API', // IGNORE
  15. ),
  16. 'bookmarklet' => array(
  17. 'documentation' => '拖动此书签到你的书签栏或者右键选择「收藏此链接」,然后在你想要订阅的页面上点击「订阅」按钮',
  18. 'label' => '订阅',
  19. 'title' => '书签应用',
  20. ),
  21. 'category' => array(
  22. '_' => '分类',
  23. 'add' => '添加分类',
  24. 'archiving' => '归档',
  25. 'dynamic_opml' => array(
  26. '_' => '动态订阅',
  27. 'help' => '使用地址上的 <a href="http://opml.org/" target="_blank">OPML 文件</a> 中的订阅源填充这一分类',
  28. ),
  29. 'empty' => '空分类',
  30. 'information' => '信息',
  31. 'opml_url' => 'OPML 地址',
  32. 'position' => '显示位置',
  33. 'position_help' => '控制分类排列顺序',
  34. 'title' => '标题',
  35. ),
  36. 'feed' => array(
  37. 'accept_cookies' => '接受 Cookies',
  38. 'accept_cookies_help' => '允许提要服务器设置 Cookies(仅在请求期间存储在内存中)',
  39. 'add' => '添加订阅源',
  40. 'advanced' => '高级',
  41. 'archiving' => '归档',
  42. 'auth' => array(
  43. 'configuration' => '认证',
  44. 'help' => '用于连接启用 HTTP 认证的订阅源',
  45. 'http' => 'HTTP 认证',
  46. 'password' => 'HTTP 密码',
  47. 'username' => 'HTTP 用户名',
  48. ),
  49. 'clear_cache' => '总是清除缓存',
  50. 'content_action' => array(
  51. '_' => '获取原文后的操作',
  52. 'append' => '添加在现有内容后部',
  53. 'prepend' => '添加在现有内容前部',
  54. 'replace' => '替换现有内容',
  55. ),
  56. 'css_cookie' => '获取原文时的 Cookies',
  57. 'css_cookie_help' => '例:<kbd>foo=bar; gdpr_consent=true; cookie=value</kbd>',
  58. 'css_help' => '用于获取全文(注意,这将耗费更多时间!)',
  59. 'css_path' => '原文的 CSS 选择器',
  60. 'css_path_filter' => array(
  61. '_' => '需移除元素的 CSS 选择器',
  62. 'help' => '可设置多个 CSS 选择器,例如:<kbd>.footer, .aside</kbd>',
  63. ),
  64. 'description' => '描述',
  65. 'empty' => '此源为空。请确认它是否正常更新。',
  66. 'error' => '此源遇到一些问题。请在确认是否能正常访问后重试。',
  67. 'filteractions' => array(
  68. '_' => '过滤动作',
  69. 'help' => '每行写一条过滤搜索',
  70. ),
  71. 'information' => '信息',
  72. 'keep_min' => '至少保存的文章数',
  73. 'kind' => array(
  74. '_' => '订阅源类型',
  75. 'html_xpath' => array(
  76. '_' => 'HTML + XPath (Web 抓取)',
  77. 'feed_title' => array(
  78. '_' => '提要标题',
  79. 'help' => '如 <code>//title</code> 或是静态字符串如 <code>"My custom feed"</code>',
  80. ),
  81. 'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> 是为资深用户准备的标准查询语言,FreshRSS 用以实现 Web 抓取.',
  82. 'item' => array(
  83. '_' => '以寻找 <strong>文章</strong><br /><small>(很重要)</small>',
  84. 'help' => '例如 <code>//div[@class="news-item"]</code>',
  85. ),
  86. 'item_author' => array(
  87. '_' => '文章作者',
  88. 'help' => '可以是静态字符串,例如 <code>"Anonymous"</code>',
  89. ),
  90. 'item_categories' => '文章标签',
  91. 'item_content' => array(
  92. '_' => '文章内容',
  93. 'help' => '例如使用 <code>.</code> 将整个对象作为文章内容',
  94. ),
  95. 'item_thumbnail' => array(
  96. '_' => '文章缩略图',
  97. 'help' => '例如 <code>descendant::img/@src</code>',
  98. ),
  99. 'item_timeFormat' => array(
  100. '_' => '自定义日期、时间格式',
  101. 'help' => '可选。一个被 <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 支持的日期、时间格式,例如 <code>d-m-Y H:i:s</code>',
  102. ),
  103. 'item_timestamp' => array(
  104. '_' => '文章日期:',
  105. 'help' => '结果将被 <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a> 解析',
  106. ),
  107. 'item_title' => array(
  108. '_' => '文章标题',
  109. 'help' => '注意使用 <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">XPath 轴</a> <code>descendant::</code>,例如 <code>descendant::h2</code>',
  110. ),
  111. 'item_uid' => array(
  112. '_' => '文章唯一标识',
  113. 'help' => '可选,例如: <code>descendant::div/@data-uri</code>',
  114. ),
  115. 'item_uri' => array(
  116. '_' => '文章链接 (URL)',
  117. 'help' => '例如 <code>descendant::a/@href</code>',
  118. ),
  119. 'relative' => 'XPath(文章):',
  120. 'xpath' => 'XPath 定位:',
  121. ),
  122. 'rss' => 'RSS / Atom (默认)',
  123. ),
  124. 'maintenance' => array(
  125. 'clear_cache' => '清理缓存',
  126. 'clear_cache_help' => '清除该feed的缓存',
  127. 'reload_articles' => '重载文章',
  128. 'reload_articles_help' => '重载 n 篇文章并抓取内容(若设置了 CSS 选择器)',
  129. 'title' => '维护',
  130. ),
  131. 'max_http_redir' => '最大 HTTP 重定向',
  132. 'max_http_redir_help' => '设置为 0 或留空以禁用,-1 表示无限重定向',
  133. 'moved_category_deleted' => '删除分类时,其中的订阅源会自动归类到 <em>%s</em>',
  134. 'mute' => '暂停',
  135. 'no_selected' => '未选择订阅源',
  136. 'number_entries' => '%d 篇文章',
  137. 'priority' => array(
  138. '_' => '可见性',
  139. 'archived' => '不显示(归档)',
  140. 'main_stream' => '在首页中显示',
  141. 'normal' => '在分类中显示',
  142. ),
  143. 'proxy' => '获取订阅源时的代理',
  144. 'proxy_help' => '选择协议(例:SOCKS5)和代理地址(例:<kbd>127.0.0.1:1080</kbd>)',
  145. 'selector_preview' => array(
  146. 'show_raw' => '显示源码',
  147. 'show_rendered' => '显示内容',
  148. ),
  149. 'show' => array(
  150. 'all' => '显示所有订阅源',
  151. 'error' => '仅显示有错误的订阅源',
  152. ),
  153. 'showing' => array(
  154. 'error' => '正在显示有错误的订阅源',
  155. ),
  156. 'ssl_verify' => '验证 SSL 证书安全',
  157. 'stats' => '统计',
  158. 'think_to_add' => '你可以添加一些订阅源。',
  159. 'timeout' => '超时时间(秒)',
  160. 'title' => '标题',
  161. 'title_add' => '添加订阅源',
  162. 'ttl' => '最小自动更新间隔',
  163. 'url' => '源地址',
  164. 'useragent' => '设置用于获取此源的 User Agent',
  165. 'useragent_help' => '例:<kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>',
  166. 'validator' => '检查订阅源有效性',
  167. 'website' => '网站地址',
  168. 'websub' => 'WebSub 即时通知',
  169. ),
  170. 'import_export' => array(
  171. 'export' => '导出',
  172. 'export_labelled' => '导出有标签的文章',
  173. 'export_opml' => '导出订阅源列表(OPML)',
  174. 'export_starred' => '导出你的收藏',
  175. 'feed_list' => '%s 文章列表',
  176. 'file_to_import' => '需要导入的文件<br />(OPML、JSON 或 ZIP)',
  177. 'file_to_import_no_zip' => '需要导入的文件<br />(OPML 或 JSON)',
  178. 'import' => '导入',
  179. 'starred_list' => '收藏文章列表',
  180. 'title' => '导入/导出',
  181. ),
  182. 'menu' => array(
  183. 'add' => '添加订阅源或分类',
  184. 'import_export' => '导入/导出',
  185. 'label_management' => '标签管理',
  186. 'stats' => array(
  187. 'idle' => '长期无更新订阅源',
  188. 'main' => '主要统计',
  189. 'repartition' => '文章分布',
  190. ),
  191. 'subscription_management' => '订阅管理',
  192. 'subscription_tools' => '订阅工具',
  193. ),
  194. 'tag' => array(
  195. 'name' => '名称',
  196. 'new_name' => '新名称',
  197. 'old_name' => '旧名称',
  198. ),
  199. 'title' => array(
  200. '_' => '订阅管理',
  201. 'add' => '添加订阅源或分类',
  202. 'add_category' => '添加分类',
  203. 'add_dynamic_opml' => '添加订阅源动态列表',
  204. 'add_feed' => '添加订阅源',
  205. 'add_label' => '添加标签',
  206. 'delete_label' => '删除标签',
  207. 'feed_management' => '订阅源管理',
  208. 'rename_label' => '重命名标签',
  209. 'subscription_tools' => '订阅工具',
  210. ),
  211. );