Bug 52196 - Web Inspector: Some Localized Strings are Outdated
Summary: Web Inspector: Some Localized Strings are Outdated
Status: RESOLVED DUPLICATE of bug 52295
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 22:25 PST by Joseph Pecoraro
Modified: 2011-01-12 09:02 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2011-01-10 22:25:51 PST
No-one reviewed this and I had some spare time. I did a quick check to verify that
the strings listed in localizedStrings.js are still valid. Here is what I found:

No longer seem to be used:

    "%s (%s transferred)"
    "Enable resource tracking"
    "Enabling resource tracking will reload the page and make page loading slower."
    "Resource tracking disabled. Click to enable."
    "Resource tracking enabled. Click to disable."
    "You need to enable resource tracking to use this panel."
    "GRAPHS"
    "Prototype"
    "RESOURCES"
    "Recording…"
    "Sort by Duration"
    "Sort by End Time"
    "Sort by Latency"
    "Sort by Response Time"
    "Sort by Size"
    "Sort by Start Time"
    "Sort by Transfer Size"
    "Stop on Attributes Modifications"
    "Stop on Node Removal"
    "Stop on Subtree Modifications"
    "Any Request"
    "Set XHR Breakpoint"
    "Timing."

Might be used? Its a key in WebInspector.Resource.Type

    "Media"

Used, but is different in Source Code:

    "Assertion failed: "

It seems unnecessarily difficult to keep localizedStrings.js up to date with the code.
Hopefully we can come up with a solution for improving this file's maintance, other
than relying on programmers / reviewers catching a slip (failing to delete, or add)
a string at review time.
Comment 1 Joseph Pecoraro 2011-01-12 09:02:23 PST

*** This bug has been marked as a duplicate of bug 52295 ***