A free, self-hostable news aggregator…
Do not show message Add some feeds (#5827)
Alexandre Alapetite00ae42392429
diff --git a/app/i18n/cz/index.php b/app/i18n/cz/index.phpindex 6745290d6..71e1b385e 100644--- a/app/i18n/cz/index.php+++ b/app/i18n/cz/index.php@@ -26,7 +26,6 @@ return array('version' => 'Verze',),'feed' => array(- 'add' => 'Přidejte nějaké kanály.','empty' => 'Nejsou žádné články k zobrazení.','rss_of' => 'Kanál RSS %s','title' => 'Hlavní kanál',diff --git a/app/i18n/de/index.php b/app/i18n/de/index.phpindex 27224b7d1..0e158199b 100644--- a/app/i18n/de/index.php+++ b/app/i18n/de/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version', // IGNORE),'feed' => array(- 'add' => 'Sie können Feeds hinzufügen.','empty' => 'Es gibt keinen Artikel zum Anzeigen.','rss_of' => 'RSS-Feed von %s','title' => 'Haupt-Feeds',diff --git a/app/i18n/el/index.php b/app/i18n/el/index.phpindex 113c41681..f9d84d49a 100644--- a/app/i18n/el/index.php+++ b/app/i18n/el/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version', // TODO),'feed' => array(- 'add' => 'Please add some feeds.', // TODO'empty' => 'There are no articles to show.', // TODO'rss_of' => 'RSS feed of %s', // TODO'title' => 'Main stream', // TODOdiff --git a/app/i18n/en-us/index.php b/app/i18n/en-us/index.phpindex 4117da470..0ebdb9c57 100644--- a/app/i18n/en-us/index.php+++ b/app/i18n/en-us/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version', // IGNORE),'feed' => array(- 'add' => 'Please add some feeds.', // IGNORE'empty' => 'There are no articles to show.', // IGNORE'rss_of' => 'RSS feed of %s', // IGNORE'title' => 'Main stream', // IGNOREdiff --git a/app/i18n/en/index.php b/app/i18n/en/index.phpindex d32a23b1f..0d0af728e 100644--- a/app/i18n/en/index.php+++ b/app/i18n/en/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version',),'feed' => array(- 'add' => 'Please add some feeds.','empty' => 'There are no articles to show.','rss_of' => 'RSS feed of %s','title' => 'Main stream',diff --git a/app/i18n/es/index.php b/app/i18n/es/index.phpindex 8a94e7562..dd773c88d 100644--- a/app/i18n/es/index.php+++ b/app/i18n/es/index.php@@ -26,7 +26,6 @@ return array('version' => 'Versión',),'feed' => array(- 'add' => 'Puedes añadir fuentes.','empty' => 'No hay artículos a mostrar.','rss_of' => 'Fuente RSS de %s','title' => 'Salida Principal',diff --git a/app/i18n/fa/index.php b/app/i18n/fa/index.phpindex 5396d04b7..518ab4dfa 100644--- a/app/i18n/fa/index.php+++ b/app/i18n/fa/index.php@@ -26,7 +26,6 @@ return array('version' => ' نسخه',),'feed' => array(- 'add' => ' لطفاً چند فید اضافه کنید.','empty' => ' هیچ مقاله ای برای نمایش وجود ندارد.','rss_of' => ' فید RSS %s','title' => ' جریان اصلی',diff --git a/app/i18n/fr/index.php b/app/i18n/fr/index.phpindex 6e31b3240..75131452a 100644--- a/app/i18n/fr/index.php+++ b/app/i18n/fr/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version', // IGNORE),'feed' => array(- 'add' => 'Vous pouvez ajouter des flux.','empty' => 'Il n’y a aucun article à afficher.','rss_of' => 'Flux RSS de %s','title' => 'Flux principal',diff --git a/app/i18n/he/index.php b/app/i18n/he/index.phpindex 801f744a0..452426dd1 100644--- a/app/i18n/he/index.php+++ b/app/i18n/he/index.php@@ -26,7 +26,6 @@ return array('version' => 'גרסה',),'feed' => array(- 'add' => 'ניתן להוסיף הזנות חדשות.','empty' => 'אין מאמר להצגה.','rss_of' => 'הזנת RSS של %s','title' => 'הזנה ראשית',diff --git a/app/i18n/hu/index.php b/app/i18n/hu/index.phpindex 2ee8c39e0..7b33c52d9 100755--- a/app/i18n/hu/index.php+++ b/app/i18n/hu/index.php@@ -26,7 +26,6 @@ return array('version' => 'Verzió',),'feed' => array(- 'add' => 'Adj hozzá hírforrást.','empty' => 'Nincs megjeleníthető cikk.','rss_of' => 'RSS hírforrás %s','title' => 'Minden cikk',diff --git a/app/i18n/id/index.php b/app/i18n/id/index.phpindex b7c9350bc..82aded9cf 100644--- a/app/i18n/id/index.php+++ b/app/i18n/id/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version', // TODO),'feed' => array(- 'add' => 'Please add some feeds.', // TODO'empty' => 'There are no articles to show.', // TODO'rss_of' => 'RSS feed of %s', // TODO'title' => 'Main stream', // TODOdiff --git a/app/i18n/it/index.php b/app/i18n/it/index.phpindex 9e26bdca0..ee7db8d3b 100644--- a/app/i18n/it/index.php+++ b/app/i18n/it/index.php@@ -26,7 +26,6 @@ return array('version' => 'Versione',),'feed' => array(- 'add' => 'Aggiungi un Feed RSS','empty' => 'Non ci sono articoli da mostrare.','rss_of' => 'RSS feed di %s','title' => 'Flusso principale',diff --git a/app/i18n/ja/index.php b/app/i18n/ja/index.phpindex 60001ef56..a5f3daf7d 100644--- a/app/i18n/ja/index.php+++ b/app/i18n/ja/index.php@@ -26,7 +26,6 @@ return array('version' => 'バージョン',),'feed' => array(- 'add' => 'フィードを追加してください。','empty' => '表示できる記事がありません','rss_of' => '%s のRSSフィード','title' => 'メイン',diff --git a/app/i18n/ko/index.php b/app/i18n/ko/index.phpindex 7c1d54bb4..a95eebf09 100644--- a/app/i18n/ko/index.php+++ b/app/i18n/ko/index.php@@ -26,7 +26,6 @@ return array('version' => '버전',),'feed' => array(- 'add' => '피드를 추가하세요.','empty' => '글이 없습니다.','rss_of' => '%s의 피드','title' => '메인 스트림',diff --git a/app/i18n/lv/index.php b/app/i18n/lv/index.phpindex 6dab5acdc..ff9639882 100644--- a/app/i18n/lv/index.php+++ b/app/i18n/lv/index.php@@ -26,7 +26,6 @@ return array('version' => 'Versija',),'feed' => array(- 'add' => 'Lūdzu pievienojat barotni.','empty' => 'Nav neviena raksta, ko parādīt.','rss_of' => 'RSS plūsma %s','title' => 'Galvenā plūsma',diff --git a/app/i18n/nl/index.php b/app/i18n/nl/index.phpindex 80d402865..573447d1c 100644--- a/app/i18n/nl/index.php+++ b/app/i18n/nl/index.php@@ -26,7 +26,6 @@ return array('version' => 'Versie', // IGNORE),'feed' => array(- 'add' => 'U kunt wat feeds toevoegen.','empty' => 'Er is geen artikel om te laten zien.','rss_of' => 'RSS-feed van %s','title' => 'Overzicht',diff --git a/app/i18n/oc/index.php b/app/i18n/oc/index.phpindex d853c0dec..7d0a5a29f 100644--- a/app/i18n/oc/index.php+++ b/app/i18n/oc/index.php@@ -26,7 +26,6 @@ return array('version' => 'Version', // IGNORE),'feed' => array(- 'add' => 'Podètz ajustar de fluxes.','empty' => 'I a pas cap de flux de mostrar.','rss_of' => 'Flux RSS de %s','title' => 'Flux màger',diff --git a/app/i18n/pl/index.php b/app/i18n/pl/index.phpindex fcb5db889..22f0297ce 100644--- a/app/i18n/pl/index.php+++ b/app/i18n/pl/index.php@@ -26,7 +26,6 @@ return array('version' => 'Wersja',),'feed' => array(- 'add' => 'Dodaj więcej kanałów.','empty' => 'Brak wiadomości do wyświetlenia.','rss_of' => 'Kanał RSS: %s','title' => 'Kanał główny',diff --git a/app/i18n/pt-br/index.php b/app/i18n/pt-br/index.phpindex d061456d1..d22446ab7 100644--- a/app/i18n/pt-br/index.php+++ b/app/i18n/pt-br/index.php@@ -26,7 +26,6 @@ return array('version' => 'Versão',),'feed' => array(- 'add' => 'Você pode adicionar alguns feeds.','empty' => 'Não há nenhum artigo para mostrar.','rss_of' => 'RSS feed do %s','title' => 'Stream principal',diff --git a/app/i18n/ru/index.php b/app/i18n/ru/index.phpindex bb670fff3..6c1d0b560 100644--- a/app/i18n/ru/index.php+++ b/app/i18n/ru/index.php@@ -26,7 +26,6 @@ return array('version' => 'Версия',),'feed' => array(- 'add' => 'Вы можете добавить ленты.','empty' => 'Нет статей для отображения.','rss_of' => 'RSS-лента %s','title' => 'Основной поток',diff --git a/app/i18n/sk/index.php b/app/i18n/sk/index.phpindex 438719501..56684bd26 100644--- a/app/i18n/sk/index.php+++ b/app/i18n/sk/index.php@@ -26,7 +26,6 @@ return array('version' => 'Verzia',),'feed' => array(- 'add' => 'Môžete pridať kanály.','empty' => 'Žiadne články.','rss_of' => 'RSS kanál pre %s','title' => 'Všetky kanály',diff --git a/app/i18n/tr/index.php b/app/i18n/tr/index.phpindex 9c8b17fd8..b53ca5893 100644--- a/app/i18n/tr/index.php+++ b/app/i18n/tr/index.php@@ -26,7 +26,6 @@ return array('version' => 'Sürüm',),'feed' => array(- 'add' => 'Akış ekleyebilirsin.','empty' => 'Gösterilecek makale yok.','rss_of' => '%s kaynağına ait RSS akışı','title' => 'Ana akış',diff --git a/app/i18n/zh-cn/index.php b/app/i18n/zh-cn/index.phpindex b0d12cedc..405c3f562 100644--- a/app/i18n/zh-cn/index.php+++ b/app/i18n/zh-cn/index.php@@ -26,7 +26,6 @@ return array('version' => '版本',),'feed' => array(- 'add' => '请添加一些订阅源。','empty' => '没有文章可以显示。','rss_of' => '%s 的订阅源','title' => '首页',diff --git a/app/i18n/zh-tw/index.php b/app/i18n/zh-tw/index.phpindex 9296bef74..ee8eda20f 100644--- a/app/i18n/zh-tw/index.php+++ b/app/i18n/zh-tw/index.php@@ -26,7 +26,6 @@ return array('version' => '版本',),'feed' => array(- 'add' => '你可以添加一些訂閱源。','empty' => '暫時沒有文章可顯示。','rss_of' => '%s 的訂閱源','title' => '首頁',diff --git a/app/views/index/global.phtml b/app/views/index/global.phtmlindex 1a307b513..6e3b2378b 100644--- a/app/views/index/global.phtml+++ b/app/views/index/global.phtml@@ -76,9 +76,6 @@?><div id="noArticlesToShow" class="prompt alert alert-warn"><h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>- <?php if (FreshRSS_Auth::hasAccess()) { ?>- <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>- <?php } ?></div><?php } ?></main>diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtmlindex ede772a78..c99cf07e7 100644--- a/app/views/index/normal.phtml+++ b/app/views/index/normal.phtml@@ -253,9 +253,6 @@ $today = @strtotime('today');</div><div class="prompt alert alert-warn"><h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>- <?php if (FreshRSS_Auth::hasAccess()) { ?>- <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>- <?php } ?></div></main><?php endif; ?>diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtmlindex 221c92496..af5caccdc 100644--- a/app/views/index/reader.phtml+++ b/app/views/index/reader.phtml@@ -225,9 +225,6 @@ $MAX_TAGS_DISPLAYED = FreshRSS_Context::$user_conf->show_tags_max;</div><div class="prompt alert alert-warn"><h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>- <?php if (FreshRSS_Auth::hasAccess()) { ?>- <p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>- <?php } ?></div></main><?php endif; ?>