sub.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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. 'expand' => '展開分類',
  31. 'information' => '資訊',
  32. 'open' => '打開分類',
  33. 'opml_url' => 'OPML 地址',
  34. 'position' => '顯示位置',
  35. 'position_help' => '控制分類排列順序',
  36. 'title' => '標題',
  37. ),
  38. 'feed' => array(
  39. 'accept_cookies' => '接受 Cookies',
  40. 'accept_cookies_help' => '允許提要伺服器設置 Cookies(僅在請求期間存儲在內存中)',
  41. 'add' => '添加訂閱源',
  42. 'advanced' => '高級',
  43. 'archiving' => '歸檔',
  44. 'auth' => array(
  45. 'configuration' => '認證',
  46. 'help' => '用於連接啟用 HTTP 認證的訂閱源',
  47. 'http' => 'HTTP 認證',
  48. 'password' => 'HTTP 密碼',
  49. 'username' => 'HTTP 用戶名',
  50. ),
  51. 'change_favicon' => 'Change…', // TODO
  52. 'clear_cache' => '總是清除暫存',
  53. 'content_action' => array(
  54. '_' => '獲取原文後的操作',
  55. 'append' => '添加在現有內容後部',
  56. 'prepend' => '添加在現有內容前部',
  57. 'replace' => '替換現有內容',
  58. ),
  59. 'content_retrieval' => 'Content retrieval', // TODO
  60. 'css_cookie' => '獲取原文時的 Cookies',
  61. 'css_cookie_help' => '例:<kbd>foo=bar; gdpr_consent=true; cookie=value</kbd>',
  62. 'css_help' => '用於獲取全文(注意,這將耗費更多時間!)',
  63. 'css_path' => '原文的 CSS 選擇器',
  64. 'css_path_filter' => array(
  65. '_' => '需移除元素的 CSS 選擇器',
  66. 'help' => '可設置多個 CSS 選擇器,例如:<kbd>footer, aside, p[data-sanitized-class~="menu"]</kbd>',
  67. ),
  68. 'description' => '描述',
  69. 'empty' => '此源為空。請確認它是否正常更新。',
  70. 'error' => '此源遇到一些問題。請在確認是否能正常訪問後重試。', // DIRTY
  71. 'export-as-opml' => array(
  72. 'download' => '下載',
  73. 'help' => 'XML file (data subset. <a href="https://freshrss.github.io/FreshRSS/en/developers/OPML.html" target="_blank">See documentation</a>)', // TODO
  74. 'label' => '匯出為OPML',
  75. ),
  76. 'ext_favicon' => 'Set automatically', // TODO
  77. 'favicon_changed_by_ext' => 'The icon has been set by the <b>%s</b> extension.', // TODO
  78. 'filteractions' => array(
  79. '_' => '過濾動作',
  80. 'help' => '每行寫一條過濾搜尋 Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTY
  81. ),
  82. 'http_headers' => 'HTTP Headers', // TODO
  83. 'http_headers_help' => 'Headers are separated by a newline, and the name and value of a header are separated by a colon (e.g: <kbd><code>Accept: application/atom+xml<br />Authorization: Bearer some-token</code></kbd>).', // TODO
  84. 'icon' => 'Icon', // TODO
  85. 'information' => '信息',
  86. 'keep_min' => '至少保存的文章數',
  87. 'kind' => array(
  88. '_' => '訂閱源類型',
  89. 'html_json' => array(
  90. '_' => 'HTML + XPath + JSON dot notation (JSON in HTML)', // TODO
  91. 'xpath' => array(
  92. '_' => 'XPath for JSON in HTML', // TODO
  93. 'help' => 'Example: <code>normalize-space(//script[@type="application/json"])</code> (single JSON)<br />or: <code>//script[@type="application/ld+json"]</code> (one JSON object per article)', // TODO
  94. ),
  95. ),
  96. 'html_xpath' => array(
  97. '_' => 'HTML + XPath (Web 抓取)',
  98. 'feed_title' => array(
  99. '_' => '提要標題',
  100. 'help' => '如 <code>//title</code> 或是靜態字元串如 <code>"My custom feed"</code>',
  101. ),
  102. 'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> 是為資深用戶準備的標準查詢語言,FreshRSS 用以實現 Web 抓取.',
  103. 'item' => array(
  104. '_' => '以尋找 <strong>文章</strong><br /><small>(很重要)</small>',
  105. 'help' => '例如 <code>//div[@class="news-item"]</code>',
  106. ),
  107. 'item_author' => array(
  108. '_' => '文章作者',
  109. 'help' => '可以是靜態字元串,例如 <code>"Anonymous"</code>',
  110. ),
  111. 'item_categories' => '文章標籤',
  112. 'item_content' => array(
  113. '_' => '文章內容',
  114. 'help' => '例如使用 <code>.</code> 將整個對象作為文章內容',
  115. ),
  116. 'item_thumbnail' => array(
  117. '_' => '文章縮圖',
  118. 'help' => '例如 <code>descendant::img/@src</code>',
  119. ),
  120. 'item_timeFormat' => array(
  121. '_' => '自訂日期/時間格式',
  122. 'help' => '可選的。支援的格式<a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 例如 <code>d-m-Y H:i:s</code>',
  123. ),
  124. 'item_timestamp' => array(
  125. '_' => '文章日期:',
  126. 'help' => '結果將被 <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a> 解析',
  127. ),
  128. 'item_title' => array(
  129. '_' => '文章標題',
  130. 'help' => '注意使用 <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">XPath 軸</a> <code>descendant::</code>,例如 <code>descendant::h2</code>',
  131. ),
  132. 'item_uid' => array(
  133. '_' => '文章唯一標識',
  134. 'help' => '可選,例如: <code>descendant::div/@data-uri</code>',
  135. ),
  136. 'item_uri' => array(
  137. '_' => '文章鏈接 (URL)',
  138. 'help' => '例如 <code>descendant::a/@href</code>',
  139. ),
  140. 'relative' => 'XPath(文章):',
  141. 'xpath' => 'XPath 定位:',
  142. ),
  143. 'json_dotnotation' => array(
  144. '_' => 'JSON (點「.」符號)',
  145. 'feed_title' => array(
  146. '_' => '源標題',
  147. 'help' => '範例: <code>meta.title</code> 或固定的字串: <code>"My custom feed"</code>',
  148. ),
  149. 'help' => 'A JSON dot notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
  150. 'item' => array(
  151. '_' => '找尋新聞 <strong>項目</strong><br /><small>(最重要的)</small>',
  152. 'help' => 'JSON path to the array containing the items, e.g. <code>$</code> or <code>newsItems</code>', // TODO
  153. ),
  154. 'item_author' => '項目作者',
  155. 'item_categories' => '項目標籤',
  156. 'item_content' => array(
  157. '_' => '項目內容',
  158. 'help' => '可以在其下方找到內容的關鍵字, e.g. <code>content</code>',
  159. ),
  160. 'item_thumbnail' => array(
  161. '_' => '項目縮圖',
  162. 'help' => '範例: <code>image</code>',
  163. ),
  164. 'item_timeFormat' => array(
  165. '_' => '自訂 日期/時間 格式',
  166. 'help' => '選用項目。 支援以<a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 表達的格式,例如 <code>d-m-Y H:i:s</code>',
  167. ),
  168. 'item_timestamp' => array(
  169. '_' => '項目日期',
  170. 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
  171. ),
  172. 'item_title' => '項目標題',
  173. 'item_uid' => '項目專用ID',
  174. 'item_uri' => array(
  175. '_' => '項目連結(URL)',
  176. 'help' => '範例: <code>永久連結</code>',
  177. ),
  178. 'json' => 'dot notation for:', // TODO
  179. 'relative' => 'dot notated path (relative to item) for:', // TODO
  180. ),
  181. 'jsonfeed' => 'JSON Feed', // TODO
  182. 'rss' => 'RSS / Atom (預設)',
  183. 'xml_xpath' => 'XML + XPath', // TODO
  184. ),
  185. 'maintenance' => array(
  186. 'clear_cache' => '清理暫存',
  187. 'clear_cache_help' => '清除該feed的暫存',
  188. 'reload_articles' => '重載文章',
  189. 'reload_articles_help' => '重載 n 篇文章並抓取內容(若設置了 CSS 選擇器)',
  190. 'title' => '維護',
  191. ),
  192. 'max_http_redir' => '最大 HTTP 重定向',
  193. 'max_http_redir_help' => '設置為 0 或留空以禁用,-1 表示無限重定向',
  194. 'method' => array(
  195. '_' => 'HTTP 方法',
  196. ),
  197. 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
  198. 'method_postparams' => 'Payload for POST', // TODO
  199. 'moved_category_deleted' => '刪除分類時,其中的訂閱源會自動歸類到 <em>%s</em>',
  200. 'mute' => array(
  201. '_' => '暫停',
  202. 'state_is_muted' => 'This feed is muted', // TODO
  203. ),
  204. 'no_selected' => '未選擇訂閱源',
  205. 'number_entries' => '%d 篇文章',
  206. 'open_feed' => 'Open feed %s', // TODO
  207. 'path_entries_conditions' => 'Conditions for content retrieval', // TODO
  208. 'priority' => array(
  209. '_' => '可見性',
  210. 'archived' => '不顯示(歸檔)',
  211. 'category' => '在分類中顯示',
  212. 'important' => '顯示在重要的源',
  213. 'main_stream' => '在首頁中顯示',
  214. ),
  215. 'proxy' => '獲取訂閱源時的代理',
  216. 'proxy_help' => '選擇協議(例:SOCKS5)和代理地址(例:<kbd>127.0.0.1:1080</kbd> or <kbd>username:password@127.0.0.1:1080</kbd>)', // DIRTY
  217. 'reset_favicon' => 'Reset to default', // TODO
  218. 'selector_preview' => array(
  219. 'show_raw' => '顯示源碼',
  220. 'show_rendered' => '顯示內容',
  221. ),
  222. 'show' => array(
  223. 'all' => '顯示所有訂閱源',
  224. 'error' => '僅顯示有錯誤的訂閱源',
  225. ),
  226. 'showing' => array(
  227. 'error' => '正在顯示有錯誤的訂閱源',
  228. ),
  229. 'ssl_verify' => '驗證 SSL 證書安全',
  230. 'stats' => '統計',
  231. 'think_to_add' => '你可以添加一些訂閱源。',
  232. 'timeout' => '超時時間(秒)',
  233. 'title' => '標題',
  234. 'title_add' => '添加訂閱源',
  235. 'ttl' => '最小自動更新間隔',
  236. 'unicityCriteria' => array(
  237. '_' => 'Article unicity criteria', // TODO
  238. 'forced' => '<span title="Block the unicity criteria, even when the feed has duplicate articles">forced</span>', // TODO
  239. 'help' => 'Relevant for invalid feeds.<br />⚠️ Changing the policy will create duplicates.', // TODO
  240. 'id' => 'Standard ID (default)', // TODO
  241. 'link' => 'Link', // TODO
  242. 'sha1:content' => 'Content', // TODO
  243. 'sha1:content_published' => 'Content + Date', // TODO
  244. 'sha1:link_published' => 'Link + Date', // TODO
  245. 'sha1:link_published_title' => 'Link + Date + Title', // TODO
  246. 'sha1:link_published_title_content' => 'Link + Date + Title + Content', // TODO
  247. 'sha1:published' => 'Date', // TODO
  248. 'sha1:title' => 'Title', // TODO
  249. 'sha1:title_published' => 'Title + Date', // TODO
  250. 'sha1:title_published_content' => 'Title + Date + Content', // TODO
  251. ),
  252. 'url' => '源地址',
  253. 'useragent' => '設置用於獲取此源的 User Agent',
  254. 'useragent_help' => '例:<kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>',
  255. 'validator' => '檢查訂閱源有效性',
  256. 'website' => '網站地址',
  257. 'websub' => 'WebSub 即時通知',
  258. ),
  259. 'import_export' => array(
  260. 'export' => array(
  261. '_' => '導出',
  262. 'sqlite' => 'Download user database as SQLite', // TODO
  263. ),
  264. 'export_labelled' => '導出有標籤的文章',
  265. 'export_opml' => '導出訂閱源列表(OPML)',
  266. 'export_starred' => '導出你的收藏',
  267. 'feed_list' => '%s 文章列表',
  268. 'file_to_import' => '需要導入的文件<br />(OPML、JSON 或 ZIP)',
  269. 'file_to_import_no_zip' => '需要導入的文件<br />(OPML 或 JSON)',
  270. 'import' => '導入',
  271. 'starred_list' => '收藏文章列表',
  272. 'title' => '導入/導出',
  273. ),
  274. 'menu' => array(
  275. 'add' => '添加訂閱源或分類',
  276. 'import_export' => '導入/導出',
  277. 'label_management' => '標籤管理',
  278. 'stats' => array(
  279. 'idle' => '長期無更新訂閱源',
  280. 'main' => '主要統計',
  281. 'repartition' => '文章分布',
  282. ),
  283. 'subscription_management' => '訂閱管理',
  284. 'subscription_tools' => '訂閱工具',
  285. ),
  286. 'tag' => array(
  287. 'auto_label' => '新增標籤給新文章',
  288. 'name' => '名稱',
  289. 'new_name' => '新名稱',
  290. 'old_name' => '舊名稱',
  291. ),
  292. 'title' => array(
  293. '_' => '訂閱管理',
  294. 'add' => '添加訂閱源或分類',
  295. 'add_category' => '添加分類',
  296. 'add_dynamic_opml' => '添加訂閱源動態列表',
  297. 'add_feed' => '添加訂閱源',
  298. 'add_label' => '添加標籤',
  299. 'add_opml_category' => 'OPML category name', // TODO
  300. 'delete_label' => '刪除標籤',
  301. 'feed_management' => '訂閱源管理',
  302. 'rename_label' => '重命名標籤',
  303. 'subscription_tools' => '訂閱工具',
  304. ),
  305. );