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' => 'Copy the following URL to use it within an external tool.',
  14. 'title' => 'API',
  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.',
  18. 'label' => 'Subscribe',
  19. 'title' => 'Bookmarklet',
  20. ),
  21. 'category' => array(
  22. '_' => 'Category',
  23. 'add' => 'Add a category',
  24. 'archiving' => 'Archiving',
  25. 'dynamic_opml' => array(
  26. '_' => 'Dynamic OPML',
  27. 'help' => 'Provide the URL to an <a href="http://opml.org/" target="_blank">OPML file</a> to dynamically populate this category with feeds',
  28. ),
  29. 'empty' => 'Empty category',
  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.',
  31. 'expand' => 'Expand category',
  32. 'information' => 'Information',
  33. 'open' => 'Open category',
  34. 'opml_url' => 'OPML URL',
  35. 'position' => 'Display position',
  36. 'position_help' => 'To control category sort order',
  37. 'title' => 'Title',
  38. ),
  39. 'feed' => array(
  40. 'accept_cookies' => 'Accept cookies',
  41. 'accept_cookies_help' => 'Allow the feed server to set cookies (stored in memory for the duration of the request only)',
  42. 'add' => 'Add a feed',
  43. 'advanced' => 'Advanced',
  44. 'archiving' => 'Archiving',
  45. 'auth' => array(
  46. 'configuration' => 'Login',
  47. 'help' => 'Allows access to HTTP protected RSS feeds',
  48. 'http' => 'HTTP Authentication',
  49. 'password' => 'HTTP password',
  50. 'username' => 'HTTP username',
  51. ),
  52. 'change_favicon' => 'Change…',
  53. 'clear_cache' => 'Always clear cache',
  54. 'content_action' => array(
  55. '_' => 'Content action when fetching the article content',
  56. 'append' => 'Add after existing content',
  57. 'prepend' => 'Add before existing content',
  58. 'replace' => 'Replace existing content',
  59. ),
  60. 'content_retrieval' => 'Content retrieval',
  61. 'css_cookie' => 'Use Cookies when fetching the article content',
  62. 'css_cookie_help' => 'Example: <kbd>foo=bar; gdpr_consent=true; cookie=value</kbd>',
  63. 'css_help' => 'Retrieves truncated RSS feeds (caution, requires more time!)',
  64. 'css_path' => 'Article CSS selector on original website',
  65. 'css_path_filter' => array(
  66. '_' => 'CSS selector of the elements to remove',
  67. 'help' => 'A CSS selector may be a list such as: <kbd>footer, aside, p[data-sanitized-class~="menu"]</kbd>',
  68. ),
  69. 'description' => 'Description',
  70. 'empty' => 'This feed is empty. Please verify that it is still maintained.',
  71. 'error' => 'This feed has encountered a problem. If this situation persists, please verify that it is still reachable.',
  72. 'export-as-opml' => array(
  73. 'download' => 'Download',
  74. 'help' => 'XML file (data subset. <a href="https://freshrss.github.io/FreshRSS/en/developers/OPML.html" target="_blank">See documentation</a>)',
  75. 'label' => 'Export as OPML',
  76. ),
  77. 'ext_favicon' => 'Set automatically',
  78. 'favicon_changed_by_ext' => 'The icon has been set by the <b>%s</b> extension.',
  79. 'filteractions' => array(
  80. '_' => 'Filter actions',
  81. '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>.',
  82. 'view_filter' => 'Preview filters on existing articles (new window)',
  83. ),
  84. 'http_headers' => 'HTTP Headers',
  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>).',
  86. 'icon' => 'Icon',
  87. 'information' => 'Information',
  88. 'keep_adding_feed' => 'Then add more feeds',
  89. 'keep_min' => 'Minimum number of articles to keep',
  90. 'kind' => array(
  91. '_' => 'Type of feed source',
  92. 'html_json' => array(
  93. '_' => 'HTML + XPath + JSON dot notation (JSON in HTML)',
  94. 'xpath' => array(
  95. '_' => 'XPath for JSON in HTML',
  96. 'help' => 'Example: <code>normalize-space(//script[@type="application/json"])</code> (single JSON)<br />or: <code>//script[@type="application/ld+json"]</code> (one JSON object per article)',
  97. ),
  98. ),
  99. 'html_xpath' => array(
  100. '_' => 'HTML + XPath (Web scraping)',
  101. 'feed_title' => array(
  102. '_' => 'feed title',
  103. 'help' => 'Example: <code>//title</code> or a static string: <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> is a standard query language for advanced users, and which FreshRSS supports to enable Web scraping.',
  106. 'item' => array(
  107. '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>',
  108. 'help' => 'Example: <code>//div[@class="news-item"]</code>',
  109. ),
  110. 'item_author' => array(
  111. '_' => 'item author',
  112. 'help' => 'Can also be a static string. Example: <code>"Anonymous"</code>',
  113. ),
  114. 'item_categories' => 'item tags',
  115. 'item_content' => array(
  116. '_' => 'item content',
  117. 'help' => 'Example to take the full item: <code>.</code>',
  118. ),
  119. 'item_thumbnail' => array(
  120. '_' => 'item thumbnail',
  121. 'help' => 'Example: <code>descendant::img/@src</code>',
  122. ),
  123. 'item_timeFormat' => array(
  124. '_' => 'Custom date/time format',
  125. '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>',
  126. ),
  127. 'item_timestamp' => array(
  128. '_' => 'item date',
  129. 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>',
  130. ),
  131. 'item_title' => array(
  132. '_' => 'item title',
  133. '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>',
  134. ),
  135. 'item_uid' => array(
  136. '_' => 'item unique ID',
  137. 'help' => 'Optional. Example: <code>descendant::div/@data-uri</code>',
  138. ),
  139. 'item_uri' => array(
  140. '_' => 'item link (URL)',
  141. 'help' => 'Example: <code>descendant::a/@href</code>',
  142. ),
  143. 'relative' => 'XPath (relative to item) for:',
  144. 'xpath' => 'XPath for:',
  145. ),
  146. 'json_dotnotation' => array(
  147. '_' => 'JSON (dot notation)',
  148. 'feed_title' => array(
  149. '_' => 'feed title',
  150. 'help' => 'Example: <code>meta.title</code> or a static string: <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>)',
  153. 'item' => array(
  154. '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>',
  155. 'help' => 'JSON path to the array containing the items, e.g. <code>$</code> or <code>newsItems</code>',
  156. ),
  157. 'item_author' => 'item author',
  158. 'item_categories' => 'item tags',
  159. 'item_content' => array(
  160. '_' => 'item content',
  161. 'help' => 'Key under which the content is found, e.g. <code>content</code>',
  162. ),
  163. 'item_thumbnail' => array(
  164. '_' => 'item thumbnail',
  165. 'help' => 'Example: <code>image</code>',
  166. ),
  167. 'item_timeFormat' => array(
  168. '_' => 'Custom date/time format',
  169. '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>',
  170. ),
  171. 'item_timestamp' => array(
  172. '_' => 'item date',
  173. 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>',
  174. ),
  175. 'item_title' => 'item title',
  176. 'item_uid' => 'item unique ID',
  177. 'item_uri' => array(
  178. '_' => 'item link (URL)',
  179. 'help' => 'Example: <code>permalink</code>',
  180. ),
  181. 'json' => 'dot notation for:',
  182. 'relative' => 'dot notated path (relative to item) for:',
  183. ),
  184. 'jsonfeed' => 'JSON Feed',
  185. 'rss' => 'RSS / Atom (default)',
  186. 'xml_xpath' => 'XML + XPath',
  187. ),
  188. 'last-entry-publication-date' => 'Last article published <time datetime="%1$s" title="%1$s">%2$s</time>.',
  189. 'last-entry-received-date' => 'Last article received <time datetime="%1$s" title="%1$s">%2$s</time>.',
  190. 'last-error-date' => 'Last erroneous update <time datetime="%1$s" title="%1$s">%2$s</time>.',
  191. 'last-update' => 'Last successful update <time datetime="%1$s" title="%1$s">%2$s</time>.',
  192. 'maintenance' => array(
  193. 'clear_cache' => 'Clear cache',
  194. 'clear_cache_help' => 'Clear the cache for this feed.',
  195. 'reload_articles' => 'Reload articles',
  196. 'reload_articles_help' => 'Reload that many articles and fetch complete content if a selector is defined.',
  197. 'title' => 'Maintenance',
  198. ),
  199. 'max_http_redir' => 'Max HTTP redirects',
  200. 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects',
  201. 'method' => array(
  202. '_' => 'HTTP Method',
  203. ),
  204. 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>',
  205. 'method_postparams' => 'Payload for POST',
  206. 'moved_category_deleted' => 'When you remove a category, its feeds are automatically classified under <em>%s</em>.',
  207. 'mute' => array(
  208. '_' => 'mute',
  209. 'state_is_muted' => 'This feed is muted',
  210. ),
  211. 'no_selected' => 'No feed selected.',
  212. 'number_entries' => '%d articles',
  213. 'open_feed' => 'Open feed %s',
  214. 'path_entries_conditions' => 'Conditions for content retrieval',
  215. 'priority' => array(
  216. '_' => 'Visibility',
  217. 'category' => 'Show in its category',
  218. 'feed' => 'Show in its feed',
  219. 'hidden' => 'Do not show',
  220. 'important' => 'Show in important feeds',
  221. 'main_stream' => 'Show in main stream',
  222. ),
  223. 'proxy' => 'Set a proxy for fetching this feed',
  224. '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>)',
  225. 'reset_favicon' => 'Reset to default',
  226. 'selector_preview' => array(
  227. 'show_raw' => 'Show source code',
  228. 'show_rendered' => 'Show content',
  229. ),
  230. 'show' => array(
  231. 'all' => 'All feeds',
  232. 'error' => 'Show only feeds with errors',
  233. ),
  234. 'showing' => array(
  235. 'error' => 'Showing only feeds with errors',
  236. ),
  237. 'ssl_verify' => 'Verify SSL security',
  238. 'stats' => 'Statistics',
  239. 'think_to_add' => 'You may add some feeds.',
  240. 'timeout' => 'Timeout in seconds',
  241. 'title' => 'Title',
  242. 'title_add' => 'Add an RSS feed',
  243. 'ttl' => 'Do not automatically refresh more often than',
  244. 'unicityCriteria' => array(
  245. '_' => 'Article unicity criteria',
  246. 'forced' => '<span title="Block the unicity criteria, even when the feed has duplicate articles">forced</span>',
  247. 'help' => 'Relevant for invalid feeds.<br />⚠️ Changing the policy will create duplicates.',
  248. 'id' => 'Standard ID (default)',
  249. 'link' => 'Link',
  250. 'sha1:content' => 'Content',
  251. 'sha1:content_published' => 'Content + Date',
  252. 'sha1:link_published' => 'Link + Date',
  253. 'sha1:link_published_title' => 'Link + Date + Title',
  254. 'sha1:link_published_title_content' => 'Link + Date + Title + Content',
  255. 'sha1:published' => 'Date',
  256. 'sha1:title' => 'Title',
  257. 'sha1:title_published' => 'Title + Date',
  258. 'sha1:title_published_content' => 'Title + Date + Content',
  259. ),
  260. 'url' => 'Feed URL',
  261. 'useragent' => 'Set the user agent for fetching this feed',
  262. 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>',
  263. 'validator' => 'Check the validity of the feed',
  264. 'website' => 'Website URL',
  265. 'websub' => 'Instant notifications with WebSub',
  266. ),
  267. 'import_export' => array(
  268. 'export' => array(
  269. '_' => 'Export',
  270. 'sqlite' => 'Download user database as SQLite',
  271. ),
  272. 'export_labelled' => 'Export your labelled articles',
  273. 'export_opml' => 'Export list of feeds (OPML)',
  274. 'export_starred' => 'Export your favourites',
  275. 'feed_list' => 'List of %s articles',
  276. 'file_to_import' => 'File to import<br />(OPML, JSON or ZIP)',
  277. 'file_to_import_no_zip' => 'File to import<br />(OPML or JSON)',
  278. 'import' => 'Import',
  279. 'starred_list' => 'List of favourite articles',
  280. 'title' => 'Import / export',
  281. ),
  282. 'menu' => array(
  283. 'add' => 'Add a feed or category',
  284. 'import_export' => 'Import / export',
  285. 'label_management' => 'Label management',
  286. 'stats' => array(
  287. 'idle' => 'Idle feeds',
  288. 'main' => 'Main statistics',
  289. 'repartition' => 'Articles repartition',
  290. 'unread_dates' => 'Unread dates',
  291. ),
  292. 'subscription_management' => 'Subscription management',
  293. 'subscription_tools' => 'Subscription tools',
  294. ),
  295. 'tag' => array(
  296. 'auto_label' => 'Add this label to new articles',
  297. 'name' => 'Name',
  298. 'new_name' => 'New name',
  299. 'old_name' => 'Old name',
  300. ),
  301. 'title' => array(
  302. '_' => 'Subscription management',
  303. 'add' => 'Add a feed or category',
  304. 'add_category' => 'Add a category',
  305. 'add_dynamic_opml' => 'Add dynamic OPML',
  306. 'add_feed' => 'Add a feed',
  307. 'add_label' => 'Add a label',
  308. 'add_opml_category' => 'OPML category name',
  309. 'delete_label' => 'Delete this label',
  310. 'feed_management' => 'RSS feeds management',
  311. 'subscription_tools' => 'Subscription tools',
  312. ),
  313. );