mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-11 06:26:25 -04:00
UX: Add g, t keyboard shortcut to modal window for go to top
https://meta.discourse.org/t/add-shortcut-g-t-to-go-to-top-page/19586
This commit is contained in:
parent
b8c36bd2da
commit
2ef499d021
2 changed files with 2 additions and 0 deletions
app/assets/javascripts/discourse/templates/modal
config/locales
|
@ -9,6 +9,7 @@
|
|||
<li>{{{i18n keyboard_shortcuts_help.jump_to.unread}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.jump_to.starred}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.jump_to.categories}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.jump_to.top}}}</li>
|
||||
</ul>
|
||||
<h4>{{i18n keyboard_shortcuts_help.navigation.title}}</h4>
|
||||
<ul>
|
||||
|
|
|
@ -2064,6 +2064,7 @@ en:
|
|||
unread: '<b>g</b>, <b>u</b> Unread'
|
||||
starred: '<b>g</b>, <b>f</b> Starred'
|
||||
categories: '<b>g</b>, <b>c</b> Categories'
|
||||
top: '<b>g</b>, <b>t</b> Top'
|
||||
navigation:
|
||||
title: 'Navigation'
|
||||
jump: '<b>#</b> Go to post number'
|
||||
|
|
Loading…
Add table
Reference in a new issue