sub.php 13 KB

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