Changeset 210594 in webkit


Ignore:
Timestamp:
Jan 11, 2017 12:30:48 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: fix UIString for Print Styles button
https://bugs.webkit.org/show_bug.cgi?id=166892

Patch by Devin Rousso <Devin Rousso> on 2017-01-11
Reviewed by Brian Burg.

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

(WebInspector.DOMTreeContentView):
Changed UIString to better match documentation.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r210520 r210594  
     12017-01-11  Devin Rousso  <dcrousso+webkit@gmail.com>
     2
     3        Web Inspector: fix UIString for Print Styles button
     4        https://bugs.webkit.org/show_bug.cgi?id=166892
     5
     6        Reviewed by Brian Burg.
     7
     8        * Localizations/en.lproj/localizedStrings.js:
     9        * UserInterface/Views/DOMTreeContentView.js:
     10        (WebInspector.DOMTreeContentView):
     11        Changed UIString to better match documentation.
     12
    1132017-01-09  Commit Queue  <commit-queue@webkit.org>
    214
  • trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js

    r209706 r210594  
    256256localizedStrings["Disable all breakpoints (%s)"] = "Disable all breakpoints (%s)";
    257257localizedStrings["Disable paint flashing"] = "Disable paint flashing";
    258 localizedStrings["Disable print styles"] = "Disable print styles";
    259258localizedStrings["Disabled"] = "Disabled";
    260259localizedStrings["Display"] = "Display";
     
    317316localizedStrings["Enable breakpoints."] = "Enable breakpoints.";
    318317localizedStrings["Enable paint flashing"] = "Enable paint flashing";
    319 localizedStrings["Enable print styles"] = "Enable print styles";
    320318localizedStrings["Encoded"] = "Encoded";
    321319localizedStrings["Encoding"] = "Encoding";
     
    370368localizedStrings["Font"] = "Font";
    371369localizedStrings["Fonts"] = "Fonts";
     370localizedStrings["Force Print Media Styles"] = "Force Print Media Styles";
    372371localizedStrings["Forced Layout"] = "Forced Layout";
    373372localizedStrings["Forced Pseudo-Classes"] = "Forced Pseudo-Classes";
     
    813812localizedStrings["Unknown node"] = "Unknown node";
    814813localizedStrings["Untitled"] = "Untitled";
     814localizedStrings["Use Default Media Styles"] = "Use Default Media Styles";
    815815localizedStrings["User Agent"] = "User Agent";
    816816localizedStrings["User Agent Stylesheet"] = "User Agent Stylesheet";
  • trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js

    r208779 r210594  
    4848
    4949        WebInspector.showPrintStylesSetting.addEventListener(WebInspector.Setting.Event.Changed, this._showPrintStylesSettingChanged, this);
    50         this._showPrintStylesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("print-styles", WebInspector.UIString("Enable print styles"), WebInspector.UIString("Disable print styles"), "Images/Printer.svg", 16, 16);
     50        this._showPrintStylesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("print-styles", WebInspector.UIString("Force Print Media Styles"), WebInspector.UIString("Use Default Media Styles"), "Images/Printer.svg", 16, 16);
    5151        this._showPrintStylesButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrintStylesSetting, this);
    5252        this._showPrintStylesSettingChanged();
Note: See TracChangeset for help on using the changeset viewer.