From 1719baea7a6be405102c45b628395ef42e58cfbe Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Tue, 5 Mar 2024 17:26:37 +0100 Subject: [PATCH] chore(shortkey): change shortkey for marking as junk from j to shift+j It was too common for people to obliviously mark a mail as junk... --- UI/MailerUI/English.lproj/Localizable.strings | 3 --- UI/MailerUI/French.lproj/Localizable.strings | 3 --- UI/WebServerResources/js/Mailer/MailboxController.js | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/UI/MailerUI/English.lproj/Localizable.strings b/UI/MailerUI/English.lproj/Localizable.strings index 5156cbfd6..2887b0df7 100644 --- a/UI/MailerUI/English.lproj/Localizable.strings +++ b/UI/MailerUI/English.lproj/Localizable.strings @@ -485,9 +485,6 @@ /* Hotkey to write a new message */ "hotkey_compose" = "w"; -/* Hotkey to mark selected message(s) as junk */ -"hotkey_junk" = "j"; - /* Hotkey to flag a message */ "hotkey_flag" = "*"; diff --git a/UI/MailerUI/French.lproj/Localizable.strings b/UI/MailerUI/French.lproj/Localizable.strings index fe3b466eb..51ebaac98 100644 --- a/UI/MailerUI/French.lproj/Localizable.strings +++ b/UI/MailerUI/French.lproj/Localizable.strings @@ -485,9 +485,6 @@ /* Hotkey to write a new message */ "hotkey_compose" = "n"; -/* Hotkey to mark selected message(s) as junk */ -"hotkey_junk" = "i"; - /* Hotkey to flag a message */ "hotkey_flag" = "*"; diff --git a/UI/WebServerResources/js/Mailer/MailboxController.js b/UI/WebServerResources/js/Mailer/MailboxController.js index 3a65f6d2b..2da6b5bfe 100644 --- a/UI/WebServerResources/js/Mailer/MailboxController.js +++ b/UI/WebServerResources/js/Mailer/MailboxController.js @@ -80,7 +80,7 @@ } })); keys.push(sgHotkeys.createHotkey({ - key: l('hotkey_junk'), + key: l('shift+j'), description: l('Mark the selected messages as junk'), callback: vm.markOrUnMarkMessagesAsJunk }));