FIX: Changed Dismiss New and Dismiss Posts to use d + r because p is reserved for the profile menu and n is reserved for the notifications menu

This commit is contained in:
cpradio 2014-08-29 08:11:23 -04:00
parent ed8d828ff1
commit e4ce995369
3 changed files with 3 additions and 6 deletions

View File

@ -35,9 +35,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
'm r': 'div.notification-options li[data-id="1"] a', // mark topic as regular
'm t': 'div.notification-options li[data-id="2"] a', // mark topic as tracking
'm w': 'div.notification-options li[data-id="3"] a', // mark topic as watching
'd n': '#dismiss-new', // dismiss new
'd r': '#dismiss-new, #dismiss-posts', // dismiss new/posts
'd t': '#dismiss-topics', // dismiss topics
'd p': '#dismiss-posts', // dismiss posts
'n': '#user-notifications', // open notifications menu
'o,enter': '.topic-list tr.selected a.title', // open selected topic
'shift+r': '#topic-footer-buttons button.create', // reply to topic

View File

@ -28,9 +28,8 @@
<li>{{{i18n keyboard_shortcuts_help.application.user_profile_menu}}}</li>
<li>{{{i18n keyboard_shortcuts_help.application.search}}}</li>
<li>{{{i18n keyboard_shortcuts_help.application.help}}}</li>
<li>{{{i18n keyboard_shortcuts_help.application.dismiss_new}}}</li>
<li>{{{i18n keyboard_shortcuts_help.application.dismiss_new_posts}}}</li>
<li>{{{i18n keyboard_shortcuts_help.application.dismiss_topics}}}</li>
<li>{{{i18n keyboard_shortcuts_help.application.dismiss_posts}}}</li>
</ul>
</div>
<div class="span6">

View File

@ -2058,9 +2058,8 @@ en:
user_profile_menu: '<b>p</b> Open user profile menu'
search: '<b>/</b> Search'
help: '<b>?</b> Open keyboard shortcuts help'
dismiss_new: '<b>d</b>, <b>n</b> Dismiss New'
dismiss_new_posts: '<b>d</b>, <b>r</b> Dismiss New/Posts'
dismiss_topics: '<b>d</b>, <b>t</b> Dismiss Topics'
dismiss_posts: '<b>d</b>, <b>p</b> Dismiss Posts'
actions:
title: 'Actions'
star: '<b>f</b> Star topic'