sub.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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' => 'Copy the following URL to use it within an external tool.', // TODO
  14. 'title' => 'API', // TODO
  15. ),
  16. 'bookmarklet' => array(
  17. 'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose “Bookmark This Link”. Then click the “Subscribe” button in any page you want to subscribe to.', // TODO
  18. 'label' => 'Subscribe', // TODO
  19. 'title' => 'Bookmarklet', // TODO
  20. ),
  21. 'category' => array(
  22. '_' => 'Category', // TODO
  23. 'add' => 'Add a category', // TODO
  24. 'archiving' => 'Archiving', // TODO
  25. 'dynamic_opml' => array(
  26. '_' => 'Dynamic OPML', // TODO
  27. 'help' => 'Provide the URL to an <a href="http://opml.org/" target="_blank">OPML file</a> to dynamically populate this category with feeds', // TODO
  28. ),
  29. 'empty' => 'Empty category', // TODO
  30. 'expand' => 'Expand category', // TODO
  31. 'information' => 'Information', // TODO
  32. 'open' => 'Open category', // TODO
  33. 'opml_url' => 'OPML URL', // TODO
  34. 'position' => 'Display position', // TODO
  35. 'position_help' => 'To control category sort order', // TODO
  36. 'title' => 'Title', // TODO
  37. ),
  38. 'feed' => array(
  39. 'accept_cookies' => 'Accept cookies', // TODO
  40. 'accept_cookies_help' => 'Allow the feed server to set cookies (stored in memory for the duration of the request only)', // TODO
  41. 'add' => 'Add an RSS feed', // TODO
  42. 'advanced' => 'Advanced', // TODO
  43. 'archiving' => 'Archiving', // TODO
  44. 'auth' => array(
  45. 'configuration' => 'Login', // TODO
  46. 'help' => 'Allows access to HTTP protected RSS feeds', // TODO
  47. 'http' => 'HTTP Authentication', // TODO
  48. 'password' => 'HTTP password', // TODO
  49. 'username' => 'HTTP username', // TODO
  50. ),
  51. 'clear_cache' => 'Always clear cache', // TODO
  52. 'content_action' => array(
  53. '_' => 'Content action when fetching the article content', // TODO
  54. 'append' => 'Add after existing content', // TODO
  55. 'prepend' => 'Add before existing content', // TODO
  56. 'replace' => 'Replace existing content', // TODO
  57. ),
  58. 'css_cookie' => 'Use Cookies when fetching the article content', // TODO
  59. 'css_cookie_help' => 'Example: <kbd>foo=bar; gdpr_consent=true; cookie=value</kbd>', // TODO
  60. 'css_help' => 'Retrieves truncated RSS feeds (caution, requires more time!)', // TODO
  61. 'css_path' => 'Article CSS selector on original website', // TODO
  62. 'css_path_filter' => array(
  63. '_' => 'CSS selector of the elements to remove', // TODO
  64. 'help' => 'A CSS selector may be a list such as: <kbd>.footer, .aside</kbd>', // TODO
  65. ),
  66. 'description' => 'Description', // TODO
  67. 'empty' => 'This feed is empty. Please verify that it is still maintained.', // TODO
  68. 'error' => 'This feed has encountered a problem. Please verify that it is always reachable then update it.', // TODO
  69. 'export-as-opml' => array(
  70. 'download' => 'Download', // TODO
  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' => 'Export as OPML', // TODO
  73. ),
  74. 'filteractions' => array(
  75. '_' => 'Filter actions', // TODO
  76. 'help' => 'Write one search filter per line. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // TODO
  77. ),
  78. 'information' => 'Information', // TODO
  79. 'keep_min' => 'Minimum number of articles to keep', // TODO
  80. 'kind' => array(
  81. '_' => 'Type of feed source', // TODO
  82. 'html_xpath' => array(
  83. '_' => 'HTML + XPath (Web scraping)', // TODO
  84. 'feed_title' => array(
  85. '_' => 'feed title', // TODO
  86. 'help' => 'Example: <code>//title</code> or a static string: <code>"My custom feed"</code>', // TODO
  87. ),
  88. 'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> is a standard query language for advanced users, and which FreshRSS supports to enable Web scraping.', // TODO
  89. 'item' => array(
  90. '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
  91. 'help' => 'Example: <code>//div[@class="news-item"]</code>', // TODO
  92. ),
  93. 'item_author' => array(
  94. '_' => 'item author', // TODO
  95. 'help' => 'Can also be a static string. Example: <code>"Anonymous"</code>', // TODO
  96. ),
  97. 'item_categories' => 'item tags', // TODO
  98. 'item_content' => array(
  99. '_' => 'item content', // TODO
  100. 'help' => 'Example to take the full item: <code>.</code>', // TODO
  101. ),
  102. 'item_thumbnail' => array(
  103. '_' => 'item thumbnail', // TODO
  104. 'help' => 'Example: <code>descendant::img/@src</code>', // TODO
  105. ),
  106. 'item_timeFormat' => array(
  107. '_' => 'Custom date/time format', // TODO
  108. 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
  109. ),
  110. 'item_timestamp' => array(
  111. '_' => 'item date', // TODO
  112. 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
  113. ),
  114. 'item_title' => array(
  115. '_' => 'item title', // TODO
  116. 'help' => 'Use in particular the <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">XPath axis</a> <code>descendant::</code> like <code>descendant::h2</code>', // TODO
  117. ),
  118. 'item_uid' => array(
  119. '_' => 'item unique ID', // TODO
  120. 'help' => 'Optional. Example: <code>descendant::div/@data-uri</code>', // TODO
  121. ),
  122. 'item_uri' => array(
  123. '_' => 'item link (URL)', // TODO
  124. 'help' => 'Example: <code>descendant::a/@href</code>', // TODO
  125. ),
  126. 'relative' => 'XPath (relative to item) for:', // TODO
  127. 'xpath' => 'XPath for:', // TODO
  128. ),
  129. 'json_dotnotation' => array(
  130. '_' => 'JSON (dot notation)', // TODO
  131. 'feed_title' => array(
  132. '_' => 'feed title', // TODO
  133. 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
  134. ),
  135. 'help' => 'A JSON dot notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
  136. 'item' => array(
  137. '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
  138. 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
  139. ),
  140. 'item_author' => 'item author', // TODO
  141. 'item_categories' => 'item tags', // TODO
  142. 'item_content' => array(
  143. '_' => 'item content', // TODO
  144. 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
  145. ),
  146. 'item_thumbnail' => array(
  147. '_' => 'item thumbnail', // TODO
  148. 'help' => 'Example: <code>image</code>', // TODO
  149. ),
  150. 'item_timeFormat' => array(
  151. '_' => 'Custom date/time format', // TODO
  152. 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
  153. ),
  154. 'item_timestamp' => array(
  155. '_' => 'item date', // TODO
  156. 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
  157. ),
  158. 'item_title' => 'item title', // TODO
  159. 'item_uid' => 'item unique ID', // TODO
  160. 'item_uri' => array(
  161. '_' => 'item link (URL)', // TODO
  162. 'help' => 'Example: <code>permalink</code>', // TODO
  163. ),
  164. 'json' => 'dot notation for:', // TODO
  165. 'relative' => 'dot notated path (relative to item) for:', // TODO
  166. ),
  167. 'jsonfeed' => 'JSON Feed', // TODO
  168. 'rss' => 'RSS / Atom (default)', // TODO
  169. 'xml_xpath' => 'XML + XPath', // TODO
  170. ),
  171. 'maintenance' => array(
  172. 'clear_cache' => 'Clear cache', // TODO
  173. 'clear_cache_help' => 'Clear the cache for this feed.', // TODO
  174. 'reload_articles' => 'Reload articles', // TODO
  175. 'reload_articles_help' => 'Reload that many articles and fetch complete content if a selector is defined.', // TODO
  176. 'title' => 'Maintenance', // TODO
  177. ),
  178. 'max_http_redir' => 'Max HTTP redirects', // TODO
  179. 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO
  180. 'method' => array(
  181. '_' => 'HTTP Method', // TODO
  182. ),
  183. 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
  184. 'method_postparams' => 'Payload for POST', // TODO
  185. 'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under <em>%s</em>.', // TODO
  186. 'mute' => array(
  187. '_' => 'mute', // TODO
  188. 'state_is_muted' => 'This feed is muted', // TODO
  189. ),
  190. 'no_selected' => 'No feed selected.', // TODO
  191. 'number_entries' => '%d articles', // TODO
  192. 'open_feed' => 'Open feed %s', // TODO
  193. 'priority' => array(
  194. '_' => 'Visibility', // TODO
  195. 'archived' => 'Do not show (archived)', // TODO
  196. 'category' => 'Show in its category', // TODO
  197. 'important' => 'Show in important feeds', // TODO
  198. 'main_stream' => 'Show in main stream', // TODO
  199. ),
  200. 'proxy' => 'Set a proxy for fetching this feed', // TODO
  201. 'proxy_help' => 'Select a protocol (e.g: SOCKS5) and enter the proxy address (e.g: <kbd>127.0.0.1:1080</kbd> or <kbd>username:password@127.0.0.1:1080</kbd>)', // TODO
  202. 'selector_preview' => array(
  203. 'show_raw' => 'Show source code', // TODO
  204. 'show_rendered' => 'Show content', // TODO
  205. ),
  206. 'show' => array(
  207. 'all' => 'Show all feeds', // TODO
  208. 'error' => 'Show only feeds with errors', // TODO
  209. ),
  210. 'showing' => array(
  211. 'error' => 'Showing only feeds with errors', // TODO
  212. ),
  213. 'ssl_verify' => 'Verify SSL security', // TODO
  214. 'stats' => 'Statistics', // TODO
  215. 'think_to_add' => 'You may add some feeds.', // TODO
  216. 'timeout' => 'Timeout in seconds', // TODO
  217. 'title' => 'Title', // TODO
  218. 'title_add' => 'Add an RSS feed', // TODO
  219. 'ttl' => 'Do not automatically refresh more often than', // TODO
  220. 'url' => 'Feed URL', // TODO
  221. 'useragent' => 'Set the user agent for fetching this feed', // TODO
  222. 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO
  223. 'validator' => 'Check the validity of the feed', // TODO
  224. 'website' => 'Website URL', // TODO
  225. 'websub' => 'Instant notifications with WebSub', // TODO
  226. ),
  227. 'import_export' => array(
  228. 'export' => 'Export', // TODO
  229. 'export_labelled' => 'Export your labeled articles',
  230. 'export_opml' => 'Export list of feeds (OPML)', // TODO
  231. 'export_starred' => 'Export your favorites',
  232. 'feed_list' => 'List of %s articles', // TODO
  233. 'file_to_import' => 'File to import<br />(OPML, JSON or ZIP)', // TODO
  234. 'file_to_import_no_zip' => 'File to import<br />(OPML or JSON)', // TODO
  235. 'import' => 'Import', // TODO
  236. 'starred_list' => 'List of favorite articles',
  237. 'title' => 'Import / export', // TODO
  238. ),
  239. 'menu' => array(
  240. 'add' => 'Add a feed or category', // TODO
  241. 'import_export' => 'Import / export', // TODO
  242. 'label_management' => 'Label management', // TODO
  243. 'stats' => array(
  244. 'idle' => 'Idle feeds', // TODO
  245. 'main' => 'Main statistics', // TODO
  246. 'repartition' => 'Articles repartition', // TODO
  247. ),
  248. 'subscription_management' => 'Subscription management', // TODO
  249. 'subscription_tools' => 'Subscription tools', // TODO
  250. ),
  251. 'tag' => array(
  252. 'auto_label' => 'Add this label to new articles', // TODO
  253. 'name' => 'Name', // TODO
  254. 'new_name' => 'New name', // TODO
  255. 'old_name' => 'Old name', // TODO
  256. ),
  257. 'title' => array(
  258. '_' => 'Subscription management', // TODO
  259. 'add' => 'Add a feed or category', // TODO
  260. 'add_category' => 'Add a category', // TODO
  261. 'add_dynamic_opml' => 'Add dynamic OPML', // TODO
  262. 'add_feed' => 'Add a feed', // TODO
  263. 'add_label' => 'Add a label', // TODO
  264. 'delete_label' => 'Delete a label', // TODO
  265. 'feed_management' => 'RSS feeds management', // TODO
  266. 'rename_label' => 'Rename a label', // TODO
  267. 'subscription_tools' => 'Subscription tools', // TODO
  268. ),
  269. );