Changeset 262956 in webkit


Ignore:
Timestamp:
Jun 12, 2020, 10:29:30 AM (5 years ago)
Author:
Devin Rousso
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:
Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r262848 r262956  
     12020-06-12  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: modify initial content localized string for Inspector Bootstrap Script
     4        https://bugs.webkit.org/show_bug.cgi?id=213134
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Controllers/NetworkManager.js:
     9        (WI.NetworkManager.prototype.async createBootstrapScript):
     10
     11        * Localizations/en.lproj/localizedStrings.js:
     12
    1132020-06-10  Devin Rousso  <drousso@apple.com>
    214
  • trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js

    r262404 r262956  
    14801480localizedStrings["non-string %s"] = "non-string %s";
    14811481localizedStrings["originally %s"] = "originally %s";
    1482 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";
     1482localizedStrings["overriding built-in functions to log call traces or add %s statements"] = "overriding built-in functions to log call traces or add %s statements";
    14831483localizedStrings["popup"] = "popup";
    14841484localizedStrings["popup, toggle"] = "popup, toggle";
  • trunk/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js

    r262842 r262956  
    311311 *
    312312 * ${WI.UIString("Some examples of ways to use this script include (but are not limited to):")}
    313  *  - ${WI.UIString("overriding built-in functions to log call traces or add `debugger` statements")}
     313 *  - ${WI.UIString("overriding built-in functions to log call traces or add %s statements").format(WI.unlocalizedString("`debugger`"))}
    314314 *  - ${WI.UIString("ensuring that common debugging functions are available on every page via the Console")}
    315315 *
Note: See TracChangeset for help on using the changeset viewer.