Преглед изворни кода

Add option to open articles on their original website (#9554)

* Add option to open articles on their original website

Clicking an article title can now open the original website instead of the article in FreshRSS. The link icon then opens the article in FreshRSS.

fix https://github.com/FreshRSS/FreshRSS/issues/1954

* i18n: fr

---------

Co-authored-by: Eduardo Coronell <eduardo.coronell@aspsols.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Eduardo. пре 1 дан
родитељ
комит
d1fe6e694d
75 измењених фајлова са 190 додато и 12 уклоњено
  1. 1 0
      CREDITS.md
  2. 3 3
      README.fr.md
  3. 3 3
      README.md
  4. 1 0
      app/Controllers/configureController.php
  5. 1 0
      app/Models/UserConfiguration.php
  6. 1 0
      app/i18n/ar/conf.php
  7. 1 0
      app/i18n/ar/gen.php
  8. 1 0
      app/i18n/az/conf.php
  9. 1 0
      app/i18n/az/gen.php
  10. 1 0
      app/i18n/be/conf.php
  11. 1 0
      app/i18n/be/gen.php
  12. 1 0
      app/i18n/cs/conf.php
  13. 1 0
      app/i18n/cs/gen.php
  14. 1 0
      app/i18n/de/conf.php
  15. 1 0
      app/i18n/de/gen.php
  16. 1 0
      app/i18n/el/conf.php
  17. 1 0
      app/i18n/el/gen.php
  18. 1 0
      app/i18n/en-US/conf.php
  19. 1 0
      app/i18n/en-US/gen.php
  20. 1 0
      app/i18n/en/conf.php
  21. 1 0
      app/i18n/en/gen.php
  22. 1 0
      app/i18n/es/conf.php
  23. 1 0
      app/i18n/es/gen.php
  24. 1 0
      app/i18n/fa/conf.php
  25. 1 0
      app/i18n/fa/gen.php
  26. 1 0
      app/i18n/fi/conf.php
  27. 1 0
      app/i18n/fi/gen.php
  28. 1 0
      app/i18n/fr/conf.php
  29. 1 0
      app/i18n/fr/gen.php
  30. 1 0
      app/i18n/he/conf.php
  31. 1 0
      app/i18n/he/gen.php
  32. 1 0
      app/i18n/hu/conf.php
  33. 1 0
      app/i18n/hu/gen.php
  34. 1 0
      app/i18n/id/conf.php
  35. 1 0
      app/i18n/id/gen.php
  36. 1 0
      app/i18n/it/conf.php
  37. 1 0
      app/i18n/it/gen.php
  38. 1 0
      app/i18n/ja/conf.php
  39. 1 0
      app/i18n/ja/gen.php
  40. 1 0
      app/i18n/ko/conf.php
  41. 1 0
      app/i18n/ko/gen.php
  42. 1 0
      app/i18n/lt/conf.php
  43. 1 0
      app/i18n/lt/gen.php
  44. 1 0
      app/i18n/lv/conf.php
  45. 1 0
      app/i18n/lv/gen.php
  46. 1 0
      app/i18n/nl/conf.php
  47. 1 0
      app/i18n/nl/gen.php
  48. 1 0
      app/i18n/oc/conf.php
  49. 1 0
      app/i18n/oc/gen.php
  50. 1 0
      app/i18n/pl/conf.php
  51. 1 0
      app/i18n/pl/gen.php
  52. 1 0
      app/i18n/pt-BR/conf.php
  53. 1 0
      app/i18n/pt-BR/gen.php
  54. 1 0
      app/i18n/pt-PT/conf.php
  55. 1 0
      app/i18n/pt-PT/gen.php
  56. 1 0
      app/i18n/ru/conf.php
  57. 1 0
      app/i18n/ru/gen.php
  58. 1 0
      app/i18n/sk/conf.php
  59. 1 0
      app/i18n/sk/gen.php
  60. 1 0
      app/i18n/tr/conf.php
  61. 1 0
      app/i18n/tr/gen.php
  62. 1 0
      app/i18n/uk/conf.php
  63. 1 0
      app/i18n/uk/gen.php
  64. 1 0
      app/i18n/zh-CN/conf.php
  65. 1 0
      app/i18n/zh-CN/gen.php
  66. 1 0
      app/i18n/zh-TW/conf.php
  67. 1 0
      app/i18n/zh-TW/gen.php
  68. 11 0
      app/views/configure/reading.phtml
  69. 9 2
      app/views/helpers/index/normal/entry_header.phtml
  70. 1 0
      app/views/helpers/javascript_vars.phtml
  71. 1 0
      config-user.default.php
  72. 6 0
      docs/en/users/05_Configuration.md
  73. 4 4
      p/scripts/main.js
  74. 52 0
      tests/app/Views/entryHeaderTest.php
  75. 35 0
      tests/app/Views/javascriptVarsTest.php

+ 1 - 0
CREDITS.md

@@ -106,6 +106,7 @@ People are sorted by name so please keep this order.
 * [Ed Sandor](https://github.com/ewsandor): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:ewsandor), [Web](https://sandorlaboratories.com/)
 * [Edgardo Ramírez](https://github.com/SoldierCorp): [contributors](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:SoldierCorp)
 * [EdJoPaTo](https://github.com/EdJoPaTo): [contributions](https://github.com/FreshRSS/FreshRSS/commits/edge?author=EdJoPaTo)
+* [Eduardo Coronell](https://github.com/EduardoNovato): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:EduardoNovato)
 * [Elanna Grossman](https://github.com/Karvel): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Karvel), [Web](https://elanna.me/)
 * [Emre](https://github.com/Emredinho61): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Emredinho61), [Web](https://emre-bayazitoglu.netlify.app/)
 * [equinoxmatt](https://github.com/equinoxmatt): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:equinoxmatt)

+ 3 - 3
README.fr.md

@@ -261,12 +261,12 @@ Voir le [dépôt dédié à ces extensions](https://github.com/FreshRSS/Extensio
 | Polski (pl) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpl+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Português (Brasil) (pt-BR) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-BR+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Português (Portugal) (pt-PT) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-PT+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| Русский (ru) | ■■■■■■■■■・ 98% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fru+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| Русский (ru) | ■■■■■■■■■・ 97% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fru+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Slovenčina (sk) | ■■■■■■■■・・ 80% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fsk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Türkçe (tr) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ftr+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| Українська (uk) | ■■■■■■■■■・ 98% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| Українська (uk) | ■■■■■■■■■・ 97% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | 简体中文 (zh-CN) | ■■■■■■■■■・ 95% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| 正體中文 (zh-TW) | ■■■■■■■■■・ 98% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| 正體中文 (zh-TW) | ■■■■■■■■■・ 97% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 
 </translations>
 

+ 3 - 3
README.md

@@ -157,12 +157,12 @@ See the [repository dedicated to those extensions](https://github.com/FreshRSS/E
 | Polski (pl) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpl+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Português (Brasil) (pt-BR) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-BR+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Português (Portugal) (pt-PT) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-PT+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| Русский (ru) | ■■■■■■■■■・ 98% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fru+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| Русский (ru) | ■■■■■■■■■・ 97% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fru+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Slovenčina (sk) | ■■■■■■■■・・ 80% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fsk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Türkçe (tr) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ftr+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| Українська (uk) | ■■■■■■■■■・ 98% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| Українська (uk) | ■■■■■■■■■・ 97% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | 简体中文 (zh-CN) | ■■■■■■■■■・ 95% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| 正體中文 (zh-TW) | ■■■■■■■■■・ 98% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| 正體中文 (zh-TW) | ■■■■■■■■■・ 97% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 
 </translations>
 

+ 1 - 0
app/Controllers/configureController.php

@@ -153,6 +153,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
 			FreshRSS_Context::userConf()->onread_jump_next = Minz_Request::paramBoolean('onread_jump_next');
 			FreshRSS_Context::userConf()->lazyload = Minz_Request::paramBoolean('lazyload');
 			FreshRSS_Context::userConf()->sides_close_article = Minz_Request::paramBoolean('sides_close_article');
+			FreshRSS_Context::userConf()->title_opens_website = Minz_Request::paramBoolean('title_opens_website');
 			FreshRSS_Context::userConf()->sticky_post = Minz_Request::paramBoolean('sticky_post');
 			FreshRSS_Context::userConf()->sticky_sort = Minz_Request::paramBoolean('sticky_sort');
 			$markReadButton = Minz_Request::paramStringNull('mark_read_button', plaintext: true);

+ 1 - 0
app/Models/UserConfiguration.php

@@ -69,6 +69,7 @@ declare(strict_types=1);
  * @property bool $sticky_sort To carry the manual sort/order over to the next navigation
  * @property string $theme
  * @property string $darkMode
+ * @property bool $title_opens_website
  * @property string $token
  * @property bool $topline_date
  * @property bool $topline_display_authors

+ 1 - 0
app/i18n/ar/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'الاحتفاظ بترتيب الفرز المخصص أثناء التنقل',
 		'sticky_sort_help' => 'يحدد ما إذا كان آخر ترتيب فرز مخصص يبقى فعالا أم أن كل تصنيف أو خلاصة يستخدم دائما إعداده الافتراضي أو العام.',
 		'title' => 'القراءة',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'العرض الافتراضي',
 			'global' => 'العرض الشامل',

+ 1 - 0
app/i18n/ar/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'فتح URL',
 		'promote' => 'ترقية',
 		'purge' => 'تطهير',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'تحديث OPML',
 		'remove' => 'إزالة',
 		'rename' => 'إعادة تسمية',

+ 1 - 0
app/i18n/az/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Naviqasiya zamanı fərdi sıralamanı saxla',
 		'sticky_sort_help' => 'Sonuncu fərdi sıralamanın aktiv qalacağını, yoxsa hər kateqoriya və ya lentin həmişə öz standart və ya qlobal parametrindən istifadə edəcəyini müəyyən edir.',
 		'title' => 'Oxuma',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Standart görünüş',
 			'global' => 'Qlobal görünüş',

+ 1 - 0
app/i18n/az/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URL-i aç',
 		'promote' => 'Yüksəlt',
 		'purge' => 'Təmizlə',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPML-i yenilə',
 		'remove' => 'Çıxar',
 		'rename' => 'Adını dəyiş',

+ 1 - 0
app/i18n/be/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Захоўваць карыстальніцкі парадак сартавання падчас навігацыі',
 		'sticky_sort_help' => 'Вызначае, ці захоўваецца апошні карыстальніцкі парадак сартавання, ці кожная катэгорыя або стужка заўсёды выкарыстоўвае ўласную прадвызначаную або глабальную наладу.',
 		'title' => 'Чытанне',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Прадвызначаны выгляд',
 			'global' => 'Глабальны выгляд',

+ 1 - 0
app/i18n/be/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Адкрыць URL-адрас',
 		'promote' => 'Павысіць',
 		'purge' => 'Ачысціць',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Абнавіць OPML',
 		'remove' => 'Выдаліць',
 		'rename' => 'Перайменаваць',

+ 1 - 0
app/i18n/cs/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Zachovat ruční řazení při navigaci',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Určuje, zda se zachová poslední ruční řazení, nebo zda každá kategorie či kanál vždy použije vlastní výchozí nebo globální nastavení.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Čtení',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Výchozí zobrazení',
 			'global' => 'Zobrazení přehledu',

+ 1 - 0
app/i18n/cs/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Otevřít adresu URL',
 		'promote' => 'Zvýšit úroveň',
 		'purge' => 'Vymazat',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Aktualizovat OPML',
 		'remove' => 'Odebrat',
 		'rename' => 'Přejmenovat',

+ 1 - 0
app/i18n/de/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Manuelle Sortierung bei der Navigation beibehalten',
 		'sticky_sort_help' => 'Legt fest, ob die letzte manuelle Sortierung aktiv bleibt oder ob jede Kategorie bzw. jeder Feed immer die eigene Standard- oder globale Einstellung verwendet.',
 		'title' => 'Lesen',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Standard-Ansicht',
 			'global' => 'Globale Ansicht',

+ 1 - 0
app/i18n/de/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URL öffnen',
 		'promote' => 'Hochstufen',
 		'purge' => 'Bereinigen',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPML erneut laden',
 		'remove' => 'Entfernen',
 		'rename' => 'Umbenennen',

+ 1 - 0
app/i18n/el/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Διατήρηση της χειροκίνητης ταξινόμησης κατά την πλοήγηση',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Καθορίζει αν διατηρείται η τελευταία χειροκίνητη ταξινόμηση ή αν κάθε κατηγορία ή ροή χρησιμοποιεί πάντα τη δική της προεπιλεγμένη ή καθολική ρύθμιση.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Ανάγνωση',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Προεπιλεγμένη προβολή',
 			'global' => 'Καθολική προβολή',

+ 1 - 0
app/i18n/el/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Άνοιγμα συνδέσμου',
 		'promote' => 'Προαγωγή',
 		'purge' => 'Άδειασμα',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Φρεσκάρισμα OPML',
 		'remove' => 'Αφαίρεση',
 		'rename' => 'Μετονομασία',

+ 1 - 0
app/i18n/en-US/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Keep custom sort order during navigation',	// IGNORE
 		'sticky_sort_help' => 'Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.',	// IGNORE
 		'title' => 'Reading',	// IGNORE
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// IGNORE
 		'view' => array(
 			'default' => 'Default view',	// IGNORE
 			'global' => 'Global view',	// IGNORE

+ 1 - 0
app/i18n/en-US/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Open URL',	// IGNORE
 		'promote' => 'Promote',	// IGNORE
 		'purge' => 'Purge',	// IGNORE
+		'read_in_freshrss' => 'Read in FreshRSS',	// IGNORE
 		'refresh_opml' => 'Refresh OPML',	// IGNORE
 		'remove' => 'Remove',	// IGNORE
 		'rename' => 'Rename',	// IGNORE

+ 1 - 0
app/i18n/en/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Keep custom sort order during navigation',
 		'sticky_sort_help' => 'Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.',
 		'title' => 'Reading',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',
 		'view' => array(
 			'default' => 'Default view',
 			'global' => 'Global view',

+ 1 - 0
app/i18n/en/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Open URL',
 		'promote' => 'Promote',
 		'purge' => 'Purge',
+		'read_in_freshrss' => 'Read in FreshRSS',
 		'refresh_opml' => 'Refresh OPML',
 		'remove' => 'Remove',
 		'rename' => 'Rename',

+ 1 - 0
app/i18n/es/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Mantener el orden de clasificación personalizado durante la navegación',
 		'sticky_sort_help' => 'Determina si el último orden de clasificación personalizado permanece activo o si cada categoría o feed utiliza siempre su propia configuración predeterminada o global.',
 		'title' => 'Lectura',
+		'title_opens_website' => 'Hacer clic en el título del artículo lo abrirá en su página original',
 		'view' => array(
 			'default' => 'Vista por defecto',
 			'global' => 'Vista global',

+ 1 - 0
app/i18n/es/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Abrir URL',
 		'promote' => 'Promover',
 		'purge' => 'Eliminar',
+		'read_in_freshrss' => 'Leer en FreshRSS',
 		'refresh_opml' => 'Actualizar OPML',
 		'remove' => 'Borrar',
 		'rename' => 'Cambiar el nombre a',

+ 1 - 0
app/i18n/fa/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'حفظ ترتیب مرتب‌سازی دستی هنگام پیمایش',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'تعیین می‌کند که آیا آخرین ترتیب مرتب‌سازی دستی فعال بماند یا هر دسته یا خوراک همیشه از تنظیم پیش‌فرض یا سراسری خود استفاده کند.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => ' خواندن',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => ' نمای پیش فرض',
 			'global' => ' نمای جهانی',

+ 1 - 0
app/i18n/fa/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => ' URL را باز کنید',
 		'promote' => ' ترویج',
 		'purge' => ' پاکسازی',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => ' OPML را بازخوانی کنید',
 		'remove' => ' حذف کنید',
 		'rename' => ' تغییر نام',

+ 1 - 0
app/i18n/fi/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Säilytä manuaalinen lajittelujärjestys navigoinnin aikana',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Määrittää, pysyykö viimeisin manuaalinen lajittelu käytössä vai käyttääkö jokainen luokka tai syöte aina omaa oletus- tai yleisasetustaan.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Lukeminen',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Oletusnäkymä',
 			'global' => 'Yleinen näkymä',

+ 1 - 0
app/i18n/fi/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Avaa URL-osoite',
 		'promote' => 'Nosta tärkeyttä',
 		'purge' => 'Tyhjennä',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Päivitä OPML',
 		'remove' => 'Poista',
 		'rename' => 'Nimeä uudelleen',

+ 1 - 0
app/i18n/fr/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Conserver l’ordre de tri manuel lors de la navigation',
 		'sticky_sort_help' => 'Détermine si le dernier ordre de tri manuel est conservé ou si chaque catégorie ou flux utilise toujours son propre paramètre par défaut ou global.',
 		'title' => 'Lecture',
+		'title_opens_website' => 'Cliquer sur le titre de l’article l’ouvre sur son site d’origine',
 		'view' => array(
 			'default' => 'Vue par défaut',
 			'global' => 'Vue globale',

+ 1 - 0
app/i18n/fr/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Ouvrir l’URL',
 		'promote' => 'Promouvoir',
 		'purge' => 'Purger',
+		'read_in_freshrss' => 'Lire dans FreshRSS',
 		'refresh_opml' => 'Rafraîchir OPML',
 		'remove' => 'Supprimer',
 		'rename' => 'Renommer',

+ 1 - 0
app/i18n/he/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'שמירת סדר המיון הידני בעת ניווט',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'קובע אם סדר המיון הידני האחרון נשאר פעיל או שכל קטגוריה או הזנה משתמשת תמיד בהגדרת ברירת המחדל או הכללית שלה.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'קריאה',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'תצוגת ברירת המחדל',
 			'global' => 'תצוגה גלובלית',

+ 1 - 0
app/i18n/he/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Open URL',	// TODO
 		'promote' => 'Promote',	// TODO
 		'purge' => 'Purge',	// TODO
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Refresh OPML',	// TODO
 		'remove' => 'Remove',	// TODO
 		'rename' => 'Rename',	// TODO

+ 1 - 0
app/i18n/hu/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Kézi rendezés megtartása navigáció közben',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Meghatározza, hogy az utolsó kézi rendezés aktív marad-e, vagy minden kategória, illetve hírcsatorna mindig a saját alapértelmezett vagy globális beállítását használja.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Olvasás',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Alapértelmezett nézet',
 			'global' => 'Globális nézet',

+ 1 - 0
app/i18n/hu/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URL Megnyitása',
 		'promote' => 'Előléptet',
 		'purge' => 'Töröl',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPML frissítése',
 		'remove' => 'Eltávolít',
 		'rename' => 'Átnevez',

+ 1 - 0
app/i18n/id/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Pertahankan urutan pengurutan manual saat menavigasi',
 		'sticky_sort_help' => 'Menentukan apakah urutan pengurutan manual terakhir tetap aktif atau setiap kategori atau umpan selalu menggunakan pengaturan bawaan atau globalnya sendiri.',
 		'title' => 'Membaca',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Tampilan baku',
 			'global' => 'Tampilan global',

+ 1 - 0
app/i18n/id/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Buka URL',
 		'promote' => 'Promosi',
 		'purge' => 'Hapus',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Segarkan OPML',
 		'remove' => 'Hapus',
 		'rename' => 'Ubah nama',

+ 1 - 0
app/i18n/it/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Mantieni l’ordinamento manuale durante la navigazione',
 		'sticky_sort_help' => 'Determina se l’ultimo ordinamento manuale rimane attivo oppure se ogni categoria o feed usa sempre la propria impostazione predefinita o globale.',
 		'title' => 'Lettura',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Visualizzazione predefinita',
 			'global' => 'Vista globale per categorie',

+ 1 - 0
app/i18n/it/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Apri URL',
 		'promote' => 'Promuovi',
 		'purge' => 'Elimina',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Ricarica OPML',
 		'remove' => 'Rimuovi',
 		'rename' => 'Rinomina',

+ 1 - 0
app/i18n/ja/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'ナビゲーション中も手動の並び順を保持する',
 		'sticky_sort_help' => '最後に指定した並べ替え順を保持するか、カテゴリやフィードごとに既定または全体設定の並べ替え順を使用するかを指定します。',
 		'title' => '閲覧',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'デフォルトビュー',
 			'global' => 'グローバルビュー',

+ 1 - 0
app/i18n/ja/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URLを開く',
 		'promote' => '昇格',
 		'purge' => '不要なデータの削除',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPMLを更新する',
 		'remove' => '消去',
 		'rename' => '名前を変更する',

+ 1 - 0
app/i18n/ko/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => '탐색 중에도 수동 정렬 순서 유지',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => '마지막 수동 정렬 순서를 계속 사용할지, 아니면 각 카테고리나 피드가 항상 자체 기본값 또는 전역 설정을 사용할지 결정합니다.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => '읽기',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => '기본 보기 모드',
 			'global' => '전체 모드',

+ 1 - 0
app/i18n/ko/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URL 열기',
 		'promote' => '목록 수준 올리기',
 		'purge' => '제거',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPML 새로고침',
 		'remove' => '삭제',
 		'rename' => '이름 바꾸기',

+ 1 - 0
app/i18n/lt/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Naršant išlaikyti pasirinktinę rikiavimo tvarką',
 		'sticky_sort_help' => 'Nustato, ar išlaikoma paskutinė pasirinktinė rikiavimo tvarka, ar kiekviena kategorija ar kanalas visada naudoja savo numatytąjį ar bendrą nustatymą.',
 		'title' => 'Skaitymas',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Numatytasis vaizdas',
 			'global' => 'Bendras vaizdas',

+ 1 - 0
app/i18n/lt/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Atverti URL',
 		'promote' => 'Paaukštinti',
 		'purge' => 'Išvalyti',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Atnaujinti OPML',
 		'remove' => 'Pašalinti',
 		'rename' => 'Pervadinti',

+ 1 - 0
app/i18n/lv/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Saglabāt manuālo kārtošanas secību navigācijas laikā',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Nosaka, vai tiek saglabāta pēdējā manuālā kārtošanas secība, vai arī katra kategorija vai plūsma vienmēr izmanto savu noklusējuma vai globālo iestatījumu.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Lasīšana',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Noklusējuma skats',
 			'global' => 'Globālais skats',

+ 1 - 0
app/i18n/lv/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Atvērt URL',
 		'promote' => 'Paaugstināt amatu',
 		'purge' => 'Iztīrīt',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Pārlādēt OPML',
 		'remove' => 'Noņemt',
 		'rename' => 'Pārdēvēt',

+ 1 - 0
app/i18n/nl/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Aangepaste sorteervolgorde behouden bij het bladeren',
 		'sticky_sort_help' => 'Bepaalt of de laatste aangepaste sorteervolgorde actief blijft of dat elke categorie of feed altijd zijn eigen standaard- of algemene instelling gebruikt.',
 		'title' => 'Lees modus',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Standaard weergave',
 			'global' => 'Globale weergave',

+ 1 - 0
app/i18n/nl/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URL openen',
 		'promote' => 'Bevorderen',
 		'purge' => 'Zuiveren',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPML vernieuwen',
 		'remove' => 'Verwijderen',
 		'rename' => 'Hernoemen',

+ 1 - 0
app/i18n/oc/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Servar l’òrdre de triada manual pendent la navigacion',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Determina se lo darrièr òrdre de triada manual es conservat o se cada categoria o flux utiliza totjorn son pròpri paramètre per defaut o global.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Lectura',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Vista per defaut',
 			'global' => 'Vista generala',

+ 1 - 0
app/i18n/oc/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Dobrir l’URL',
 		'promote' => 'Promòure',
 		'purge' => 'Purgar',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Refrescar OPML',
 		'remove' => 'Levar',
 		'rename' => 'Renomenar',

+ 1 - 0
app/i18n/pl/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Zachowaj niestandardową kolejność sortowania podczas nawigacji',
 		'sticky_sort_help' => 'Określa, czy ostatnia niestandardowa kolejność sortowania ma pozostać aktywna, czy każda kategoria lub kanał ma zawsze używać własnego ustawienia domyślnego albo globalnego.',
 		'title' => 'Czytanie',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Domyślny widok',
 			'global' => 'Widok globalny',

+ 1 - 0
app/i18n/pl/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Otwórz adres',
 		'promote' => 'Awansuj',
 		'purge' => 'Oczyść',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Odśwież OPML',
 		'remove' => 'Usuń',
 		'rename' => 'Zmień nazwę',

+ 1 - 0
app/i18n/pt-BR/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Manter a ordem de classificação manual durante a navegação',
 		'sticky_sort_help' => 'Determina se a última ordem de classificação manual é mantida ativa ou se cada categoria ou feed sempre usa sua própria configuração padrão ou global.',
 		'title' => 'Lendo',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Visualização padrão',
 			'global' => 'Visualização global',

+ 1 - 0
app/i18n/pt-BR/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Abrir URL',
 		'promote' => 'Promover',
 		'purge' => 'Limpar',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Atualizar OPML',
 		'remove' => 'Remover',
 		'rename' => 'Renomear',

+ 1 - 0
app/i18n/pt-PT/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Manter a ordenação manual durante a navegação',
 		'sticky_sort_help' => 'Determina se a última ordenação manual é mantida ativa ou se cada categoria ou fonte utiliza sempre a sua própria configuração predefinida ou global.',
 		'title' => 'Leitura',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Visualização predefinida',
 			'global' => 'Visualização global',

+ 1 - 0
app/i18n/pt-PT/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Abrir URL',
 		'promote' => 'Promover',
 		'purge' => 'Limpar',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Atualizar OPML',
 		'remove' => 'Remover',
 		'rename' => 'Renomear',

+ 1 - 0
app/i18n/ru/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Сохранять ручной порядок сортировки при навигации',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Определяет, сохраняется ли последний ручной порядок сортировки или каждая категория либо лента всегда использует собственную настройку по умолчанию или глобальную.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Чтение',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Вид по умолчанию',
 			'global' => 'Глобальный вид',

+ 1 - 0
app/i18n/ru/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Открыть URL',
 		'promote' => 'Продвинуть',
 		'purge' => 'Запустить очистку',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Обновить OPML',
 		'remove' => 'Удалить',
 		'rename' => 'Переименовать',

+ 1 - 0
app/i18n/sk/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Zachovať ručné zoradenie počas navigácie',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Určuje, či zostane zachované posledné ručné zoradenie, alebo či každá kategória či kanál vždy použije vlastné predvolené alebo globálne nastavenie.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Čítanie',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Prednastavené zobrazenie',
 			'global' => 'Prehľadné zobrazenie',

+ 1 - 0
app/i18n/sk/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Otvoriť URL',
 		'promote' => 'Podporiť',
 		'purge' => 'Vymazať',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Obnoviť OPML',
 		'remove' => 'Odstrániť',
 		'rename' => 'Premenovať',

+ 1 - 0
app/i18n/tr/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Gezinme sırasında el ile belirlenen sıralama düzenini koru',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Son el ile belirlenen sıralama düzeninin etkin kalıp kalmayacağını ya da her kategori veya beslemenin her zaman kendi varsayılan veya genel ayarını kullanacağını belirler.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Okuma',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Varsayılan görünüm',
 			'global' => 'Genel görünüm',

+ 1 - 0
app/i18n/tr/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'URL’yi aç',
 		'promote' => 'Yükselt',
 		'purge' => 'Temizle',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'OPML’yi yenile',
 		'remove' => 'Kaldır',
 		'rename' => 'Yeniden adlandır',

+ 1 - 0
app/i18n/uk/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => 'Зберігати ручний порядок сортування під час навігації',	// DIRTY - Keep custom sort order during navigation
 		'sticky_sort_help' => 'Визначає, чи зберігається останній ручний порядок сортування, чи кожна категорія або стрічка завжди використовує власне типове або глобальне налаштування.',	// DIRTY - Determines whether the last custom sort order is kept active or whether each category or feed always uses its own default or global setting.
 		'title' => 'Читання',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => 'Типовий показ',
 			'global' => 'Глобальний показ',

+ 1 - 0
app/i18n/uk/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => 'Відкрити URL-адресу',
 		'promote' => 'Підвищити',
 		'purge' => 'Застосувати політику видалення',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => 'Оновити OPML',
 		'remove' => 'Вилучити',
 		'rename' => 'Перейменувати',

+ 1 - 0
app/i18n/zh-CN/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => '导航时保持手动排序',
 		'sticky_sort_help' => '决定保持最近一次手动排序,还是让每个分类或订阅源始终使用各自的默认或全局设置。',
 		'title' => '阅读',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => '默认视图',
 			'global' => '全屏视图',

+ 1 - 0
app/i18n/zh-CN/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => '打开链接',
 		'promote' => '设为管理员',
 		'purge' => '清理',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => '刷新订阅源动态列表',
 		'remove' => '删除',
 		'rename' => '重命名',

+ 1 - 0
app/i18n/zh-TW/conf.php

@@ -311,6 +311,7 @@ return array(
 		'sticky_sort' => '導覽時保持手動排序',
 		'sticky_sort_help' => '決定保持最近一次手動排序,還是讓每個分類或訂閱源始終使用各自的預設或全域設定。',
 		'title' => '閱讀',
+		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
 		'view' => array(
 			'default' => '預設檢視',
 			'global' => '全域檢視',

+ 1 - 0
app/i18n/zh-TW/gen.php

@@ -43,6 +43,7 @@ return array(
 		'open_url' => '開啟 URL',
 		'promote' => '升級為管理員',
 		'purge' => '清理',
+		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
 		'refresh_opml' => '刷新 OPML',
 		'remove' => '移除',
 		'rename' => '重新命名',

+ 11 - 0
app/views/configure/reading.phtml

@@ -214,6 +214,17 @@
 					</label>
 				</div>
 			</div>
+
+			<div class="form-group">
+				<div class="group-controls">
+					<label class="checkbox" for="title_opens_website">
+						<input type="checkbox" name="title_opens_website" id="title_opens_website" value="1"<?=
+							FreshRSS_Context::userConf()->title_opens_website ? ' checked="checked"' : '' ?> />
+						<?= _t('conf.reading.title_opens_website') ?>
+						<noscript> — <strong><?= _t('gen.js.should_be_activated') ?></strong></noscript>
+					</label>
+				</div>
+			</div>
 		</fieldset>
 
 		<fieldset>

+ 9 - 2
app/views/helpers/index/normal/entry_header.phtml

@@ -11,6 +11,7 @@
 	$topline_display_authors = FreshRSS_Context::userConf()->topline_display_authors;
 	$topline_date = FreshRSS_Context::userConf()->topline_date;
 	$topline_link = FreshRSS_Context::userConf()->topline_link;
+	$title_opens_website = FreshRSS_Context::userConf()->title_opens_website;
 	$lazyload = FreshRSS_Context::userConf()->lazyload;
 	$headerClasses = ['horizontal-list', 'flux_header', 'website' . $topline_website];
 	if ($topline_thumbnail !== 'none') {
@@ -100,6 +101,12 @@
 			</div>
 		</li>
 	<?php } ?>
-	<?php if ($topline_link) { ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>" class="item-element" title="<?=
-		_t('conf.shortcut.see_on_website') ?>"><?= _i('link') ?></a></li><?php } ?>
+	<?php if ($topline_link) { ?><li class="item link"><?php
+		if ($title_opens_website) {	// The title opens the original website, so this icon opens the article in FreshRSS instead
+			?><button type="button" class="item-element as-link" title="<?= _t('gen.action.read_in_freshrss') ?>"><?= _i('view-reader') ?></button><?php
+		} else {
+			?><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>" class="item-element" title="<?=
+				_t('conf.shortcut.see_on_website') ?>"><?= _i('link') ?></a><?php
+		}
+	?></li><?php } ?>
 </ul>

+ 1 - 0
app/views/helpers/javascript_vars.phtml

@@ -25,6 +25,7 @@ echo json_encode([
 		'nb_parallel_refresh' => max(1, FreshRSS_Context::systemConf()->nb_parallel_refresh),
 		'does_lazyload' => FreshRSS_Context::userConf()->lazyload && !Minz_Request::is('index', 'reader'), // TODO: currently no lazy-loading is being done in reader view
 		'sides_close_article' => !!FreshRSS_Context::userConf()->sides_close_article,
+		'title_opens_website' => !!FreshRSS_Context::userConf()->title_opens_website,
 		'sidebar_hidden_by_default' => !!FreshRSS_Context::userConf()->sidebar_hidden_by_default,
 		'sticky_post' => !!FreshRSS_Context::isStickyPostEnabled(),
 		'html5_enable_notif' => FreshRSS_Context::userConf()->html5_enable_notif,

+ 1 - 0
config-user.default.php

@@ -48,6 +48,7 @@ return array (
 	'onread_jump_next' => true,
 	'lazyload' => true,
 	'sides_close_article' => false,
+	'title_opens_website' => false,
 	'sticky_post' => true,
 	'reading_confirm' => false,
 	'auto_remove_article' => false,

+ 6 - 0
docs/en/users/05_Configuration.md

@@ -126,6 +126,12 @@ The status of articles to display when loading FreshRSS. "Adjust showing" will d
 
 This will set images to load as they are viewed. This can save data, but will can cause images to load in later.
 
+### Open articles on their original website
+
+When “Clicking on the article title opens it on its original website” is enabled, clicking on the title of an article in the normal view opens it on its original website in a new tab, instead of in FreshRSS.
+The link icon at the end of the article header is then replaced by an icon to read the article in FreshRSS.
+The article is marked as read according to the “when the article is opened on its original website” option.
+
 ## Archival
 
 ### Archiving

+ 4 - 4
p/scripts/main.js

@@ -1430,8 +1430,8 @@ function init_stream(stream) {
 		}
 
 		el = ev.target.closest('.item a.title');
-		if (el) {	// Allow default control/command-click behaviour such as open in background-tab
-			return ev.ctrlKey || ev.metaKey;
+		if (el) {	// Allow default control/command-click behaviour such as open in background-tab, or opening the original website
+			return context.title_opens_website || ev.ctrlKey || ev.metaKey;
 		}
 
 		el = ev.target.closest('.flux .content .text a');
@@ -1588,7 +1588,7 @@ function init_stream(stream) {
 
 		el = ev.target.closest('.flux_header, .flux_content');
 		if (el) {	// flux_toggle
-			if (ev.target.closest('.reader, .content, .item.website, .item.link, .dropdown')) {
+			if (ev.target.closest('.reader, .content, .item.website, .item.link > a, .dropdown')) {
 				return true;
 			}
 			if ((!context.sides_close_article && ev.target.matches('.flux_content')) || ev.target.closest('footer')) {
@@ -1615,7 +1615,7 @@ function init_stream(stream) {
 
 		let el = ev.target.closest('.item a.title');
 		if (el) {
-			if (ev.ctrlKey) {	// Control+click
+			if (ev.ctrlKey || context.title_opens_website) {	// Control+click, or normal click opening the original website
 				if (context.auto_mark_site) {
 					mark_read(el.closest('.flux'), true, false);
 				}

+ 52 - 0
tests/app/Views/entryHeaderTest.php

@@ -0,0 +1,52 @@
+<?php
+declare(strict_types=1);
+
+use PHPUnit\Framework\Attributes\PreserveGlobalState;
+use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
+
+require_once LIB_PATH . '/Minz/Url.php';	// For _url()
+
+#[RunTestsInSeparateProcesses]
+#[PreserveGlobalState(false)]
+final class entryHeaderTest extends \PHPUnit\Framework\TestCase {
+
+	private const ARTICLE_URL = 'https://example.net/article';
+	private const LINK_ITEM = '//li[contains(concat(" ", normalize-space(@class), " "), " link ")]';
+
+	private static function renderEntryHeader(bool $titleOpensWebsite): DOMXPath {
+		FreshRSS_Context::initSystem();
+		Minz_Session::init('FreshRSS', volatile: true);
+		FreshRSS_Context::setUserConf(clone FreshRSS_UserConfiguration::default());
+		FreshRSS_Context::userConf()->title_opens_website = $titleOpensWebsite;
+		Minz_Translate::init('en');
+
+		$view = new FreshRSS_View();
+		$view->_path('helpers/index/normal/entry_header.phtml');
+		$view->feed = new FreshRSS_Feed('https://example.net/feed.xml', false);
+		$view->entry = new FreshRSS_Entry(1, 'guid', 'Title', '', 'Content', self::ARTICLE_URL, 1700000000);
+		$html = new DOMDocument();
+		self::assertTrue($html->loadHTML($view->renderToString(), LIBXML_NONET | LIBXML_NOERROR | LIBXML_NOWARNING));
+		return new DOMXPath($html);
+	}
+
+	private static function countNodes(DOMXPath $xpath, string $query): int {
+		$nodes = $xpath->query($query);
+		self::assertNotFalse($nodes);
+		return $nodes->length;
+	}
+
+	public function testLinkIconOpensOriginalWebsiteByDefault(): void {
+		$xpath = self::renderEntryHeader(titleOpensWebsite: false);
+		self::assertSame(1, self::countNodes($xpath, self::LINK_ITEM . '/a[@href="' . self::ARTICLE_URL . '"]'));
+		self::assertSame(0, self::countNodes($xpath, self::LINK_ITEM . '/button'));
+	}
+
+	public function testLinkIconOpensArticleInFreshRSSWhenTitleOpensWebsite(): void {
+		$xpath = self::renderEntryHeader(titleOpensWebsite: true);
+		self::assertSame(1, self::countNodes($xpath, self::LINK_ITEM . '/button[@type="button"]'));
+		self::assertSame(0, self::countNodes($xpath, self::LINK_ITEM . '/a'));
+		// The title is now the way to open the original website
+		self::assertSame(1, self::countNodes($xpath,
+			'//a[contains(concat(" ", normalize-space(@class), " "), " title ")][@href="' . self::ARTICLE_URL . '"][@target="_blank"]'));
+	}
+}

+ 35 - 0
tests/app/Views/javascriptVarsTest.php

@@ -0,0 +1,35 @@
+<?php
+declare(strict_types=1);
+
+use PHPUnit\Framework\Attributes\DataProvider;
+use PHPUnit\Framework\Attributes\PreserveGlobalState;
+use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
+
+require_once LIB_PATH . '/Minz/Url.php';	// For _url()
+
+#[RunTestsInSeparateProcesses]
+#[PreserveGlobalState(false)]
+final class javascriptVarsTest extends \PHPUnit\Framework\TestCase {
+
+	/** @return Traversable<string,array{bool}> */
+	public static function provideTitleOpensWebsite(): Traversable {
+		yield 'title opens the article in FreshRSS' => [false];
+		yield 'title opens the original website' => [true];
+	}
+
+	#[DataProvider('provideTitleOpensWebsite')]
+	public function testContextTellsWhetherTitleOpensWebsite(bool $titleOpensWebsite): void {
+		FreshRSS_Context::initSystem();
+		Minz_Session::init('FreshRSS', volatile: true);
+		FreshRSS_Context::setUserConf(clone FreshRSS_UserConfiguration::default());
+		FreshRSS_Context::userConf()->title_opens_website = $titleOpensWebsite;
+		Minz_Translate::init('en');
+
+		$view = new FreshRSS_View();
+		$view->_path('helpers/javascript_vars.phtml');
+		$vars = json_decode($view->renderToString(), true);
+		self::assertIsArray($vars);
+		self::assertIsArray($vars['context'] ?? null);
+		self::assertSame($titleOpensWebsite, $vars['context']['title_opens_website'] ?? null);
+	}
+}