hotkey: Add deprecation notice for '*' hotkey.

This commit is contained in:
Anupam Dagar
2018-06-02 13:48:15 +00:00
committed by Tim Abbott
parent 18702b0d71
commit 0e8081093b
3 changed files with 7 additions and 1 deletions

View File

@@ -128,6 +128,8 @@ exports.maybe_show_deprecation_notice = function (key) {
var message;
if (key === 'C') {
message = i18n.t('We\'ve replaced the "C" hotkey with "x" to make this common shortcut easier to trigger.');
} else if (key === '*') {
message = i18n.t('We\'ve replaced the "*" hotkey with "Ctrl + s" to make this common shortcut easier to trigger.');
} else {
blueslip.error("Unexpected deprecation notice for hotkey:", key);
return;