mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 19:25:44 +08:00
Support jumping to messages
This commit is contained in:
parent
1fbc142b0c
commit
a76d1079b2
@ -8,7 +8,8 @@ const PATH_BINDINGS = {
|
|||||||
'g c': '/categories',
|
'g c': '/categories',
|
||||||
'g t': '/top',
|
'g t': '/top',
|
||||||
'g b': '/bookmarks',
|
'g b': '/bookmarks',
|
||||||
'g p': '/my/activity'
|
'g p': '/my/activity',
|
||||||
|
'g m': '/my/messages'
|
||||||
},
|
},
|
||||||
|
|
||||||
SELECTED_POST_BINDINGS = {
|
SELECTED_POST_BINDINGS = {
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.top'}}}</li>
|
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.top'}}}</li>
|
||||||
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.bookmarks'}}}</li>
|
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.bookmarks'}}}</li>
|
||||||
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.profile'}}}</li>
|
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.profile'}}}</li>
|
||||||
|
<li>{{{i18n 'keyboard_shortcuts_help.jump_to.messages'}}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4>{{i18n 'keyboard_shortcuts_help.navigation.title'}}</h4>
|
<h4>{{i18n 'keyboard_shortcuts_help.navigation.title'}}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -2582,6 +2582,7 @@ en:
|
|||||||
top: '<b>g</b>, <b>t</b> Top'
|
top: '<b>g</b>, <b>t</b> Top'
|
||||||
bookmarks: '<b>g</b>, <b>b</b> Bookmarks'
|
bookmarks: '<b>g</b>, <b>b</b> Bookmarks'
|
||||||
profile: '<b>g</b>, <b>p</b> Profile'
|
profile: '<b>g</b>, <b>p</b> Profile'
|
||||||
|
messages: '<b>g</b>, <b>m</b> Messages'
|
||||||
navigation:
|
navigation:
|
||||||
title: 'Navigation'
|
title: 'Navigation'
|
||||||
jump: '<b>#</b> Go to post #'
|
jump: '<b>#</b> Go to post #'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user