Commit 0d647206 authored by Meg Viar's avatar Meg Viar
Browse files

Bug 1744466 - Make "More from Mozilla" strings localizable...

Bug 1744466 - Make "More from Mozilla" strings localizable r=preferences-reviewers,fluent-reviewers,flod,Gijs

Differential Revision: https://phabricator.services.mozilla.com/D134069
parent 25d26b0a
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

### These strings are related to moreFromMozilla section added
### in about:preferences for en-US only Fx95 experiment

## These strings are used in the about:preferences moreFromMozilla page

pane-more-from-mozilla-title = More from { -vendor-short-name }
category-more-from-mozilla =
  .tooltiptext =  More from { -vendor-short-name }

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 = 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.

qr-code-box-firefox-mobile-title = Download using your mobile device. Point your camera at the QR code. When a link appears, tap it.
qr-code-box-firefox-mobile-button = Send an email to your phone instead

button-firefox-mobile =
  .label = Get { -brand-product-name } Mobile

button-mozilla-vpn =
  .label = Get VPN

button-mozilla-rally =
  .label = Join Rally

more-mozilla-learn-more-link = Learn more
+2 −2
Original line number Diff line number Diff line
@@ -11,8 +11,8 @@
    data-hidden-from-search="true"
    hidden="true"
    data-category="paneMoreFromMozilla">
    <html:h1 class="title" data-l10n-id="pane-more-from-mozilla-title" />
    <html:p class="subtitle" data-l10n-id="pane-more-from-mozilla-subtitle" />
    <html:h1 class="title" data-l10n-id="more-from-moz-title" />
    <html:p class="subtitle" data-l10n-id="more-from-moz-subtitle" />
  </vbox>
  <groupbox id="moreFromMozillaCategory"
    data-category="paneMoreFromMozilla"
+12 −12
Original line number Diff line number Diff line
@@ -70,24 +70,24 @@ var gMoreFromMozillaPane = {
    let products = [
      {
        id: "firefox-mobile",
        title_string_id: "firefox-mobile-title",
        description_string_id: "firefox-mobile-description",
        title_string_id: "more-from-moz-firefox-mobile-title",
        description_string_id: "more-from-moz-firefox-mobile-description",
        button: {
          id: "fxMobile",
          type: "link",
          label_string_id: "more-mozilla-learn-more-link",
          label_string_id: "more-from-moz-learn-more-link",
          actionURL: "https://www.mozilla.org/firefox/browsers/mobile/",
        },
        qrcode: {
          title: {
            string_id: "qr-code-box-firefox-mobile-title",
            string_id: "more-from-moz-qr-code-box-firefox-mobile-title",
          },
          image_src_prefix:
            "chrome://browser/content/preferences/more-from-mozilla-qr-code",
          button: {
            id: "qr-code-send-email",
            label: {
              string_id: "qr-code-box-firefox-mobile-button",
              string_id: "more-from-moz-qr-code-box-firefox-mobile-button",
            },
            actionURL: "https://www.mozilla.org/en-US/firefox/mobile/get-app",
          },
@@ -98,11 +98,11 @@ var gMoreFromMozillaPane = {
    if (BrowserUtils.shouldShowVPNPromo()) {
      const vpn = {
        id: "mozilla-vpn",
        title_string_id: "mozilla-vpn-title",
        description_string_id: "mozilla-vpn-description",
        title_string_id: "more-from-moz-mozilla-vpn-title",
        description_string_id: "more-from-moz-mozilla-vpn-description",
        button: {
          id: "mozillaVPN",
          label_string_id: "button-mozilla-vpn",
          label_string_id: "more-from-moz-button-mozilla-vpn",
          actionURL: "https://www.mozilla.org/products/vpn/",
        },
      };
@@ -111,11 +111,11 @@ var gMoreFromMozillaPane = {

    const rally = {
      id: "mozilla-rally",
      title_string_id: "mozilla-rally-title",
      description_string_id: "mozilla-rally-description",
      title_string_id: "more-from-moz-mozilla-rally-title",
      description_string_id: "more-from-moz-mozilla-rally-description",
      button: {
        id: "mozillaRally",
        label_string_id: "button-mozilla-rally",
        label_string_id: "more-from-moz-button-mozilla-rally",
        actionURL: "https://rally.mozilla.org/",
      },
    };
@@ -149,7 +149,7 @@ var gMoreFromMozillaPane = {
        template.querySelector(".product-img").id = `${product.id}-image`;
        desc.setAttribute(
          "data-l10n-id",
          `more-mozilla-advanced-${product.description_string_id}`
          `${product.description_string_id}-advanced`
        );
      } else {
        desc.setAttribute("data-l10n-id", product.description_string_id);
+3 −3
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
  <link rel="localization" href="browser/branding/sync-brand.ftl"/>
  <link rel="localization" href="browser/browser.ftl"/>
  <link rel="localization" href="browser/preferences/preferences.ftl"/>
  <link rel="localization" href="preview/moreFromMozilla.ftl"/>
  <link rel="localization" href="browser/preferences/moreFromMozilla.ftl"/>
  <!-- Used by fontbuilder.js -->
  <link rel="localization" href="browser/preferences/fonts.ftl"/>
  <link rel="localization" href="toolkit/featuregates/features.ftl"/>
@@ -158,12 +158,12 @@
        <richlistitem id="category-more-from-mozilla"
                      class="category"
                      hidden="true"
                      data-l10n-id="category-more-from-mozilla"
                      data-l10n-id="more-from-moz-category"
                      data-l10n-attrs="tooltiptext"
                      value="paneMoreFromMozilla"
                      align="center">
          <image class="category-icon"/>
          <label class="category-name" flex="1" data-l10n-id="pane-more-from-mozilla-title"></label>
          <label class="category-name" flex="1" data-l10n-id="more-from-moz-title"></label>
        </richlistitem>
      </richlistbox>

+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@
-mozilla-vpn-brand-name = Mozilla VPN
-profiler-brand-name = Firefox Profiler
-translations-brand-name = Firefox Translations
-rally-brand-name = Mozilla Rally
-rally-short-name = Rally

# “Suggest” can be localized, “Firefox” must be treated as a brand
# and kept in English.
Loading