Backed out changeset cdeb81e07974 because of a possible Mac problem

This commit is contained in:
Ehsan Akhgari 2009-01-01 22:59:29 +03:30
parent 2f97cbba17
commit dfa29760a9
2 changed files with 1 additions and 8 deletions

View File

@ -6873,13 +6873,7 @@ let gPrivateBrowsingUI = {
var brandBundle = bundleService.createBundle("chrome://branding/locale/brand.properties");
var appName = brandBundle.GetStringFromName("brandShortName");
# On Mac, no title should be displayed.
#ifdef XP_MACOSX
var dialogTitle = "";
#else
var dialogTitle = pbBundle.GetStringFromName("privateBrowsingDialogTitle");
#endif
var header = pbBundle.GetStringFromName("privateBrowsingMessageHeader");
var message = pbBundle.formatStringFromName("privateBrowsingMessage", [appName], 1);
var promptService = Cc["@mozilla.org/embedcomp/prompt-service;1"].
@ -6895,7 +6889,7 @@ let gPrivateBrowsingUI = {
var neverAskText = pbBundle.GetStringFromName("privateBrowsingNeverAsk");
var result;
var choice = promptService.confirmEx(null, dialogTitle, header + "\n\n" + message,
var choice = promptService.confirmEx(null, dialogTitle, message,
flags, button0Title, button1Title, null,
neverAskText, neverAsk);

View File

@ -169,7 +169,6 @@ safebrowsing.notAnAttackButton.accessKey=A
# LOCALIZATION NOTE (privateBrowsingYesTitle, privateBrowsingNoTitle, privateBrowsingNeverAsk):
# Access keys are specified by prefixing the desired letter with an ampersand.
privateBrowsingDialogTitle=Start Private Browsing
privateBrowsingMessageHeader=Would you like to start Private Browsing?
privateBrowsingMessage=%S will save your current tabs for when you are done with your Private Browsing session.
privateBrowsingYesTitle=&Start Private Browsing
privateBrowsingNoTitle=&Cancel