commit f8e38da113d46e4c75d72a91ffd7b54bb3fcca22 parent cdd7ecd0cc1e59a8bf9e88ecc771f8aecde2327d Author: mimi <nsauermann@mozilla.com> Date: Mon, 17 Nov 2025 17:20:17 +0000 Bug 1997212 - [TOS]Remove unused locales-preview/termsOfUse.ftl file r=omc-reviewers,fluent-reviewers,mviar,flod Differential Revision: https://phabricator.services.mozilla.com/D272040 Diffstat:
6 files changed, 1 insertion(+), 17 deletions(-)
diff --git a/browser/components/asrouter/modules/InfoBar.sys.mjs b/browser/components/asrouter/modules/InfoBar.sys.mjs @@ -23,7 +23,6 @@ const FTL_FILES = [ "browser/defaultBrowserNotification.ftl", "browser/profiles.ftl", "browser/termsofuse.ftl", - "preview/termsOfUse.ftl", ]; class InfoBarNotification { diff --git a/browser/components/asrouter/modules/PanelTestProvider.sys.mjs b/browser/components/asrouter/modules/PanelTestProvider.sys.mjs @@ -2617,10 +2617,7 @@ const MESSAGES = () => [ id: "UNIVERSAL_INFOBAR_WITH_EMBEDDED_LINKS", content: { text: [ - { - string_id: "existing-user-tou-update", - }, - " - Read the release notes ", + "Read the release notes ", { raw: "here", href: "https://www.mozilla.org/en-US/firefox/releases/", diff --git a/browser/components/asrouter/modules/RemoteL10n.sys.mjs b/browser/components/asrouter/modules/RemoteL10n.sys.mjs @@ -219,7 +219,6 @@ export class _RemoteL10n { "browser/profiles.ftl", "browser/termsofuse.ftl", "toolkit/branding/brandings.ftl", - "preview/termsOfUse.ftl", ], false ); diff --git a/browser/components/asrouter/tests/unit/RemoteL10n.test.js b/browser/components/asrouter/tests/unit/RemoteL10n.test.js @@ -84,7 +84,6 @@ describe("RemoteL10n", () => { "browser/profiles.ftl", "browser/termsofuse.ftl", "toolkit/branding/brandings.ftl", - "preview/termsOfUse.ftl", ]); assert.isFalse(args[1]); assert.calledOnce(l10nRegInstance.hasSource); @@ -108,7 +107,6 @@ describe("RemoteL10n", () => { "browser/profiles.ftl", "browser/termsofuse.ftl", "toolkit/branding/brandings.ftl", - "preview/termsOfUse.ftl", ]); assert.isFalse(args[1]); assert.calledOnce(l10nRegInstance.hasSource); diff --git a/browser/locales-preview/termsOfUse.ftl b/browser/locales-preview/termsOfUse.ftl @@ -1,8 +0,0 @@ -# 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/. - -## Existing User Terms of Use InfoBar - -# This text will be bolded and precedes the full infobar message. "Update" is a noun, not a verb. The infobar isn't asking users to update Firebox, but rather informing them that we have updated our terms of use. -existing-user-tou-update = <strong>Update</strong> diff --git a/browser/locales/jar.mn b/browser/locales/jar.mn @@ -17,7 +17,6 @@ preview/credentialChooser.ftl (../../toolkit/components/credentialmanagement/credentialChooser.ftl) browser (%browser/**/*.ftl) preview/smartTabGroups.ftl (../locales-preview/smartTabGroups.ftl) - preview/termsOfUse.ftl (../locales-preview/termsOfUse.ftl) preview/ipProtection.ftl (../locales-preview/ipProtection.ftl) preview/privacyPreferences.ftl (../locales-preview/privacyPreferences.ftl)