Bug 1437887 - Rename the title strings of the 3 pane inspector button. r=pbro draft
authorGabriel Luong <gabriel.luong@gmail.com>
Thu, 05 Apr 2018 16:20:48 -0400
changeset 778097 556d64b3977e941d32dd801e503c118d0e1a618e
parent 778096 1ce779d6d8800666c086e7880f54b4158b7c727b
push id105383
push userbmo:gl@mozilla.com
push dateThu, 05 Apr 2018 20:22:58 +0000
reviewerspbro
bugs1437887
milestone61.0a1
Bug 1437887 - Rename the title strings of the 3 pane inspector button. r=pbro MozReview-Commit-ID: JQs7VKKqrie
devtools/client/inspector/inspector.js
devtools/client/locales/en-US/inspector.properties
--- a/devtools/client/inspector/inspector.js
+++ b/devtools/client/inspector/inspector.js
@@ -741,18 +741,18 @@ Inspector.prototype = {
    */
   async setupSidebar() {
     let sidebar = this.panelDoc.getElementById("inspector-sidebar");
     let options = { showAllTabsMenu: true };
 
     if (this.show3PaneToggle) {
       options.sidebarToggleButton = {
         collapsed: !this.is3PaneModeEnabled,
-        collapsePaneTitle: INSPECTOR_L10N.getStr("inspector.hideSplitRulesView"),
-        expandPaneTitle: INSPECTOR_L10N.getStr("inspector.showSplitRulesView"),
+        collapsePaneTitle: INSPECTOR_L10N.getStr("inspector.hideThreePaneMode"),
+        expandPaneTitle: INSPECTOR_L10N.getStr("inspector.showThreePaneMode"),
         onClick: this.onSidebarToggle,
       };
     }
 
     this.sidebar = new ToolSidebar(sidebar, this, "inspector", options);
 
     let ruleSideBar = this.panelDoc.getElementById("inspector-rules-sidebar");
     this.ruleViewSideBar = new ToolSidebar(ruleSideBar, this, "inspector", {
--- a/devtools/client/locales/en-US/inspector.properties
+++ b/devtools/client/locales/en-US/inspector.properties
@@ -101,23 +101,23 @@ eventsTooltip.unknownLocation=Unknown lo
 eventsTooltip.unknownLocationExplanation=The original location of this listener cannot be detected. Maybe the code is transpiled by a utility such as Babel.
 
 #LOCALIZATION NOTE: Used in the tooltip for Bubbling
 eventsTooltip.Bubbling=Bubbling
 
 #LOCALIZATION NOTE: Used in the tooltip for Capturing
 eventsTooltip.Capturing=Capturing
 
-# LOCALIZATION NOTE (inspector.showSplitRulesView): This is the tooltip for the button
-# that toggles on the display of a split rule view sidebar in the inspector.
-inspector.showSplitRulesView=Show the split Rules panel
+# LOCALIZATION NOTE (inspector.showThreePaneMode): This is the tooltip for the button
+# that toggles on the 3 pane inspector mode.
+inspector.showThreePaneMode=Toggle on the 3-pane inspector
 
-# LOCALIZATION NOTE (inspector.hideSplitRulesView): This is the tooltip for the button
-# that toggles off the display of a split rule view sidebar in the inspector.
-inspector.hideSplitRulesView=Hide the split Rules panel
+# LOCALIZATION NOTE (inspector.hideThreePaneMode): This is the tooltip for the button
+# that toggles off the 3 pane inspector mode.
+inspector.hideThreePaneMode=Toggle off the 3-pane inspector
 
 # LOCALIZATION NOTE (inspector.searchResultsCount2): This is the label that
 # will show up next to the inspector search box. %1$S is the current result
 # index and %2$S is the total number of search results. For example: "3 of 9".
 # This won't be visible until the search box is updated in Bug 835896.
 inspector.searchResultsCount2=%1$S of %2$S
 
 # LOCALIZATION NOTE (inspector.searchResultsNone): This is the label that