Bug 1580830 - Add a display to the private browsing page to inform of the new setting for search engines in private mode. r=mikedeboer,fluent-reviewers,flod
authorMark Banner <standard8@mozilla.com>
Thu, 10 Oct 2019 20:00:51 +0000
changeset 12293 448ad9fb837d2e4f48680ef1b9f6f70427e07aa9
parent 12292 66e26a97758e0082b74f394d4be72bc611562f44
child 12294 21a91da728f160f9fd9898ccc15cc6fb2c42e976
push id187
push userflodolo@mozilla.com
push dateFri, 11 Oct 2019 04:46:29 +0000
reviewersmikedeboer, fluent-reviewers, flod
bugs1580830
Bug 1580830 - Add a display to the private browsing page to inform of the new setting for search engines in private mode. r=mikedeboer,fluent-reviewers,flod This implements the introduction display for the new search engine preference. The decision for whether or not to display the introduction is handled in AboutPrivateBrowsingHandler.jsm, as we need to limit it to being displayed once per session. Differential Revision: https://phabricator.services.mozilla.com/D48722 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: b95dac78d333fc3f5c94f246f7145d779f66ceff 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/browser/aboutPrivateBrowsing.ftl
--- a/browser/browser/aboutPrivateBrowsing.ftl
+++ b/browser/browser/aboutPrivateBrowsing.ftl
@@ -22,8 +22,21 @@ about-private-browsing-info-cookies = co
 tracking-protection-start-tour = See how it works
 about-private-browsing-note = Private Browsing <strong>doesn’t make you anonymous</strong> on the Internet. Your employer or Internet service provider can still know what page you visit.
 about-private-browsing =
     .title = Search the Web
 about-private-browsing-not-private = You are currently not in a private window.
 content-blocking-title = Content Blocking
 content-blocking-description = Some websites use trackers that can monitor your activity across the Internet. In private windows, { -brand-short-name } Content Blocking automatically blocks many trackers that can collect information about your browsing behavior.
 about-private-browsing-info-description = { -brand-short-name } clears your search and browsing history when you quit the app or close all Private Browsing tabs and windows. While this doesn’t make you anonymous to websites or your internet service provider, it makes it easier to keep what you do online private from anyone else who uses this computer.
+
+# This string is the title for the banner for search engine selection
+# in a private window.
+# Variables:
+#   $engineName (String) - The engine name that will currently be used for the private window.
+about-private-browsing-search-banner-title = { $engineName } is your default search engine in Private Windows
+about-private-browsing-search-banner-description = {
+  PLATFORM() ->
+     [windows] To select a different search engine go to <a data-l10n-name="link-options">Options</a>
+    *[other] To select a different search engine go to <a data-l10n-name="link-options">Preferences</a>
+  }
+about-private-browsing-search-banner-close-button =
+    .aria-label = Close