Merge pull request #847 from sometoby/missing-shortcut-help

Add missing shortcut help for 'r'
This commit is contained in:
Jérémie Panzer
2017-08-18 14:27:13 +02:00
committed by GitHub
4 changed files with 11 additions and 5 deletions

View File

@@ -175,7 +175,8 @@
"font_size" : "increase/decrease font size of the current entry ", "font_size" : "increase/decrease font size of the current entry ",
"go_to_all" : "go to the All view ", "go_to_all" : "go to the All view ",
"go_to_starred" : "go to the Starred view ", "go_to_starred" : "go to the Starred view ",
"feed_search" : "navigate to a subscription by entering the subscription name" "feed_search" : "navigate to a subscription by entering the subscription name",
"refresh": "refresh"
} }
} }
} }

View File

@@ -177,7 +177,8 @@
"font_size" : "increase/decrease font size of the current entry", "font_size" : "increase/decrease font size of the current entry",
"go_to_all" : "go to the All view", "go_to_all" : "go to the All view",
"go_to_starred" : "go to the Starred view", "go_to_starred" : "go to the Starred view",
"feed_search" : "navigate to a subscription by entering the subscription name" "feed_search" : "navigate to a subscription by entering the subscription name",
"refresh": "refresh"
} }
} }
} }

View File

@@ -1057,6 +1057,7 @@ module.controller('FeedListCtrl', [
} }
}; };
// keyboard shortcuts
Mousetrap.bind('j', function(e) { Mousetrap.bind('j', function(e) {
$scope.$apply(function() { $scope.$apply(function() {
$scope.navigationMode = 'keyboard'; $scope.navigationMode = 'keyboard';

View File

@@ -1,4 +1,7 @@
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>r</dt>
<dd>{{ 'about.shortcuts.refresh' | translate }}</dd>
<dt>j</dt> <dt>j</dt>
<dd>{{ 'about.shortcuts.open_next_entry' | translate }}</dd> <dd>{{ 'about.shortcuts.open_next_entry' | translate }}</dd>