From 00d26b758264ef80281d83294730e83c17e81520 Mon Sep 17 00:00:00 2001 From: Punam Dahiya Date: Fri, 3 Dec 2021 20:30:52 +0000 Subject: [PATCH] Bug 1740377 - Update More From Mozilla section inside about:preferences to use new UI template r=preferences-reviewers,Gijs Differential Revision: https://phabricator.services.mozilla.com/D131560 --- .../preferences/content/moreFromMozilla.ftl | 7 +- .../preferences/moreFromMozilla.inc.xhtml | 63 ++++---- .../components/preferences/moreFromMozilla.js | 144 +++++++++++++++--- browser/components/preferences/preferences.js | 3 + .../tests/browser_moreFromMozilla.js | 65 ++++++++ browser/modules/BrowserUsageTelemetry.jsm | 5 +- browser/themes/shared/jar.inc.mn | 3 + .../themes/shared/preferences/img-mobile.svg | 4 + .../themes/shared/preferences/img-rally.png | Bin 0 -> 34371 bytes browser/themes/shared/preferences/img-vpn.svg | 4 + .../shared/preferences/preferences.inc.css | 66 +++++++- .../components/nimbus/FeatureManifest.yaml | 4 + 12 files changed, 311 insertions(+), 57 deletions(-) create mode 100644 browser/themes/shared/preferences/img-mobile.svg create mode 100644 browser/themes/shared/preferences/img-rally.png create mode 100644 browser/themes/shared/preferences/img-vpn.svg diff --git a/browser/components/preferences/content/moreFromMozilla.ftl b/browser/components/preferences/content/moreFromMozilla.ftl index ddd3f86094f0..70cdbbf968b1 100644 --- a/browser/components/preferences/content/moreFromMozilla.ftl +++ b/browser/components/preferences/content/moreFromMozilla.ftl @@ -14,13 +14,16 @@ category-more-from-mozilla = pane-more-from-mozilla-subtitle = Check out other Mozilla products that work to support a healthy internet. firefox-mobile-title = { -brand-product-name } Mobile -firefox-mobile-description = Get the mobile browser that puts your privacy first. +firefox-mobile-description = The mobile browser that puts your privacy first. +more-mozilla-advanced-firefox-mobile-description = From blocking trackers to putting the brakes on autoplay annoyances, Firefox mobile browsers work overtime to make sure you’re getting the good Internet. mozilla-vpn-title = { -mozilla-vpn-brand-name } mozilla-vpn-description = Discover an added layer of anonymous browsing and protection. +more-mozilla-advanced-mozilla-vpn-description = Mozilla VPN adds another layer of anonymous browsing and protection. And, unlike some other VPNs, it’s secure and doesn’t track your activity. mozilla-rally-title = { -vendor-short-name } Rally mozilla-rally-description = Put your data to work for a better Internet for everyone. +more-mozilla-advanced-mozilla-rally-description = Donate your data to research studies working to create a safer, more open Internet that helps people, not Big Tech. button-firefox-mobile = .label = Get { -brand-product-name } Mobile @@ -30,3 +33,5 @@ button-mozilla-vpn = button-mozilla-rally = .label = Join Rally + +more-mozilla-learn-more-link = Learn more diff --git a/browser/components/preferences/moreFromMozilla.inc.xhtml b/browser/components/preferences/moreFromMozilla.inc.xhtml index aaa048c7e2d3..811f7bbb591f 100644 --- a/browser/components/preferences/moreFromMozilla.inc.xhtml +++ b/browser/components/preferences/moreFromMozilla.inc.xhtml @@ -13,33 +13,40 @@ data-category="paneMoreFromMozilla"> - - - - - -