From 348028a29043b7d1d0f80544c44f0454b2c375c3 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 8 Nov 2023 20:23:54 +0100 Subject: New feature important feeds (#5782) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * New feature important feeds * Fix PHPStan * Initial style for important feeds + keep unread * Change UI order * Count important unread * Never mark as read important feeds during scroll * Fix i18n conf.iew.normal regression * Fix reader view * More fix reader view * Create important.svg * Fix title * Fix counter * Account for important during mark-all-as-read * Fix underline colour * 📌 * Changelog --------- Co-authored-by: math-gh <> Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com> --- app/i18n/ru/conf.php | 2 +- app/i18n/ru/index.php | 1 + app/i18n/ru/sub.php | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'app/i18n/ru') diff --git a/app/i18n/ru/conf.php b/app/i18n/ru/conf.php index a5bdf1605..dd7849f40 100644 --- a/app/i18n/ru/conf.php +++ b/app/i18n/ru/conf.php @@ -205,7 +205,7 @@ return array( 'article_open_on_website' => 'когда статья открывается на её сайте', 'article_viewed' => 'когда статья просматривается', 'keep_max_n_unread' => 'Максимальное количество непрочитанных статей', - 'scroll' => 'во время прокрутки', + 'scroll' => 'во время прокрутки (except for important feeds)', // DIRTY 'upon_gone' => 'когда это больше не в новостной ленте', 'upon_reception' => 'по получении статьи', 'when' => 'Отмечать статью прочитанной…', diff --git a/app/i18n/ru/index.php b/app/i18n/ru/index.php index 6c1d0b560..2bf6802de 100644 --- a/app/i18n/ru/index.php +++ b/app/i18n/ru/index.php @@ -45,6 +45,7 @@ return array( 'bookmark_query' => 'Сохранить текущий запрос', 'favorites' => 'Избранное (%s)', 'global_view' => 'Глобальный вид', + 'important' => 'Important feeds', // TODO 'main_stream' => 'Основной поток', 'mark_all_read' => 'Отметить всё прочитанным', 'mark_cat_read' => 'Отметить категорию прочитанной', diff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.php index 8c38b3ce1..a675583cb 100644 --- a/app/i18n/ru/sub.php +++ b/app/i18n/ru/sub.php @@ -140,8 +140,9 @@ return array( 'priority' => array( '_' => 'Видимость', 'archived' => 'Не показывать (архивировано)', + 'category' => 'Показывать в категории ленты', + 'important' => 'Show in important feeds', // TODO 'main_stream' => 'Показывать в основном потоке', - 'normal' => 'Показывать в категории ленты', ), 'proxy' => 'Указать прокси для извлечения этой ленты', 'proxy_help' => 'Выберите протокол (например, SOCKS5) и введите адрес прокси (например, 127.0.0.1:1080 or username:password@127.0.0.1:1080)', // DIRTY -- cgit v1.2.3