sub.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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' => '複製下方的 URL 以供外部工具使用',
  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. '_' => '動態 OPML',
  27. 'help' => '提供指向 <a href="http://opml.org/" target="_blank">OPML 檔案</a> 的 URL 以便動態地為此類別填充訂閱',
  28. ),
  29. 'empty' => '空類別',
  30. 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO
  31. 'expand' => '展開類別',
  32. 'information' => '資訊',
  33. 'open' => '開啟類別',
  34. 'opml_url' => 'OPML URL', // IGNORE
  35. 'position' => '顯示位置',
  36. 'position_help' => '用於控制類別排序',
  37. 'title' => '標題',
  38. ),
  39. 'feed' => array(
  40. 'accept_cookies' => '接受 Cookies',
  41. 'accept_cookies_help' => '允許訂閱源伺服器設定 cookies (僅請求期間儲存在記憶體中)',
  42. 'add' => '新增訂閱源',
  43. 'advanced' => '進階',
  44. 'archiving' => '歸檔',
  45. 'auth' => array(
  46. 'configuration' => '登入',
  47. 'help' => '允許存取 HTTP 保護的 RSS 訂閱源',
  48. 'http' => 'HTTP 身份驗證',
  49. 'password' => 'HTTP 密碼',
  50. 'username' => 'HTTP 使用者名稱',
  51. ),
  52. 'change_favicon' => '變更…',
  53. 'clear_cache' => '總是清除快取',
  54. 'content_action' => array(
  55. '_' => '取得文章內容後的動作',
  56. 'append' => '新增在現有內容後面',
  57. 'prepend' => '新增在現有內容前面',
  58. 'replace' => '取代現有內容',
  59. ),
  60. 'content_retrieval' => 'Content retrieval', // TODO
  61. 'css_cookie' => '在取得文章內容時使用 Cookies',
  62. 'css_cookie_help' => '範例: <kbd>foo=bar; gdpr_consent=true; cookie=value</kbd>',
  63. 'css_help' => '取得截斷的 RSS 訂閱源 (請注意,會需要更多時間)',
  64. 'css_path' => '原始網站上的文章 CSS 選擇器',
  65. 'css_path_filter' => array(
  66. '_' => '用於移除元素的 CSS 選擇器',
  67. 'help' => 'CSS 選擇器可以是清單,例如: <kbd>footer, aside, p[data-sanitized-class~="menu"]</kbd>',
  68. ),
  69. 'description' => '描述',
  70. 'empty' => '此訂閱源是空的。請驗證其是否仍在維護。',
  71. 'error' => '此訂閱源遇到問題。如果情況持續存在,請確認其是否仍然可存取。',
  72. 'export-as-opml' => array(
  73. 'download' => '下載',
  74. 'help' => 'XML 檔案 (資料子集合<a href="https://freshrss.github.io/FreshRSS/en/developers/OPML.html" target="_blank">請參閱說明文件</a>)',
  75. 'label' => '匯出為 OPML',
  76. ),
  77. 'ext_favicon' => '自動設定',
  78. 'favicon_changed_by_ext' => 'The icon has been set by the <b>%s</b> extension.', // TODO
  79. 'filteractions' => array(
  80. '_' => '過濾動作',
  81. 'help' => '每行一個搜尋過濾器。運算子<a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">請參閱說明文件</a>。',
  82. 'view_filter' => 'Preview filters on existing articles (new window)', // TODO
  83. ),
  84. 'http_headers' => 'HTTP 標頭',
  85. '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
  86. 'icon' => '圖示',
  87. 'information' => '資訊',
  88. 'keep_adding_feed' => '繼續新增更多訂閱源',
  89. 'keep_min' => '保留的最小文章數',
  90. 'kind' => array(
  91. '_' => '訂閱源來源類型',
  92. 'html_json' => array(
  93. '_' => 'HTML + XPath + JSON 點表示法 (HTML 中的 JSON)',
  94. 'xpath' => array(
  95. '_' => 'XPath for JSON in HTML', // TODO
  96. 'help' => '範例: <code>normalize-space(//script[@type="application/json"])</code> (單個 JSON)<br />或者: <code>//script[@type="application/ld+json"]</code> (每篇文章一個 JSON 物件)',
  97. ),
  98. ),
  99. 'html_xpath' => array(
  100. '_' => 'HTML + XPath (Web 抓取)',
  101. 'feed_title' => array(
  102. '_' => '訂閱源標題',
  103. 'help' => '範例: <code>//title</code> 或靜態字串: <code>"My custom feed"</code>',
  104. ),
  105. 'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> 是個適用於進階使用者的標準查詢語言,FreshRSS 支援它以啟用 Web 抓取',
  106. 'item' => array(
  107. '_' => '尋找新聞 <strong>項目</strong><br /><small>(最重要)</small>',
  108. 'help' => '範例: <code>//div[@class="news-item"]</code>',
  109. ),
  110. 'item_author' => array(
  111. '_' => '項目作者',
  112. 'help' => '也可以是個靜態字串。範例: <code>"Anonymous"</code>',
  113. ),
  114. 'item_categories' => '項目標籤',
  115. 'item_content' => array(
  116. '_' => '項目內容',
  117. 'help' => '例如使用 <code>.</code> 將整個對象作為文章內容',
  118. ),
  119. 'item_thumbnail' => array(
  120. '_' => '項目縮圖',
  121. 'help' => '範例: <code>descendant::img/@src</code>',
  122. ),
  123. 'item_timeFormat' => array(
  124. '_' => '自訂日期/時間格式',
  125. 'help' => '可選。被 <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 支援的格式,例如 <code>d-m-Y H:i:s</code>',
  126. ),
  127. 'item_timestamp' => array(
  128. '_' => '項目日期',
  129. 'help' => '結果將被 <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a> 解析',
  130. ),
  131. 'item_title' => array(
  132. '_' => '項目標題',
  133. 'help' => '注意使用 <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">XPath 軸</a> <code>descendant::</code>,例如 <code>descendant::h2</code>',
  134. ),
  135. 'item_uid' => array(
  136. '_' => '項目唯一 ID',
  137. 'help' => '可選。例如: <code>descendant::div/@data-uri</code>',
  138. ),
  139. 'item_uri' => array(
  140. '_' => '項目連結 (URL)',
  141. 'help' => '範例: <code>descendant::a/@href</code>',
  142. ),
  143. 'relative' => 'XPath (相對於項目) 用於:',
  144. 'xpath' => 'XPath 用於:',
  145. ),
  146. 'json_dotnotation' => array(
  147. '_' => 'JSON (點表示法)',
  148. 'feed_title' => array(
  149. '_' => '訂閱源標題',
  150. 'help' => '範例: <code>meta.title</code> 或靜態字串: <code>"My custom feed"</code>',
  151. ),
  152. 'help' => 'A JSON dot notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
  153. 'item' => array(
  154. '_' => '尋找新聞<strong>項目</strong><br /><small>(最重要的)</small>',
  155. 'help' => 'JSON path to the array containing the items, e.g. <code>$</code> or <code>newsItems</code>', // TODO
  156. ),
  157. 'item_author' => '項目作者',
  158. 'item_categories' => '項目標籤',
  159. 'item_content' => array(
  160. '_' => '項目內容',
  161. 'help' => '可以在其下方找到內容的關鍵字,例如 <code>content</code>',
  162. ),
  163. 'item_thumbnail' => array(
  164. '_' => '項目縮圖',
  165. 'help' => '範例: <code>image</code>',
  166. ),
  167. 'item_timeFormat' => array(
  168. '_' => '自訂日期/時間格式',
  169. 'help' => '可選。被 <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 支援的格式,例如 <code>d-m-Y H:i:s</code>',
  170. ),
  171. 'item_timestamp' => array(
  172. '_' => '項目日期',
  173. 'help' => '結果將被 <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a> 解析',
  174. ),
  175. 'item_title' => '項目標題',
  176. 'item_uid' => '項目唯一 ID',
  177. 'item_uri' => array(
  178. '_' => '項目連結 (URL)',
  179. 'help' => '範例: <code>permalink</code>',
  180. ),
  181. 'json' => '點表示法用於:',
  182. 'relative' => '點表示法標記路徑 (相對於項目) 用於:',
  183. ),
  184. 'jsonfeed' => 'JSON 訂閱源',
  185. 'rss' => 'RSS / Atom (預設)',
  186. 'xml_xpath' => 'XML + XPath', // IGNORE
  187. ),
  188. 'last-entry-publication-date' => 'Last article published <time datetime="%1$s" title="%1$s">%2$s</time>.', // TODO
  189. 'last-entry-received-date' => 'Last article received <time datetime="%1$s" title="%1$s">%2$s</time>.', // TODO
  190. 'last-error-date' => '上次錯誤更新 <time datetime="%1$s" title="%1$s">%2$s</time>。',
  191. 'last-update' => '上次成功更新 <time datetime="%1$s" title="%1$s">%2$s</time>。',
  192. 'maintenance' => array(
  193. 'clear_cache' => '清理快取',
  194. 'clear_cache_help' => '清除此訂閱源的快取',
  195. 'reload_articles' => '重新載入文章',
  196. 'reload_articles_help' => '重新載入 n 篇文章,並在指定選擇器存在時載入完整內容。',
  197. 'title' => '維護',
  198. ),
  199. 'max_http_redir' => '最大 HTTP 重新導向數',
  200. 'max_http_redir_help' => '設為 0 或留空以停用,-1 表示無限制重新導向',
  201. 'method' => array(
  202. '_' => 'HTTP 方法',
  203. ),
  204. 'method_help' => 'POST 負載自動支援 <code>application/x-www-form-urlencoded</code> 和 <code>application/json</code>',
  205. 'method_postparams' => 'POST 負載',
  206. 'moved_category_deleted' => '刪除類別時,其中的訂閱源會自動歸類到 <em>%s</em>',
  207. 'mute' => array(
  208. '_' => '暫停',
  209. 'state_is_muted' => '此訂閱源被靜音',
  210. ),
  211. 'no_selected' => '未選擇訂閱源。',
  212. 'number_entries' => '%d 篇文章',
  213. 'open_feed' => '開啟訂閱源 %s',
  214. 'path_entries_conditions' => 'Conditions for content retrieval', // TODO
  215. 'priority' => array(
  216. '_' => '可見度',
  217. 'category' => '在類別中顯示',
  218. 'feed' => '顯示在其訂閱源中',
  219. 'hidden' => '不要顯示',
  220. 'important' => '顯示在重要訂閱源',
  221. 'main_stream' => '顯示在主資訊流',
  222. ),
  223. 'proxy' => '取得訂閱源時的代理',
  224. 'proxy_help' => '選擇協定 (例如: SOCKS5) 並輸入代理位址 (例如: <kbd>127.0.0.1:1080</kbd> 或 <kbd>使用者名稱:密碼@127.0.0.1:1080</kbd>)',
  225. 'reset_favicon' => '重設至預設',
  226. 'selector_preview' => array(
  227. 'show_raw' => '顯示原始碼',
  228. 'show_rendered' => '顯示內容',
  229. ),
  230. 'show' => array(
  231. 'all' => '所有訂閱源',
  232. 'error' => '僅顯示有錯誤的訂閱源',
  233. ),
  234. 'showing' => array(
  235. 'error' => '正在顯示有錯誤的訂閱源',
  236. ),
  237. 'ssl_verify' => '驗證 SSL 安全',
  238. 'stats' => '統計',
  239. 'think_to_add' => '你可以新增一些訂閱源。',
  240. 'timeout' => '逾時 (秒)',
  241. 'title' => '標題',
  242. 'title_add' => '新增 RSS 訂閱源',
  243. 'ttl' => '最小自動刷新間隔',
  244. 'unicityCriteria' => array(
  245. '_' => '文章唯一性標準',
  246. 'forced' => '<span title="Block the unicity criteria, even when the feed has duplicate articles">forced</span>', // TODO
  247. 'help' => 'Relevant for invalid feeds.<br />⚠️ Changing the policy will create duplicates.', // TODO
  248. 'id' => '標準 ID (預設)',
  249. 'link' => '連結',
  250. 'sha1:content' => '內容',
  251. 'sha1:content_published' => '內容 + 日期',
  252. 'sha1:link_published' => '連結 + 日期',
  253. 'sha1:link_published_title' => '連結 + 日期 + 標題',
  254. 'sha1:link_published_title_content' => '連結 + 日期 + 標題 + 內容',
  255. 'sha1:published' => '日期',
  256. 'sha1:title' => '標題',
  257. 'sha1:title_published' => '標題 + 日期',
  258. 'sha1:title_published_content' => '標題 + 日期 + 內容',
  259. ),
  260. 'url' => '訂閱源 URL',
  261. 'useragent' => '設定用於取得此訂閱源的 user agent',
  262. 'useragent_help' => '範例: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>',
  263. 'validator' => '檢查訂閱源有效性',
  264. 'website' => '網站 URL',
  265. 'websub' => 'WebSub 即時通知',
  266. ),
  267. 'import_export' => array(
  268. 'export' => array(
  269. '_' => '匯出',
  270. 'sqlite' => '下載使用者資料庫為 SQLite 檔案',
  271. ),
  272. 'export_labelled' => '匯出有標籤的文章',
  273. 'export_opml' => '匯出訂閱源清單 (OPML)',
  274. 'export_starred' => '匯出你的收藏',
  275. 'feed_list' => '%s 文章清單',
  276. 'file_to_import' => '要匯入的檔案<br />(OPML、JSON 或 ZIP)',
  277. 'file_to_import_no_zip' => '要匯入的檔案<br />(OPML 或 JSON)',
  278. 'import' => '匯入',
  279. 'starred_list' => '收藏文章清單',
  280. 'title' => '匯入 / 匯出',
  281. ),
  282. 'menu' => array(
  283. 'add' => '新增訂閱源或類別',
  284. 'import_export' => '匯入 / 匯出',
  285. 'label_management' => '標籤管理',
  286. 'stats' => array(
  287. 'idle' => '長期無更新訂閱源',
  288. 'main' => '主要統計',
  289. 'repartition' => '文章分配',
  290. 'unread_dates' => '未讀日期',
  291. ),
  292. 'subscription_management' => '訂閱管理',
  293. 'subscription_tools' => '訂閱工具',
  294. ),
  295. 'tag' => array(
  296. 'auto_label' => '新增標籤至新文章',
  297. 'name' => '名稱',
  298. 'new_name' => '新名稱',
  299. 'old_name' => '舊名稱',
  300. ),
  301. 'title' => array(
  302. '_' => '訂閱管理',
  303. 'add' => '新增訂閱源或類別',
  304. 'add_category' => '新增類別',
  305. 'add_dynamic_opml' => '新增動態 OPML',
  306. 'add_feed' => '新增訂閱源',
  307. 'add_label' => '新增標籤',
  308. 'add_opml_category' => 'OPML 類別名稱',
  309. 'delete_label' => '刪除此標籤',
  310. 'feed_management' => 'RSS 訂閱源管理',
  311. 'subscription_tools' => '訂閱工具',
  312. ),
  313. );