Bug 1520123: Notify users when there is a duplicate shortcut r=mstriemer,fluent-reviewers,flod,Gijs draft
authorTrishul <trishul.goel@gmail.com>
Wed, 14 Aug 2019 22:33:06 +0000
changeset 11933 b63deb7a04a9d20b7bed89257fe0545dc7a8bd28
parent 11932 b8124565f7964c4ecac80bc9e9dbd5de71fdcd80
child 11934 652388143347ef9ce29190c375e0bad89c207131
push id317
push userflodolo@mozilla.com
push dateFri, 16 Aug 2019 05:11:19 +0000
reviewersmstriemer, fluent-reviewers, flod, Gijs
bugs1520123
Bug 1520123: Notify users when there is a duplicate shortcut r=mstriemer,fluent-reviewers,flod,Gijs Notify users when there is a duplicate shortcut Differential Revision: https://phabricator.services.mozilla.com/D29125 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 5974ae0842115acc3819232a089825997da3c53f X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: faf1d9e6579b5b230c062961eb5319d014396a25 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: 6da286bb33b5cee90f383d21b5835e81a4709388
toolkit/toolkit/about/aboutAddons.ftl
--- a/toolkit/toolkit/about/aboutAddons.ftl
+++ b/toolkit/toolkit/about/aboutAddons.ftl
@@ -323,16 +323,25 @@ shortcuts-browserAction = Activate exten
 shortcuts-pageAction = Activate page action
 shortcuts-sidebarAction = Toggle the sidebar
 
 shortcuts-modifier-mac = Include Ctrl, Alt, or ⌘
 shortcuts-modifier-other = Include Ctrl or Alt
 shortcuts-invalid = Invalid combination
 shortcuts-letter = Type a letter
 shortcuts-system = Can’t override a { -brand-short-name } shortcut
+
+# String displayed in warning label when there is a duplicate shortcut
+shortcuts-duplicate = Duplicate shortcut
+
+# String displayed when a keyboard shortcut is already assigned to more than one add-on
+# Variables:
+#   $shortcut (string) - Shortcut string for the add-on
+shortcuts-duplicate-warning-message = { $shortcut } is being used as a shortcut in more than one case. Duplicate shortcuts may cause unexpected behavior.
+
 # String displayed when a keyboard shortcut is already used by another add-on
 # Variables:
 #   $addon (string) - Name of the add-on
 shortcuts-exists = Already in use by { $addon }
 
 shortcuts-card-expand-button =
     { $numberToShow ->
         *[other] Show { $numberToShow } More