sub.php 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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.', // IGNORE
  14. 'title' => 'API', // IGNORE
  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.', // IGNORE
  18. 'label' => 'Subscribe', // IGNORE
  19. 'title' => 'Bookmarklet', // IGNORE
  20. ),
  21. 'category' => array(
  22. '_' => 'Category', // IGNORE
  23. 'add' => 'Add a category', // IGNORE
  24. 'archiving' => 'Archiving', // IGNORE
  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', // IGNORE
  30. 'information' => 'Information', // IGNORE
  31. 'opml_url' => 'OPML URL', // TODO
  32. 'position' => 'Display position', // IGNORE
  33. 'position_help' => 'To control category sort order', // IGNORE
  34. 'title' => 'Title', // IGNORE
  35. ),
  36. 'feed' => array(
  37. 'add' => 'Add an RSS feed', // IGNORE
  38. 'advanced' => 'Advanced', // IGNORE
  39. 'archiving' => 'Archiving', // IGNORE
  40. 'auth' => array(
  41. 'configuration' => 'Login', // IGNORE
  42. 'help' => 'Allows access to HTTP protected RSS feeds', // IGNORE
  43. 'http' => 'HTTP Authentication', // IGNORE
  44. 'password' => 'HTTP password', // IGNORE
  45. 'username' => 'HTTP username', // IGNORE
  46. ),
  47. 'clear_cache' => 'Always clear cache', // IGNORE
  48. 'content_action' => array(
  49. '_' => 'Content action when fetching the article content', // IGNORE
  50. 'append' => 'Add after existing content', // IGNORE
  51. 'prepend' => 'Add before existing content', // IGNORE
  52. 'replace' => 'Replace existing content', // IGNORE
  53. ),
  54. 'css_cookie' => 'Use Cookies when fetching the article content', // IGNORE
  55. 'css_cookie_help' => 'Example: <kbd>foo=bar; gdpr_consent=true; cookie=value</kbd>', // IGNORE
  56. 'css_help' => 'Retrieves truncated RSS feeds (caution, requires more time!)', // IGNORE
  57. 'css_path' => 'Article CSS selector on original website', // IGNORE
  58. 'css_path_filter' => array(
  59. '_' => 'CSS selector of the elements to remove', // IGNORE
  60. 'help' => 'A CSS selector may be a list such as: <kbd>.footer, .aside</kbd>', // IGNORE
  61. ),
  62. 'description' => 'Description', // IGNORE
  63. 'empty' => 'This feed is empty. Please verify that it is still maintained.', // IGNORE
  64. 'error' => 'This feed has encountered a problem. Please verify that it is always reachable then update it.', // IGNORE
  65. 'filteractions' => array(
  66. '_' => 'Filter actions', // IGNORE
  67. 'help' => 'Write one search filter per line.', // IGNORE
  68. ),
  69. 'information' => 'Information', // IGNORE
  70. 'keep_min' => 'Minimum number of articles to keep', // IGNORE
  71. 'kind' => array(
  72. '_' => 'Type of feed source', // IGNORE
  73. 'html_xpath' => array(
  74. '_' => 'HTML + XPath (Web scraping)', // IGNORE
  75. 'feed_title' => array(
  76. '_' => 'feed title', // IGNORE
  77. 'help' => 'Example: <code>//title</code> or a static string: <code>"My custom feed"</code>', // IGNORE
  78. ),
  79. '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.', // IGNORE
  80. 'item' => array(
  81. '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // IGNORE
  82. 'help' => 'Example: <code>//div[@class="news-item"]</code>', // IGNORE
  83. ),
  84. 'item_author' => array(
  85. '_' => 'item author', // IGNORE
  86. 'help' => 'Can also be a static string. Example: <code>"Anonymous"</code>', // IGNORE
  87. ),
  88. 'item_categories' => 'item tags', // IGNORE
  89. 'item_content' => array(
  90. '_' => 'item content', // IGNORE
  91. 'help' => 'Example to take the full item: <code>.</code>', // IGNORE
  92. ),
  93. 'item_thumbnail' => array(
  94. '_' => 'item thumbnail', // IGNORE
  95. 'help' => 'Example: <code>descendant::img/@src</code>', // IGNORE
  96. ),
  97. 'item_timestamp' => array(
  98. '_' => 'item date', // IGNORE
  99. 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // IGNORE
  100. ),
  101. 'item_title' => array(
  102. '_' => 'item title', // IGNORE
  103. '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>', // IGNORE
  104. ),
  105. 'item_uid' => array(
  106. '_' => 'item unique ID', // IGNORE
  107. 'help' => 'Optional. Example: <code>descendant::div/@data-uri</code>', // TODO
  108. ),
  109. 'item_uri' => array(
  110. '_' => 'item link (URL)', // IGNORE
  111. 'help' => 'Example: <code>descendant::a/@href</code>', // IGNORE
  112. ),
  113. 'relative' => 'XPath (relative to item) for:', // IGNORE
  114. 'xpath' => 'XPath for:', // IGNORE
  115. ),
  116. 'rss' => 'RSS / Atom (default)', // IGNORE
  117. ),
  118. 'maintenance' => array(
  119. 'clear_cache' => 'Clear cache', // IGNORE
  120. 'clear_cache_help' => 'Clear the cache for this feed.', // IGNORE
  121. 'reload_articles' => 'Reload articles', // IGNORE
  122. 'reload_articles_help' => 'Reload that many articles and fetch complete content if a selector is defined.', // IGNORE
  123. 'title' => 'Maintenance', // IGNORE
  124. ),
  125. 'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under <em>%s</em>.', // IGNORE
  126. 'mute' => 'mute', // IGNORE
  127. 'no_selected' => 'No feed selected.', // IGNORE
  128. 'number_entries' => '%d articles', // IGNORE
  129. 'priority' => array(
  130. '_' => 'Visibility', // IGNORE
  131. 'archived' => 'Do not show (archived)', // IGNORE
  132. 'main_stream' => 'Show in main stream', // IGNORE
  133. 'normal' => 'Show in its category', // IGNORE
  134. ),
  135. 'proxy' => 'Set a proxy for fetching this feed', // IGNORE
  136. 'proxy_help' => 'Select a protocol (e.g: SOCKS5) and enter the proxy address (e.g: <kbd>127.0.0.1:1080</kbd>)', // IGNORE
  137. 'selector_preview' => array(
  138. 'show_raw' => 'Show source code', // IGNORE
  139. 'show_rendered' => 'Show content', // IGNORE
  140. ),
  141. 'show' => array(
  142. 'all' => 'Show all feeds', // IGNORE
  143. 'error' => 'Show only feeds with errors', // IGNORE
  144. ),
  145. 'showing' => array(
  146. 'error' => 'Showing only feeds with errors', // IGNORE
  147. ),
  148. 'ssl_verify' => 'Verify SSL security', // IGNORE
  149. 'stats' => 'Statistics', // IGNORE
  150. 'think_to_add' => 'You may add some feeds.', // IGNORE
  151. 'timeout' => 'Timeout in seconds', // IGNORE
  152. 'title' => 'Title', // IGNORE
  153. 'title_add' => 'Add an RSS feed', // IGNORE
  154. 'ttl' => 'Do not automatically refresh more often than', // IGNORE
  155. 'url' => 'Feed URL', // IGNORE
  156. 'useragent' => 'Set the user agent for fetching this feed', // IGNORE
  157. 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // IGNORE
  158. 'validator' => 'Check the validity of the feed', // IGNORE
  159. 'website' => 'Website URL', // IGNORE
  160. 'websub' => 'Instant notification with WebSub', // IGNORE
  161. ),
  162. 'import_export' => array(
  163. 'export' => 'Export', // IGNORE
  164. 'export_labelled' => 'Export your labeled articles',
  165. 'export_opml' => 'Export list of feeds (OPML)', // IGNORE
  166. 'export_starred' => 'Export your favorites',
  167. 'feed_list' => 'List of %s articles', // IGNORE
  168. 'file_to_import' => 'File to import<br />(OPML, JSON or ZIP)', // IGNORE
  169. 'file_to_import_no_zip' => 'File to import<br />(OPML or JSON)', // IGNORE
  170. 'import' => 'Import', // IGNORE
  171. 'starred_list' => 'List of favorite articles',
  172. 'title' => 'Import / export', // IGNORE
  173. ),
  174. 'menu' => array(
  175. 'add' => 'Add a feed or category', // IGNORE
  176. 'import_export' => 'Import / export', // IGNORE
  177. 'label_management' => 'Label management', // IGNORE
  178. 'stats' => array(
  179. 'idle' => 'Idle feeds', // IGNORE
  180. 'main' => 'Main statistics', // IGNORE
  181. 'repartition' => 'Articles repartition', // IGNORE
  182. ),
  183. 'subscription_management' => 'Subscription management', // IGNORE
  184. 'subscription_tools' => 'Subscription tools', // IGNORE
  185. ),
  186. 'tag' => array(
  187. 'name' => 'Name', // IGNORE
  188. 'new_name' => 'New name', // IGNORE
  189. 'old_name' => 'Old name', // IGNORE
  190. ),
  191. 'title' => array(
  192. '_' => 'Subscription management', // IGNORE
  193. 'add' => 'Add a feed or category', // IGNORE
  194. 'add_category' => 'Add a category', // IGNORE
  195. 'add_dynamic_opml' => 'Add dynamic OPML', // TODO
  196. 'add_feed' => 'Add a feed', // IGNORE
  197. 'add_label' => 'Add a label', // IGNORE
  198. 'delete_label' => 'Delete a label', // IGNORE
  199. 'feed_management' => 'RSS feeds management', // IGNORE
  200. 'rename_label' => 'Rename a label', // IGNORE
  201. 'subscription_tools' => 'Subscription tools', // IGNORE
  202. ),
  203. );