Bug 1517078 - Enable browser languages section in prefs on release and beta. r=jaws, a=RyanVM
authorMark Striemer <mstriemer@mozilla.com>
Fri, 11 Jan 2019 21:55:16 +0000
changeset 509438 8acdc547561d64b77d649461909207249274961e
parent 509437 6ca5c3a1e5b4e21cc4677288354c00072156be2a
child 509439 3b22a833324cc83cb87efe78415ddd5f340037f9
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, RyanVM
bugs1517078
milestone65.0
Bug 1517078 - Enable browser languages section in prefs on release and beta. r=jaws, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D15738
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1741,21 +1741,22 @@ pref("app.normandy.run_interval_seconds"
 pref("app.normandy.shieldLearnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/shield");
 #ifdef MOZ_DATA_REPORTING
 pref("app.shield.optoutstudies.enabled", true);
 #else
 pref("app.shield.optoutstudies.enabled", false);
 #endif
 
 // Multi-lingual preferences
+#ifdef RELEASE_OR_BETA
+pref("intl.multilingual.enabled", true);
+pref("intl.multilingual.downloadEnabled", true);
+#else
 pref("intl.multilingual.enabled", false);
 // AMO only serves language packs for release and beta versions.
-#ifdef RELEASE_OR_BETA
-pref("intl.multilingual.downloadEnabled", true);
-#else
 pref("intl.multilingual.downloadEnabled", false);
 #endif
 
 // Simulate conditions that will happen when the browser
 // is running with Fission enabled. This is meant to assist
 // development and testing of Fission.
 // The current simulated conditions are:
 // - Don't propagate events from subframes to JS child actors