Bug 1836503 - Fix the translations pref declaration to be Firefox Desktop only; r=nordzilla

Differential Revision: https://phabricator.services.mozilla.com/D179829
This commit is contained in:
Greg Tatum 2023-06-02 15:43:07 +00:00
parent f7d6eb2edb
commit 4ada37bfe8
2 changed files with 9 additions and 9 deletions

View File

@ -1856,6 +1856,12 @@ pref("browser.translation.ui.show", false);
// Allows to define the translation engine. Google is default, Bing or Yandex are other options.
pref("browser.translation.engine", "Google");
// Enable Firefox translations powered by the Bergamot translations
// engine https://browser.mt/. See Bug 971044.
#if defined(EARLY_BETA_OR_EARLIER)
pref("browser.translations.enable", true);
#endif
// Telemetry settings.
// Determines if Telemetry pings can be archived locally.
pref("toolkit.telemetry.archive.enabled", true);

View File

@ -3771,16 +3771,10 @@ pref("browser.storageManager.pressureNotification.usageThresholdGB", 5);
pref("browser.sanitizer.loglevel", "Warn");
// Enable Firefox translations powered by the Bergamot translations engine[1].
// See Bug 971044.
//
// [1]: https://browser.mt/
// [2]: https://github.com/mozilla/firefox-translations
#ifdef EARLY_BETA_OR_EARLIER
pref("browser.translations.enable", true);
#else
// Enable Firefox translations powered by the Bergamot translations
// engine https://browser.mt/. See Bug 971044. Note that this pref can be turned
// on in different apps like Firefox Desktop, even if it's disabled by default here.
pref("browser.translations.enable", false);
#endif
// Set to "All" to see all logs, which are useful for debugging. Set to "Info" to see
// the application logic logs, and not all of the translated messages, which can be