From 9ae9302b6b3526b15652715f9741dad8c51f9fee Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 17 May 2020 08:25:51 +0300 Subject: implement keyboard-related changes discussed in https://community.tt-rss.org/t/changing-the-amount-of-scroll-by-arrow-key/3452/7 --- include/functions.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 57acb7a24..8739af052 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1029,8 +1029,8 @@ "prev_feed" => __("Open previous feed"), "next_article_or_scroll" => __("Open next article (in combined mode, scroll down)"), "prev_article_or_scroll" => __("Open previous article (in combined mode, scroll up)"), - "next_article_page" => __("Scroll article by one page down"), - "prev_article_page" => __("Scroll article by one page up"), + "next_headlines_page" => __("Scroll headlines by one page down"), + "prev_headlines_page" => __("Scroll headlines by one page up"), "next_article_noscroll" => __("Open next article"), "prev_article_noscroll" => __("Open previous article"), "next_article_noexpand" => __("Move to next article (don't expand)"), @@ -1104,8 +1104,8 @@ "j" => "prev_feed", "n" => "next_article_noscroll", "p" => "prev_article_noscroll", - //"(33)|PageUp" => "prev_article_page", - //"(34)|PageDown" => "next_article_page", + "N" => "article_page_down", + "P" => "article_page_up", "*(33)|Shift+PgUp" => "article_page_up", "*(34)|Shift+PgDn" => "article_page_down", "(38)|Up" => "prev_article_or_scroll", @@ -1123,8 +1123,6 @@ "o" => "open_in_new_window", "c p" => "catchup_below", "c n" => "catchup_above", - "N" => "article_scroll_down", - "P" => "article_scroll_up", "a W" => "toggle_widescreen", "a e" => "toggle_full_text", "e" => "email_article", -- cgit v1.2.3