Changeset 214840 in webkit


Ignore:
Timestamp:
Apr 3, 2017 3:05:04 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Tooltip for close tab button should match Safari
https://bugs.webkit.org/show_bug.cgi?id=170417
<rdar://problem/31378423>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-04-03
Reviewed by Matt Baker.

  • Localizations/en.lproj/localizedStrings.js:
  • UserInterface/Views/GeneralTabBarItem.js:

(WebInspector.GeneralTabBarItem):
Updated tooltip to match Safari's most descriptive tooltip.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r214839 r214840  
     12017-04-03  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Tooltip for close tab button should match Safari
     4        https://bugs.webkit.org/show_bug.cgi?id=170417
     5        <rdar://problem/31378423>
     6
     7        Reviewed by Matt Baker.
     8
     9        * Localizations/en.lproj/localizedStrings.js:
     10        * UserInterface/Views/GeneralTabBarItem.js:
     11        (WebInspector.GeneralTabBarItem):
     12        Updated tooltip to match Safari's most descriptive tooltip.
     13
    1142017-04-03  Devin Rousso  <webkit@devinrousso.com>
    215
  • trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js

    r214719 r214840  
    168168localizedStrings["Clear when page navigates"] = "Clear when page navigates";
    169169localizedStrings["Click Listener"] = "Click Listener";
     170localizedStrings["Click to close this tab; Option-click to close all tabs except this one"] = "Click to close this tab; Option-click to close all tabs except this one";
    170171localizedStrings["Click to link property values"] = "Click to link property values";
    171172localizedStrings["Click to select a color. Shift-click to switch color formats."] = "Click to select a color. Shift-click to switch color formats.";
     
    177178localizedStrings["Close Tab"] = "Close Tab";
    178179localizedStrings["Close resource view"] = "Close resource view";
    179 localizedStrings["Close tab"] = "Close tab";
    180180localizedStrings["Closed"] = "Closed";
    181181localizedStrings["Closure Variables"] = "Closure Variables";
  • trunk/Source/WebInspectorUI/UserInterface/Views/GeneralTabBarItem.js

    r211462 r214840  
    3333        let closeButtonElement = document.createElement("div");
    3434        closeButtonElement.classList.add(WebInspector.TabBarItem.CloseButtonStyleClassName);
    35         closeButtonElement.title = WebInspector.UIString("Close tab");
     35        closeButtonElement.title = WebInspector.UIString("Click to close this tab; Option-click to close all tabs except this one");
    3636        this.element.insertBefore(closeButtonElement, this.element.firstChild);
    3737
Note: See TracChangeset for help on using the changeset viewer.