4
0

sub.php 12 KB

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