Title: [210594] trunk/Source/WebInspectorUI
- Revision
- 210594
- Author
- [email protected]
- Date
- 2017-01-11 12:30:48 -0800 (Wed, 11 Jan 2017)
Log Message
Web Inspector: fix UIString for Print Styles button
https://bugs.webkit.org/show_bug.cgi?id=166892
Patch by Devin Rousso <[email protected]> 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.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (210593 => 210594)
--- trunk/Source/WebInspectorUI/ChangeLog 2017-01-11 19:18:24 UTC (rev 210593)
+++ trunk/Source/WebInspectorUI/ChangeLog 2017-01-11 20:30:48 UTC (rev 210594)
@@ -1,3 +1,15 @@
+2017-01-11 Devin Rousso <[email protected]>
+
+ Web Inspector: fix UIString for Print Styles button
+ https://bugs.webkit.org/show_bug.cgi?id=166892
+
+ Reviewed by Brian Burg.
+
+ * Localizations/en.lproj/localizedStrings.js:
+ * UserInterface/Views/DOMTreeContentView.js:
+ (WebInspector.DOMTreeContentView):
+ Changed UIString to better match documentation.
+
2017-01-09 Commit Queue <[email protected]>
Unreviewed, rolling out r210260.
Modified: trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (210593 => 210594)
--- trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js 2017-01-11 19:18:24 UTC (rev 210593)
+++ trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js 2017-01-11 20:30:48 UTC (rev 210594)
@@ -255,7 +255,6 @@
localizedStrings["Disable Breakpoints"] = "Disable Breakpoints";
localizedStrings["Disable all breakpoints (%s)"] = "Disable all breakpoints (%s)";
localizedStrings["Disable paint flashing"] = "Disable paint flashing";
-localizedStrings["Disable print styles"] = "Disable print styles";
localizedStrings["Disabled"] = "Disabled";
localizedStrings["Display"] = "Display";
localizedStrings["Do not fade unexecuted code"] = "Do not fade unexecuted code";
@@ -316,7 +315,6 @@
localizedStrings["Enable all breakpoints (%s)"] = "Enable all breakpoints (%s)";
localizedStrings["Enable breakpoints."] = "Enable breakpoints.";
localizedStrings["Enable paint flashing"] = "Enable paint flashing";
-localizedStrings["Enable print styles"] = "Enable print styles";
localizedStrings["Encoded"] = "Encoded";
localizedStrings["Encoding"] = "Encoding";
localizedStrings["Enter Class Name"] = "Enter Class Name";
@@ -369,6 +367,7 @@
localizedStrings["Focused"] = "Focused";
localizedStrings["Font"] = "Font";
localizedStrings["Fonts"] = "Fonts";
+localizedStrings["Force Print Media Styles"] = "Force Print Media Styles";
localizedStrings["Forced Layout"] = "Forced Layout";
localizedStrings["Forced Pseudo-Classes"] = "Forced Pseudo-Classes";
localizedStrings["Format: HSL"] = "Format: HSL";
@@ -812,6 +811,7 @@
localizedStrings["Unique"] = "Unique";
localizedStrings["Unknown node"] = "Unknown node";
localizedStrings["Untitled"] = "Untitled";
+localizedStrings["Use Default Media Styles"] = "Use Default Media Styles";
localizedStrings["User Agent"] = "User Agent";
localizedStrings["User Agent Stylesheet"] = "User Agent Stylesheet";
localizedStrings["User Stylesheet"] = "User Stylesheet";
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js (210593 => 210594)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js 2017-01-11 19:18:24 UTC (rev 210593)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js 2017-01-11 20:30:48 UTC (rev 210594)
@@ -47,7 +47,7 @@
this._showShadowDOMSettingChanged();
WebInspector.showPrintStylesSetting.addEventListener(WebInspector.Setting.Event.Changed, this._showPrintStylesSettingChanged, this);
- this._showPrintStylesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("print-styles", WebInspector.UIString("Enable print styles"), WebInspector.UIString("Disable print styles"), "Images/Printer.svg", 16, 16);
+ this._showPrintStylesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("print-styles", WebInspector.UIString("Force Print Media Styles"), WebInspector.UIString("Use Default Media Styles"), "Images/Printer.svg", 16, 16);
this._showPrintStylesButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrintStylesSetting, this);
this._showPrintStylesSettingChanged();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes