Bug 1779055 - Change private browsing new tab title to "New Private Tab". r=timhuang

Differential Revision: https://phabricator.services.mozilla.com/D151534
This commit is contained in:
Paul Zuehlcke 2022-07-14 18:45:43 +00:00
parent 69e8a22280
commit 0a07b885b5
3 changed files with 4 additions and 4 deletions

View File

@ -1000,7 +1000,7 @@
// Normal tab title is used also in the permanent private browsing mode.
return PrivateBrowsingUtils.isWindowPrivate(window) &&
!Services.prefs.getBoolPref("browser.privatebrowsing.autostart")
? "tabs.emptyPrivateTabTitle"
? "tabs.emptyPrivateTabTitle2"
: "tabs.emptyTabTitle";
}

View File

@ -72,8 +72,8 @@ function test() {
is(
privateWin.gBrowser.tabs[0].label,
"Private Browsing",
"New tabs in the private browsing windows should have 'Private Browsing' as the title."
"New Private Tab",
"New tabs in the private browsing windows should have 'New Private Tab' as the title."
);
privateWin.close();

View File

@ -3,7 +3,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
tabs.emptyTabTitle=New Tab
tabs.emptyPrivateTabTitle=Private Browsing
tabs.emptyPrivateTabTitle2=New Private Tab
tabs.closeTab=Close Tab
tabs.close=Close