1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 04:25:57 +00:00

- update descriptions of changed hotkeys

- bind noscroll variants of move article hotkeys to n/p by default
- update N/P (i.e. scroll article content) hotkeys to scroll by fraction of viewport height instead of hardcoded pixel distance
- minor fixes w/ checking for undefined
This commit is contained in:
Andrew Dolgov
2019-12-11 06:53:32 +03:00
parent 985e11b754
commit 0a10832491
3 changed files with 24 additions and 30 deletions

View File

@@ -1041,10 +1041,10 @@
__("Navigation") => array(
"next_feed" => __("Open next feed"),
"prev_feed" => __("Open previous feed"),
"next_article" => __("Open next article (scroll long articles)"),
"prev_article" => __("Open previous article (scroll long articles)"),
"next_article_page" => __("Open next article (scroll down page)"),
"prev_article_page" => __("Open previous article (scroll up page)"),
"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_article_noscroll" => __("Open next article"),
"prev_article_noscroll" => __("Open previous article"),
"next_article_noexpand" => __("Move to next article (don't expand or mark read)"),
@@ -1116,14 +1116,14 @@
$hotkeys = array(
"k" => "next_feed",
"j" => "prev_feed",
"n" => "next_article",
"p" => "prev_article",
"n" => "next_article_noscroll",
"p" => "prev_article_noscroll",
//"(33)|PageUp" => "prev_article_page",
//"(34)|PageDown" => "next_article_page",
"*(33)|Shift+PageUp" => "article_page_up",
"*(34)|Shift+PageDown" => "article_page_down",
"(38)|Up" => "prev_article",
"(40)|Down" => "next_article",
"*(33)|Shift+PgUp" => "article_page_up",
"*(34)|Shift+PgDn" => "article_page_down",
"(38)|Up" => "prev_article_or_scroll",
"(40)|Down" => "next_article_or_scroll",
"*(38)|Shift+Up" => "article_scroll_up",
"*(40)|Shift+Down" => "article_scroll_down",
"^(38)|Ctrl+Up" => "prev_article_noscroll",