зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1546101 - Fixing argument paramater passed to about-telemetry-settings-explanation to fix release vs pre-release info in about:telemetry r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28730 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b3b1ca15aa
Коммит
009e2982bf
|
@ -208,10 +208,10 @@ var Settings = {
|
|||
let settingsExplanation = document.getElementById("settings-explanation");
|
||||
let extendedEnabled = Services.telemetry.canRecordExtended;
|
||||
|
||||
let datacase = extendedEnabled ? "prerelease" : "release";
|
||||
let channel = extendedEnabled ? "prerelease" : "release";
|
||||
let uploadcase = TelemetrySend.sendingEnabled() ? "enabled" : "disabled";
|
||||
|
||||
document.l10n.setAttributes(settingsExplanation, "about-telemetry-settings-explanation", {datacase, uploadcase});
|
||||
document.l10n.setAttributes(settingsExplanation, "about-telemetry-settings-explanation", {channel, uploadcase});
|
||||
|
||||
this.attachObservers();
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче