A free, self-hostable news aggregator…
Download feed configs as opml: button (#6312)
maTh22172fd5bc4d
diff --git a/app/i18n/cz/sub.php b/app/i18n/cz/sub.phpindex db398a593..08eadaf58 100644--- a/app/i18n/cz/sub.php+++ b/app/i18n/cz/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Popis','empty' => 'Tento kanál je prázdný. Ověřte prosím, zda je stále udržován.','error' => 'Vyskytl se problém s kanálem. Ověřte prosím, že je vždy dostupný, pak ho aktualizujte.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Akce filtrování','help' => 'Zapište jeden filtr hledání na řádek. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.phpindex ba6309757..6d609226e 100644--- a/app/i18n/de/sub.php+++ b/app/i18n/de/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Beschreibung','empty' => 'Dieser Feed ist leer. Bitte stellen Sie sicher, dass er noch gepflegt wird.','error' => 'Dieser Feed ist auf ein Problem gestoßen. Bitte stellen Sie sicher, dass er immer lesbar ist und aktualisieren Sie ihn dann.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filteraktionen','help' => 'Ein Suchfilter pro Zeile. Operatoren <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">siehe Dokumentation</a>.',diff --git a/app/i18n/el/sub.php b/app/i18n/el/sub.phpindex 8de9a77fd..f3964717c 100644--- a/app/i18n/el/sub.php+++ b/app/i18n/el/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Description', // TODO'empty' => 'This feed is empty. Please verify that it is still maintained.', // TODO'error' => 'This feed has encountered a problem. Please verify that it is always reachable then update it.', // TODO+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filter actions', // TODO'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>.', // TODOdiff --git a/app/i18n/en-us/sub.php b/app/i18n/en-us/sub.phpindex e6eae591c..5b890475c 100644--- a/app/i18n/en-us/sub.php+++ b/app/i18n/en-us/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Description', // IGNORE'empty' => 'This feed is empty. Please verify that it is still maintained.', // IGNORE'error' => 'This feed has encountered a problem. Please verify that it is always reachable then update it.', // IGNORE+ 'export-as-opml' => array(+ 'download' => 'Download', // IGNORE+ 'help' => 'XML file', // IGNORE+ 'label' => 'Export as OPML', // IGNORE+ ),'filteractions' => array('_' => 'Filter actions', // IGNORE'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>.', // IGNOREdiff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.phpindex e76051212..ae67721c0 100644--- a/app/i18n/en/sub.php+++ b/app/i18n/en/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Description','empty' => 'This feed is empty. Please verify that it is still maintained.','error' => 'This feed has encountered a problem. Please verify that it is always reachable then update it.',+ 'export-as-opml' => array(+ 'download' => 'Download',+ 'help' => 'XML file',+ 'label' => 'Export as OPML',+ ),'filteractions' => array('_' => 'Filter actions','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>.',diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.phpindex e466472ca..c96230ce8 100644--- a/app/i18n/es/sub.php+++ b/app/i18n/es/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Descripción','empty' => 'La fuente está vacía. Por favor, verifica que siga activa.','error' => 'Hay un problema con esta fuente. Por favor, veritica que esté disponible y prueba de nuevo.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filtrar acciones','help' => 'Escribir un filtro de búsqueda por línea. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/fa/sub.php b/app/i18n/fa/sub.phpindex d6f267e20..78ee9faba 100644--- a/app/i18n/fa/sub.php+++ b/app/i18n/fa/sub.php@@ -66,6 +66,11 @@ return array('description' => ' توضیحات','empty' => ' این فید خالی است. لطفاً بررسی کنید که هنوز نگهداری می شود.','error' => ' این فید با مشکل مواجه شده است. لطفاً بررسی کنید که همیشه در دسترس است و سپس آن را به روز کنید.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => ' اعمال فیلتر','help' => ' در هر خط یک فیلتر جستجو بنویسید. اپراتورها <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">مستندات را ببینید</a>.',diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.phpindex f9c78c583..7c0d56122 100644--- a/app/i18n/fr/sub.php+++ b/app/i18n/fr/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Description', // IGNORE'empty' => 'Ce flux est vide. Veuillez vérifier qu’il est toujours maintenu.','error' => 'Ce flux a rencontré un problème. Veuillez vérifier qu’il est toujours accessible puis actualisez-le.',+ 'export-as-opml' => array(+ 'download' => 'Télécharger',+ 'help' => 'Fichier XML',+ 'label' => 'Exporter en OPML',+ ),'filteractions' => array('_' => 'Filtres d’action','help' => 'Écrivez une recherche par ligne. Voir la <a href="https://freshrss.github.io/FreshRSS/fr/users/03_Main_view.html#gr%C3%A2ce-au-champ-de-recherche" target="_blank">documentation des opérateurs</a>.',diff --git a/app/i18n/he/sub.php b/app/i18n/he/sub.phpindex 83e0f2e95..054be5858 100644--- a/app/i18n/he/sub.php+++ b/app/i18n/he/sub.php@@ -66,6 +66,11 @@ return array('description' => 'תיאור','empty' => 'הזנה זו ריקה. אנא ודאו שהיא עדיין מתוחזקת.','error' => 'הזנה זו נתקלה בשגיאה, אנא ודאו שהיא תקינה ואז נסו שנית.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filter actions', // TODO'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>.', // TODOdiff --git a/app/i18n/hu/sub.php b/app/i18n/hu/sub.phpindex 1934b0f06..7234cbf0e 100644--- a/app/i18n/hu/sub.php+++ b/app/i18n/hu/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Leírás','empty' => 'Ez a hírforrás üres. Ellenőrizd hogy van e tartalom rajta.','error' => 'Ez a hírforrás nem működik. Ellenőrizd az elérhetőségét és frissítsd.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Szűrő műveletek','help' => 'Írj egy szűrőt soronként. Műveletek <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">a dokumentációban</a>.',diff --git a/app/i18n/id/sub.php b/app/i18n/id/sub.phpindex d08746ba1..14b6cc644 100644--- a/app/i18n/id/sub.php+++ b/app/i18n/id/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Description', // TODO'empty' => 'This feed is empty. Please verify that it is still maintained.', // TODO'error' => 'This feed has encountered a problem. Please verify that it is always reachable then update it.', // TODO+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filter actions', // TODO'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>.', // TODOdiff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.phpindex ccb22916a..5060a412b 100644--- a/app/i18n/it/sub.php+++ b/app/i18n/it/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Descrizione','empty' => 'Questo feed non contiene articoli. Per favore verifica il sito direttamente.','error' => 'Questo feed ha generato un errore. Per favore verifica se ancora disponibile.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Azioni di filtro','help' => 'Scrivi un filtro di ricerca per riga. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/ja/sub.php b/app/i18n/ja/sub.phpindex 1b711bd35..19972fe94 100644--- a/app/i18n/ja/sub.php+++ b/app/i18n/ja/sub.php@@ -66,6 +66,11 @@ return array('description' => '説明','empty' => 'このフィードは空です。サイトが運営されているかどうかを確認してみてください。','error' => 'このフィードに問題が発生しました。ここでアクセスできるかどうかを確認して更新してみてください。',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'フィルターアクション','help' => '1行に1つの検索フィルターを設定してください Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/ko/sub.php b/app/i18n/ko/sub.phpindex 762922c80..f39ded85e 100644--- a/app/i18n/ko/sub.php+++ b/app/i18n/ko/sub.php@@ -66,6 +66,11 @@ return array('description' => '설명','empty' => '이 피드는 비어있습니다. 피드가 계속 운영되고 있는지 확인하세요.','error' => '이 피드에 문제가 발생했습니다. 이 피드에 접근 권한이 있는지 확인하세요.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => '필터 동작','help' => '한 줄에 한 검색 필터를 작성해 주세요. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/lv/sub.php b/app/i18n/lv/sub.phpindex c10ac166f..800ea7574 100644--- a/app/i18n/lv/sub.php+++ b/app/i18n/lv/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Apraksts','empty' => 'Šī barotne ir tukša. Lūdzu, pārbaudiet, vai tā joprojām tiek uzturēta.','error' => 'Šajā barotnē ir radusies problēma. Lūdzu, pārbaudiet, vai tā vienmēr ir sasniedzama, un pēc tam to atjauniniet.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filtra darbības','help' => 'Uzrakstiet vienu meklēšanas filtru katrā rindā. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.phpindex 87c7b3e4b..f964c2132 100644--- a/app/i18n/nl/sub.php+++ b/app/i18n/nl/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Omschrijving','empty' => 'Deze feed is leeg. Controleer of deze nog actueel is.','error' => 'Deze feed heeft problemen. Verifieer a.u.b het doeladres en actualiseer het.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filteracties','help' => 'Voer één zoekfilter per lijn in. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.phpindex 9931519f8..36ef8d021 100644--- a/app/i18n/oc/sub.php+++ b/app/i18n/oc/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Descripcion', // IGNORE'empty' => 'Aqueste flux es void. Assegurats-vos qu’es totjorn mantengut.','error' => 'Aqueste flux a rescontrat un problèma. Volgatz verificar que siá totjorn accessible puèi actualizatz-lo.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filtre d’accion','help' => 'Escrivètz una recèrca per linha. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/pl/sub.php b/app/i18n/pl/sub.phpindex 01521fe5b..62187a80a 100644--- a/app/i18n/pl/sub.php+++ b/app/i18n/pl/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Opis','empty' => 'Ten kanał jest pusty. Należy sprawdzić czy kanał w dalszym ciągu działa.','error' => 'Napotkano problem podczas dostępu do tego kanału. Należy sprawdzić czy kanał jest zawsze dostępny, a następnie go odświeżyć.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Akcje filtrowania','help' => 'Jedno zapytanie na linię. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/pt-br/sub.php b/app/i18n/pt-br/sub.phpindex 2777ab2e4..c5e048358 100644--- a/app/i18n/pt-br/sub.php+++ b/app/i18n/pt-br/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Descrição','empty' => 'Este feed está vazio. Por favor verifique ele ainda é mantido.','error' => 'Este feed encontra-se com problema. Por favor verifique se ele ainda está disponível e atualize-o.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Ações do filtro','help' => 'Escreva um filtro de pesquisa por linha. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.phpindex e9090b997..29d9e90ac 100644--- a/app/i18n/ru/sub.php+++ b/app/i18n/ru/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Описание','empty' => 'Лента пустая. Пожалуйста, убедитесь, что её до сих пор обслуживают.','error' => 'С этой лентой возникла проблема. Пожалуйста, убедитесь, что она всегда досягаема. Затем снова обновите её.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Действия фильтрации','help' => 'Введите по одному поисковому фильтру в строке. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.phpindex 029ed4e75..92cabf985 100644--- a/app/i18n/sk/sub.php+++ b/app/i18n/sk/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Popis','empty' => 'Tento kanál je prázdny. Overte, prosím, či je ešte spravovaný autorom.','error' => 'Vyskytol sa problém s týmto kanálom. Overte, prosím, či kanál stále existuje, potom ho obnovte.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Filtrovať akcie','help' => 'Napíšte jeden výraz hľadania na riadok. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/tr/sub.php b/app/i18n/tr/sub.phpindex b461d83f4..4c9f6c7de 100644--- a/app/i18n/tr/sub.php+++ b/app/i18n/tr/sub.php@@ -66,6 +66,11 @@ return array('description' => 'Tanım','empty' => 'Bu akış boş. Lütfen akışın aktif olduğuna emin olun.','error' => 'Bu akışda bir hatayla karşılaşıldı. Lütfen akışın sürekli ulaşılabilir olduğuna emin olun.',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => 'Eylemi filtrele','help' => 'Her satıra tek arama filtresi yaz. Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.phpindex cf6922f4c..78171e1fc 100644--- a/app/i18n/zh-cn/sub.php+++ b/app/i18n/zh-cn/sub.php@@ -66,6 +66,11 @@ return array('description' => '描述','empty' => '此源为空。请确认它是否正常更新。','error' => '此源遇到一些问题。请在确认是否能正常访问后重试。',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => '过滤动作','help' => '每行写一条过滤搜索,过滤条件可见 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">文档</a>。',diff --git a/app/i18n/zh-tw/sub.php b/app/i18n/zh-tw/sub.phpindex 2b5847343..2fcd87063 100644--- a/app/i18n/zh-tw/sub.php+++ b/app/i18n/zh-tw/sub.php@@ -66,6 +66,11 @@ return array('description' => '描述','empty' => '此源為空。請確認它是否正常更新。','error' => '此源遇到一些問題。請在確認是否能正常訪問後重試。',+ 'export-as-opml' => array(+ 'download' => 'Download', // TODO+ 'help' => 'XML file', // TODO+ 'label' => 'Export as OPML', // TODO+ ),'filteractions' => array('_' => '過濾動作','help' => '每行寫一條過濾搜尋 Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.', // DIRTYdiff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtmlindex ba91030bd..bc6f81091 100644--- a/app/views/helpers/feed/update.phtml+++ b/app/views/helpers/feed/update.phtml@@ -787,6 +787,17 @@</div></div>+ <h2><?= _t('sub.import_export.export') ?></h2>+ <div class="form-group">+ <label class="group-name"><?= _t('sub.feed.export-as-opml.label') ?></label>+ <div class="group-controls">+ <a class="btn btn-important" href="<?= _url('index', 'opml', 'get', 'f_'.$this->feed->id()) ?>" download="<?= 'f_'.$this->feed->id()?> <?= $this->feed->name(true) ?>.opml.xml">+ <?= _t('sub.feed.export-as-opml.download') ?>+ </a>+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.export-as-opml.help') ?></p>+ </div>+ </div>+</div><div id="popup">