Title: [262956] trunk/Source/WebInspectorUI
Revision
262956
Author
drou...@apple.com
Date
2020-06-12 10:29:30 -0700 (Fri, 12 Jun 2020)

Log Message

Web Inspector: modify initial content localized string for Inspector Bootstrap Script
https://bugs.webkit.org/show_bug.cgi?id=213134

Reviewed by Timothy Hatcher.

* UserInterface/Controllers/NetworkManager.js:
(WI.NetworkManager.prototype.async createBootstrapScript):

* Localizations/en.lproj/localizedStrings.js:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (262955 => 262956)


--- trunk/Source/WebInspectorUI/ChangeLog	2020-06-12 16:30:17 UTC (rev 262955)
+++ trunk/Source/WebInspectorUI/ChangeLog	2020-06-12 17:29:30 UTC (rev 262956)
@@ -1,3 +1,15 @@
+2020-06-12  Devin Rousso  <drou...@apple.com>
+
+        Web Inspector: modify initial content localized string for Inspector Bootstrap Script
+        https://bugs.webkit.org/show_bug.cgi?id=213134
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Controllers/NetworkManager.js:
+        (WI.NetworkManager.prototype.async createBootstrapScript):
+
+        * Localizations/en.lproj/localizedStrings.js:
+
 2020-06-10  Devin Rousso  <drou...@apple.com>
 
         Web Inspector: text inputs should not spellcheck

Modified: trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (262955 => 262956)


--- trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js	2020-06-12 16:30:17 UTC (rev 262955)
+++ trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js	2020-06-12 17:29:30 UTC (rev 262956)
@@ -1479,7 +1479,7 @@
 localizedStrings["non-object %s"] = "non-object %s";
 localizedStrings["non-string %s"] = "non-string %s";
 localizedStrings["originally %s"] = "originally %s";
-localizedStrings["overriding built-in functions to log call traces or add `debugger` statements"] = "overriding built-in functions to log call traces or add `debugger` statements";
+localizedStrings["overriding built-in functions to log call traces or add %s statements"] = "overriding built-in functions to log call traces or add %s statements";
 localizedStrings["popup"] = "popup";
 localizedStrings["popup, toggle"] = "popup, toggle";
 localizedStrings["requestAnimationFrame Fired"] = "requestAnimationFrame Fired";

Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js (262955 => 262956)


--- trunk/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js	2020-06-12 16:30:17 UTC (rev 262955)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js	2020-06-12 17:29:30 UTC (rev 262956)
@@ -310,7 +310,7 @@
  * ${WI.UIString("The contents and enabled state will be preserved across Web Inspector sessions.")}
  * 
  * ${WI.UIString("Some examples of ways to use this script include (but are not limited to):")}
- *  - ${WI.UIString("overriding built-in functions to log call traces or add `debugger` statements")}
+ *  - ${WI.UIString("overriding built-in functions to log call traces or add %s statements").format(WI.unlocalizedString("`debugger`"))}
  *  - ${WI.UIString("ensuring that common debugging functions are available on every page via the Console")}
  * 
  * ${WI.UIString("More information is available at <https://webkit.org/web-inspector/inspector-bootstrap-script/>.")}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to