sub.php 8.6 KB

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