mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Backed out changeset cdeb81e07974 because of a possible Mac problem
This commit is contained in:
parent
2f97cbba17
commit
dfa29760a9
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user