sub.php 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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' => '每行寫一條過濾搜尋 Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTY
  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. '_' => 'Custom date/time format', // TODO
  101. 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
  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. 'xml_xpath' => 'XML + XPath', // TODO
  124. ),
  125. 'maintenance' => array(
  126. 'clear_cache' => '清理暫存',
  127. 'clear_cache_help' => '清除該feed的暫存',
  128. 'reload_articles' => '重載文章',
  129. 'reload_articles_help' => '重載 n 篇文章並抓取內容(若設置了 CSS 選擇器)',
  130. 'title' => '維護',
  131. ),
  132. 'max_http_redir' => '最大 HTTP 重定向',
  133. 'max_http_redir_help' => '設置為 0 或留空以禁用,-1 表示無限重定向',
  134. 'moved_category_deleted' => '刪除分類時,其中的訂閱源會自動歸類到 <em>%s</em>',
  135. 'mute' => '暫停',
  136. 'no_selected' => '未選擇訂閱源',
  137. 'number_entries' => '%d 篇文章',
  138. 'priority' => array(
  139. '_' => '可見性',
  140. 'archived' => '不顯示(歸檔)',
  141. 'main_stream' => '在首頁中顯示',
  142. 'normal' => '在分類中顯示',
  143. ),
  144. 'proxy' => '獲取訂閱源時的代理',
  145. 'proxy_help' => '選擇協議(例:SOCKS5)和代理地址(例:<kbd>127.0.0.1:1080</kbd>)',
  146. 'selector_preview' => array(
  147. 'show_raw' => '顯示源碼',
  148. 'show_rendered' => '顯示內容',
  149. ),
  150. 'show' => array(
  151. 'all' => '顯示所有訂閱源',
  152. 'error' => '僅顯示有錯誤的訂閱源',
  153. ),
  154. 'showing' => array(
  155. 'error' => '正在顯示有錯誤的訂閱源',
  156. ),
  157. 'ssl_verify' => '驗證 SSL 證書安全',
  158. 'stats' => '統計',
  159. 'think_to_add' => '你可以添加一些訂閱源。',
  160. 'timeout' => '超時時間(秒)',
  161. 'title' => '標題',
  162. 'title_add' => '添加訂閱源',
  163. 'ttl' => '最小自動更新間隔',
  164. 'url' => '源地址',
  165. 'useragent' => '設置用於獲取此源的 User Agent',
  166. 'useragent_help' => '例:<kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>',
  167. 'validator' => '檢查訂閱源有效性',
  168. 'website' => '網站地址',
  169. 'websub' => 'WebSub 即時通知',
  170. ),
  171. 'import_export' => array(
  172. 'export' => '導出',
  173. 'export_labelled' => '導出有標簽的文章',
  174. 'export_opml' => '導出訂閱源列表(OPML)',
  175. 'export_starred' => '導出你的收藏',
  176. 'feed_list' => '%s 文章列表',
  177. 'file_to_import' => '需要導入的文件<br />(OPML、JSON 或 ZIP)',
  178. 'file_to_import_no_zip' => '需要導入的文件<br />(OPML 或 JSON)',
  179. 'import' => '導入',
  180. 'starred_list' => '收藏文章列表',
  181. 'title' => '導入/導出',
  182. ),
  183. 'menu' => array(
  184. 'add' => '添加訂閱源或分類',
  185. 'import_export' => '導入/導出',
  186. 'label_management' => '標簽管理',
  187. 'stats' => array(
  188. 'idle' => '長期無更新訂閱源',
  189. 'main' => '主要統計',
  190. 'repartition' => '文章分布',
  191. ),
  192. 'subscription_management' => '訂閱管理',
  193. 'subscription_tools' => '訂閱工具',
  194. ),
  195. 'tag' => array(
  196. 'name' => '名稱',
  197. 'new_name' => '新名稱',
  198. 'old_name' => '舊名稱',
  199. ),
  200. 'title' => array(
  201. '_' => '訂閱管理',
  202. 'add' => '添加訂閱源或分類',
  203. 'add_category' => '添加分類',
  204. 'add_dynamic_opml' => '添加訂閱源動態列表',
  205. 'add_feed' => '添加訂閱源',
  206. 'add_label' => '添加標簽',
  207. 'delete_label' => '刪除標簽',
  208. 'feed_management' => '訂閱源管理',
  209. 'rename_label' => '重命名標簽',
  210. 'subscription_tools' => '訂閱工具',
  211. ),
  212. );