Bug 851473 - Include the correct prompt string when switching from/to permanent private browsing mode in the preferences dialog; r=jdm

This commit is contained in:
Ehsan Akhgari 2013-03-15 13:34:59 -04:00
Родитель b835ef8582
Коммит 4d19498ad4
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -263,7 +263,7 @@ var gPrivacyPane = {
const Cc = Components.classes, Ci = Components.interfaces;
let brandName = document.getElementById("bundleBrand").getString("brandShortName");
let bundle = document.getElementById("bundlePreferences");
let msg = bundle.getFormattedString(pref.value ?
let msg = bundle.getFormattedString(autoStart.checked ?
"featureEnableRequiresRestart" : "featureDisableRequiresRestart",
[brandName]);
let title = bundle.getFormattedString("shouldRestartTitle", [brandName]);

Просмотреть файл

@ -266,7 +266,7 @@ var gPrivacyPane = {
const Cc = Components.classes, Ci = Components.interfaces;
let brandName = document.getElementById("bundleBrand").getString("brandShortName");
let bundle = document.getElementById("bundlePreferences");
let msg = bundle.getFormattedString(pref.value ?
let msg = bundle.getFormattedString(autoStart.checked ?
"featureEnableRequiresRestart" : "featureDisableRequiresRestart",
[brandName]);
let title = bundle.getFormattedString("shouldRestartTitle", [brandName]);