Bug 1522039 - Changed label on Touch Bar "Focus" button to "Close Window" to better reflect behaviour. r=bwinton,flod
authorHarry Twyford <harry.a.twyford@gmail.com>
Wed, 23 Jan 2019 19:49:01 +0000
changeset 515293 49392773ff2979ed56b433872e3a3e80a759be57
parent 515292 5653b13f5b382b08a020bafa8f9b32b1551579b0
child 515294 f69488e75f133fcb8162bd80cb1cce1ebbd15847
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwinton, flod
bugs1522039
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1522039 - Changed label on Touch Bar "Focus" button to "Close Window" to better reflect behaviour. r=bwinton,flod Differential Revision: https://phabricator.services.mozilla.com/D17382
browser/components/touchbar/MacTouchBar.js
browser/locales/en-US/browser/touchbar/touchbar.ftl
--- a/browser/components/touchbar/MacTouchBar.js
+++ b/browser/components/touchbar/MacTouchBar.js
@@ -115,17 +115,17 @@ const kBuiltInInputs = {
   },
   OpenLocation: {
     title: "open-location",
     image: "search.pdf",
     type: "mainButton",
     callback: () => execCommand("Browser:OpenLocation", "OpenLocation"),
   },
   Focus: {
-    title: "focus",
+    title: "close-window",
     image: "private-browsing.pdf",
     type: "mainButton",
     callback: () => execCommand("cmd_closeWindow", "Focus"),
     color: "#8000D7",
     context: () => {
       let name;
       if (PrivateBrowsingUtils.isWindowPrivate(BrowserWindowTracker.getTopWindow())) {
         name = "Focus";
--- a/browser/locales/en-US/browser/touchbar/touchbar.ftl
+++ b/browser/locales/en-US/browser/touchbar/touchbar.ftl
@@ -12,9 +12,9 @@ fullscreen = Fullscreen
 find = Find
 new-tab = New tab
 add-bookmark = Add bookmark
 open-bookmarks-sidebar = Open Bookmarks Sidebar
 reader-view = Reader View
 # Meant to match the string displayed in an empty URL bar.
 open-location = Search or enter address
 share = Share
-focus = Close
+close-window = Close Window