Bug 1564433 - Disable Language Switcher in Preferences for Developer Edition r=Callek a=RyanVM
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Tue, 09 Jul 2019 18:02:18 +0000
changeset 544473 b324a7619a485a855cd245fdb775b743b79a36ed
parent 544472 fbf6b76ff06f46dfd0adc9c98545a9682432db95
child 544474 36f8153288b2bad209b97117056090575efd38d5
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, RyanVM
bugs1564433
milestone69.0
Bug 1564433 - Disable Language Switcher in Preferences for Developer Edition r=Callek a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D37419
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1836,17 +1836,17 @@ 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
+#if defined(RELEASE_OR_BETA) && !defined(MOZ_DEV_EDITION)
 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.
 pref("intl.multilingual.downloadEnabled", false);
 #endif