mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
FEATURE: List search menu shortcuts in instructions modal (#9273)
This commit is contained in:
parent
7d7c5641b4
commit
3ae26c6c59
@ -172,6 +172,16 @@ export default Controller.extend(ModalFunctionality, {
|
||||
keys1: [SHIFT, "a"],
|
||||
keysDelimiter: PLUS
|
||||
})
|
||||
},
|
||||
search_menu: {
|
||||
prev_next: buildShortcut("search_menu.prev_next", {
|
||||
keys1: ["↑"],
|
||||
keys2: ["↓"],
|
||||
shortcutsDelimiter: "slash"
|
||||
}),
|
||||
insert_url: buildShortcut("search_menu.insert_url", {
|
||||
keys1: ["a"]
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -78,5 +78,12 @@
|
||||
<li>{{html-safe shortcuts.actions.topic_admin_actions}}</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h4>{{i18n "keyboard_shortcuts_help.search_menu.title"}}</h4>
|
||||
<ul>
|
||||
<li>{{html-safe shortcuts.search_menu.prev_next}}</li>
|
||||
<li>{{html-safe shortcuts.search_menu.insert_url}}</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
{{/d-modal-body}}
|
||||
|
@ -3091,6 +3091,10 @@ en:
|
||||
print: "%{shortcut} Print topic"
|
||||
defer: "%{shortcut} Defer topic"
|
||||
topic_admin_actions: "%{shortcut} Open topic admin actions"
|
||||
search_menu:
|
||||
title: "Search Menu"
|
||||
prev_next: "%{shortcut} Move selection up and down"
|
||||
insert_url: "%{shortcut} Insert selection into open composer"
|
||||
|
||||
badges:
|
||||
earned_n_times:
|
||||
|
Loading…
Reference in New Issue
Block a user