diff options
| author | 2023-11-07 23:02:41 +0100 | |
|---|---|---|
| committer | 2023-11-07 23:02:41 +0100 | |
| commit | 00ae423924293a13705bc156c783867315c26a1e (patch) | |
| tree | 53d4e16c3427bcfaeae8aa09896bb717eda84d74 | |
| parent | e6c50549222870dc498f3f5b34d67c5fb75f22b1 (diff) | |
Do not show message Add some feeds (#5827)
* Do not show message Add some feeds
I found this message misleading, as a view is most of the time empty due to a filter, not due to a lack of feeds.
* Remove i18n
| -rw-r--r-- | app/i18n/cz/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/de/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/el/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/en-us/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/en/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/es/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/fa/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/fr/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/he/index.php | 1 | ||||
| -rwxr-xr-x | app/i18n/hu/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/id/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/it/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/ja/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/ko/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/lv/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/nl/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/oc/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/pl/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/pt-br/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/ru/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/sk/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/tr/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/zh-cn/index.php | 1 | ||||
| -rw-r--r-- | app/i18n/zh-tw/index.php | 1 | ||||
| -rw-r--r-- | app/views/index/global.phtml | 3 | ||||
| -rw-r--r-- | app/views/index/normal.phtml | 3 | ||||
| -rw-r--r-- | app/views/index/reader.phtml | 3 |
27 files changed, 0 insertions, 33 deletions
diff --git a/app/i18n/cz/index.php b/app/i18n/cz/index.php index 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.php index 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.php index 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', // TODO diff --git a/app/i18n/en-us/index.php b/app/i18n/en-us/index.php index 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', // IGNORE diff --git a/app/i18n/en/index.php b/app/i18n/en/index.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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', // TODO diff --git a/app/i18n/it/index.php b/app/i18n/it/index.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.php index 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.phtml index 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.phtml index 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.phtml index 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; ?> |
