Merge pull request #2725 from cpradio/german-keyboard-support

FIX: Support J/K bindings on German Keyboards
This commit is contained in:
Sam 2014-09-02 08:02:10 +10:00
commit 202656a679
2 changed files with 3 additions and 3 deletions

View File

@ -48,11 +48,11 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
'home': 'goToFirstPost', 'home': 'goToFirstPost',
'#': 'toggleProgress', '#': 'toggleProgress',
'end': 'goToLastPost', 'end': 'goToLastPost',
'shift+j': 'nextSection',
'j': 'selectDown', 'j': 'selectDown',
'shift+k': 'prevSection',
'k': 'selectUp', 'k': 'selectUp',
'u': 'goBack', 'u': 'goBack',
'`': 'nextSection',
'~': 'prevSection',
'/': 'showSearch', '/': 'showSearch',
'=': 'showSiteMap', // open site map menu '=': 'showSiteMap', // open site map menu
'p': 'showCurrentUser', // open current user menu 'p': 'showCurrentUser', // open current user menu

View File

@ -2052,7 +2052,7 @@ en:
back: '<b>u</b> Back' back: '<b>u</b> Back'
up_down: '<b>k</b>/<b>j</b> Move selection up/down' up_down: '<b>k</b>/<b>j</b> Move selection up/down'
open: '<b>o</b> or <b>Enter</b> Open selected topic' open: '<b>o</b> or <b>Enter</b> Open selected topic'
next_prev: '<b>`</b>/<b>~</b> Next/previous section' next_prev: '<b>shift j</b>/<b>shift k</b> Next/previous section'
application: application:
title: 'Application' title: 'Application'
create: '<b>c</b> Create a new topic' create: '<b>c</b> Create a new topic'