mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 10:54:50 +08:00
Merge pull request #2724 from cpradio/key-binding-reply-new-topic
UX: Add keyboard binding for reply as new topic
This commit is contained in:
@ -22,7 +22,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
|||||||
'e': 'editPost',
|
'e': 'editPost',
|
||||||
'l': 'toggleLike',
|
'l': 'toggleLike',
|
||||||
'r': 'replyToPost',
|
'r': 'replyToPost',
|
||||||
'!': 'showFlags'
|
'!': 'showFlags',
|
||||||
|
't': 'replyAsNewTopic'
|
||||||
},
|
},
|
||||||
|
|
||||||
CLICK_BINDINGS: {
|
CLICK_BINDINGS: {
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
<li>{{{i18n keyboard_shortcuts_help.actions.star}}}</li>
|
<li>{{{i18n keyboard_shortcuts_help.actions.star}}}</li>
|
||||||
<li>{{{i18n keyboard_shortcuts_help.actions.share_topic}}}</li>
|
<li>{{{i18n keyboard_shortcuts_help.actions.share_topic}}}</li>
|
||||||
<li>{{{i18n keyboard_shortcuts_help.actions.share_post}}}</li>
|
<li>{{{i18n keyboard_shortcuts_help.actions.share_post}}}</li>
|
||||||
|
<li>{{{i18n keyboard_shortcuts_help.actions.reply_as_new_topic}}}</li>
|
||||||
<li>{{{i18n keyboard_shortcuts_help.actions.reply_topic}}}</li>
|
<li>{{{i18n keyboard_shortcuts_help.actions.reply_topic}}}</li>
|
||||||
<li>{{{i18n keyboard_shortcuts_help.actions.reply_post}}}</li>
|
<li>{{{i18n keyboard_shortcuts_help.actions.reply_post}}}</li>
|
||||||
<li>{{{i18n keyboard_shortcuts_help.actions.quote_post}}}</li>
|
<li>{{{i18n keyboard_shortcuts_help.actions.quote_post}}}</li>
|
||||||
|
@ -2066,6 +2066,7 @@ en:
|
|||||||
star: '<b>f</b> Star topic'
|
star: '<b>f</b> Star topic'
|
||||||
share_topic: '<b>shift s</b> Share topic'
|
share_topic: '<b>shift s</b> Share topic'
|
||||||
share_post: '<b>s</b> Share post'
|
share_post: '<b>s</b> Share post'
|
||||||
|
reply_as_new_topic: '<b>t</b> Reply as new topic'
|
||||||
reply_topic: '<b>shift r</b> Reply to topic'
|
reply_topic: '<b>shift r</b> Reply to topic'
|
||||||
reply_post: '<b>r</b> Reply to post'
|
reply_post: '<b>r</b> Reply to post'
|
||||||
quote_post: '<b>q</b> Quote post'
|
quote_post: '<b>q</b> Quote post'
|
||||||
|
Reference in New Issue
Block a user