sub.php 14 KB

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