Bug 1563024 - Add a context menu item for the in-content popup to allow to perform a search in a new private window, using a private browsing mode default search engine. r=jaws,mak draft
authorMike de Boer <mdeboer@mozilla.com>
Thu, 10 Oct 2019 22:49:06 +0000
changeset 12298 918d924a2a684272dabc3077df22f708d0b8f4f0
parent 12297 9edf5df3e5fe1de40e3f80e85a74304724c735c7
child 12299 1dbc5c332e1ac0e2e18fd003768de41f88d7e1e4
push id404
push userflodolo@mozilla.com
push dateFri, 11 Oct 2019 10:08:55 +0000
reviewersjaws, mak
bugs1563024
Bug 1563024 - Add a context menu item for the in-content popup to allow to perform a search in a new private window, using a private browsing mode default search engine. r=jaws,mak Differential Revision: https://phabricator.services.mozilla.com/D48672 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 30c22dd7539efb3b5039aab5dc193a210cf32902 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e62d13f0a325d0be38225507a93babccd76c3008 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: b19ffb3ca153242cc668db6549940b421f176d4b X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: 2eed5fdce27200f4596a1ce5cf7e7eaebcab160d
browser/chrome/browser/browser.properties
--- a/browser/chrome/browser/browser.properties
+++ b/browser/chrome/browser/browser.properties
@@ -11,16 +11,24 @@ droponhomemsgMultiple=Do you want these 
 
 # context menu strings
 
 # LOCALIZATION NOTE (contextMenuSearch): %1$S is the search engine,
 # %2$S is the selection string.
 contextMenuSearch=Search %1$S for ā€œ%2$Sā€
 contextMenuSearch.accesskey=S
 
+contextMenuPrivateSearch=Search in a Private Window
+contextMenuPrivateSearch.accesskey=h
+# LOCALIZATION NOTE (contextMenuPrivateSearchOtherEngine): %S is the search
+# engine name as set for Private Browsing mode. This label is only used when
+# this engine is different from the default engine name used in normal mode.
+contextMenuPrivateSearchOtherEngine=Search with %S in a Private Window
+contextMenuPrivateSearchOtherEngine.accesskey=h
+
 # bookmark dialog strings
 
 bookmarkAllTabsDefault=[Folder Name]
 
 xpinstallPromptMessage=%S prevented this site from asking you to install software on your computer.
 # LOCALIZATION NOTE (xpinstallPromptMessage.header)
 # The string contains the hostname of the site the add-on is being installed from.
 xpinstallPromptMessage.header=Allow %S to install an add-on?