Changeset 149468 in webkit


Ignore:
Timestamp:
May 1, 2013 5:39:14 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Fix check-inspector-strings script and fix localized strings
https://bugs.webkit.org/show_bug.cgi?id=115495

Patch by Seokju Kwon <Seokju Kwon> on 2013-05-01
Reviewed by Joseph Pecoraro.

Source/WebCore:

No new tests, because there is no change in behavior.

  • English.lproj/localizedStrings.js:

Tools:

  • Scripts/check-inspector-strings:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149466 r149468  
     12013-05-01  Seokju Kwon  <seokju.kwon@gmail.com>
     2
     3        Web Inspector: Fix check-inspector-strings script and fix localized strings
     4        https://bugs.webkit.org/show_bug.cgi?id=115495
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        No new tests, because there is no change in behavior.
     9
     10        * English.lproj/localizedStrings.js:
     11
    1122013-05-01  Tim Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebCore/English.lproj/localizedStrings.js

    r148628 r149468  
    1717localizedStrings["%.3f\u2009ms"] = "%.3f\u2009ms";
    1818localizedStrings["%d characters selected"] = "%d characters selected";
    19 localizedStrings["%d console messages are not shown."] = "%d console messages are not shown.";
    2019localizedStrings["%d cookies (%s)"] = "%d cookies (%s)";
    2120localizedStrings["%d descendant with forced state"] = "%d descendant with forced state";
     
    3837localizedStrings["%d × %d"] = "%d × %d";
    3938localizedStrings["× %d"] = "× %d";
    40 localizedStrings["%s (%s)"] = "%s (%s)";
    4139localizedStrings["%s (at %s)"] = "%s (at %s)";
    4240localizedStrings["%s (from cache)"] = "%s (from cache)";
     
    4745localizedStrings["%s latency, %s download (%s total)"] = "%s latency, %s download (%s total)";
    4846localizedStrings["(anonymous function)"] = "(anonymous function)";
    49 localizedStrings["(data url)"] = "(data url)";
    5047localizedStrings["(from cache)"] = "(from cache)";
    5148localizedStrings["(failed)"] = "(failed)";
    5249localizedStrings["(canceled)"] = "(canceled)";
    53 localizedStrings["(internal script)"] = "(internal script)";
    5450localizedStrings["(ping)"] = "(ping)";
    5551localizedStrings["(program)"] = "(program)";
    5652localizedStrings["(text)"] = "(text)";
    5753localizedStrings["(unable to decode value)"] = "(unable to decode value)";
    58 localizedStrings["(whitespace)"] = "(whitespace)";
    5954localizedStrings["Application Cache"] = "Application Cache";
    6055localizedStrings["Accept suggestion"] = "Accept suggestion";
     
    123118localizedStrings["Click to open a colorpicker. Shift-click to change color format"] = "Click to open a colorpicker. Shift-click to change color format";
    124119localizedStrings["Closure"] = "Closure";
    125 localizedStrings["Code"] = "Code";
    126120localizedStrings["Collected"] = "Collected";
    127121localizedStrings["Collect CSS Selector Profile"] = "Collect CSS Selector Profile";
     
    139133localizedStrings["Save as HAR with content"] = "Save as HAR with content";
    140134localizedStrings["Save as HAR with Content"] = "Save as HAR with Content";
    141 localizedStrings["Specification for \"%s\""] = "Specification for \"%s\"";
    142135localizedStrings["Copy link address"] = "Copy link address";
    143136localizedStrings["Copy Link Address"] = "Copy Link Address";
     
    298291localizedStrings["Node Removed"] = "Node Removed";
    299292localizedStrings["Nodes: %d"] = "Nodes: %d";
    300 localizedStrings["Not Found"] = "Not Found";
    301293localizedStrings["Not Paused"] = "Not Paused";
    302294localizedStrings["Objects Count"] = "Objects Count";
     
    495487localizedStrings["border"] = "border";
    496488localizedStrings["content"] = "content";
    497 localizedStrings["deleted"] = "deleted";
    498489localizedStrings["empty"] = "empty";
    499490localizedStrings["fit"] = "fit";
    500 localizedStrings["line %d"] = "line %d";
    501491localizedStrings["margin"] = "margin";
    502492localizedStrings["or"] = "or";
     
    555545localizedStrings["No requests captured. Reload the page to see detailed information on the network activity."] = "No requests captured. Reload the page to see detailed information on the network activity.";
    556546localizedStrings["This request has no cookies."] = "This request has no cookies.";
    557 localizedStrings["(original)"] = "(original)";
    558547localizedStrings["(%d, %d)"] = "(%d, %d)";
    559548localizedStrings["WebSockets"] = "WebSockets";
     
    595584localizedStrings["Restart frame"] = "Restart frame";
    596585localizedStrings["Collect Garbage"] = "Collect Garbage";
    597 localizedStrings["JSON"] = "JSON";
    598586localizedStrings["Catch"] = "Catch";
    599587localizedStrings["Pretty print"] = "Pretty print";
     
    621609localizedStrings["File \"%s\" is not readable"] = "File \"%s\" is not readable";
    622610localizedStrings["File \"%s\" not found."] = "File \"%s\" not found.";
    623 localizedStrings["Filter"] = "Filter";
    624611localizedStrings["Show user agent styles"] = "Show user agent styles";
    625612localizedStrings["Request Animation Frame"] = "Request Animation Frame";
     
    786773localizedStrings["Collecting content…"] = "Collecting content…";
    787774localizedStrings["Writing file…"] = "Writing file…";
    788 localizedStrings["Debug target terminated"] = "Debug target terminated";
    789 localizedStrings["This remote debugging client is no longer functional. Please re-attach to the new target."] = "This remote debugging client is no longer functional. Please re-attach to the new target.";
    790775localizedStrings["Snippets"] = "Snippets";
    791776localizedStrings["Refresh IndexedDB"] = "Refresh IndexedDB";
     
    793778localizedStrings["Refresh FileSystem List"] = "Refresh FileSystem List";
    794779localizedStrings["Refresh FileSystem list"] = "Refresh FileSystem list";
    795 localizedStrings["Take Native Memory Snapshot"] = "Take Native Memory Snapshot";
    796 localizedStrings["Take native memory snapshot."] = "Take native memory snapshot.";
    797780localizedStrings["MEMORY DISTRIBUTION"] = "MEMORY DISTRIBUTION";
    798781localizedStrings["Native memory snapshot profiles show memory distribution among browser subsystems"] = "Native memory snapshot profiles show memory distribution among browser subsystems";
     
    804787localizedStrings["Search Next"] = "Search Next";
    805788localizedStrings["Disable JavaScript"] = "Disable JavaScript";
    806 localizedStrings["Show folders"] = "Show folders";
    807789localizedStrings["Profiler"] = "Profiler";
    808790localizedStrings["Painting"] = "Painting";
     
    819801localizedStrings["Go to line"] = "Go to line";
    820802localizedStrings["Local modifications"] = "Local modifications";
    821 localizedStrings["(%s) Created: %s Updated: %s"] = "(%s) Created: %s Updated: %s";
    822803localizedStrings["Class filter"] = "Class filter";
    823804localizedStrings["Are you sure you want to delete the selected entry?"] = "Are you sure you want to delete the selected entry?";
    824805localizedStrings["Distance"] = "Distance";
    825806localizedStrings["\u03B1:"] = "\u03B1:";
    826 localizedStrings["Drag"] = "Drag";
    827807localizedStrings["Toggle breakpoint"] = "Toggle breakpoint";
    828808localizedStrings["Capture Canvas Frame"] = "Capture Canvas Frame";
     
    830810localizedStrings["Stop capturing canvas frames."] = "Stop capturing canvas frames.";
    831811localizedStrings["Start capturing canvas frames."] = "Start capturing canvas frames.";
    832 localizedStrings["Canvas capture mode"] = "Canvas capture mode";
    833812localizedStrings["Single Frame"] = "Single Frame";
    834813localizedStrings["Capture a single canvas frame."] = "Capture a single canvas frame.";
     
    856835localizedStrings["Directory"] = "Directory";
    857836localizedStrings["-"] = "-";
    858 localizedStrings["Memory cache resources"] = "Memory cache resources";
    859837localizedStrings["JavaScript heap"] = "JavaScript heap";
    860838localizedStrings["DOM storage cache"] = "DOM storage cache";
    861839localizedStrings["Support for Sass"] = "Support for Sass";
    862 localizedStrings["Render tree used"] = "Render tree used";
    863840localizedStrings["Snippets support"] = "Snippets support";
    864841localizedStrings["Inspector data"] = "Inspector data";
    865842localizedStrings["FileSystem inspection"] = "FileSystem inspection";
    866843localizedStrings["Use CodeMirror editor"] = "Use CodeMirror editor";
    867 localizedStrings["Override Device Geolocation"] = "Override Device Geolocation";
    868 localizedStrings["Page's structures"] = "Page's structures";
    869844localizedStrings["Native memory profiling"] = "Native memory profiling";
    870845localizedStrings["OwnersTypePlaceholder"] = "OwnersTypePlaceholder";
    871 localizedStrings["JavaScript external arrays"] = "JavaScript external arrays";
    872 localizedStrings["JavaScript external strings"] = "JavaScript external strings";
    873846localizedStrings["Show CPU activity on the ruler"] = "Show CPU activity on the ruler";
    874847localizedStrings["Render tree"] = "Render tree";
    875848localizedStrings["Canvas inspection"] = "Canvas inspection";
    876849localizedStrings["Message Count"] = "Message Count";
    877 localizedStrings["Used JavaScript heap"] = "Used JavaScript heap";
    878850localizedStrings["JavaScript external resources"] = "JavaScript external resources";
    879851localizedStrings["Glyph cache resources"] = "Glyph cache resources";
     
    954926localizedStrings["GlyphCache"] = "GlyphCache";
    955927localizedStrings["JSExternalResources"] = "JSExternalResources";
     928localizedStrings["CPU time"] = "CPU time";
     929localizedStrings["Total time"] = "Total time";
     930localizedStrings["Are you sure you want to close unsaved file: %s?"] = "Are you sure you want to close unsaved file: %s?";
     931localizedStrings["Heap Profiler"] = "Heap Profiler";
     932localizedStrings["Self time"] = "Self time";
     933localizedStrings["Are you sure you want to remove network mapping?"] = "Are you sure you want to remove network mapping?";
     934localizedStrings["Selected range"] = "Selected range";
     935localizedStrings["Number of calls"] = "Number of calls";
  • trunk/Tools/ChangeLog

    r149446 r149468  
     12013-05-01  Seokju Kwon  <seokju.kwon@gmail.com>
     2
     3        Web Inspector: Fix check-inspector-strings script and fix localized strings
     4        https://bugs.webkit.org/show_bug.cgi?id=115495
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * Scripts/check-inspector-strings:
     9
    1102013-05-01  Zan Dobersek  <zdobersek@igalia.com>
    211
  • trunk/Tools/Scripts/check-inspector-strings

    r132455 r149468  
    4545
    4646_inspector_directory = "Source/WebCore/inspector/front-end"
    47 _devtools_directory = "Source/WebKit/chromium/src/js"
    4847_localized_strings = "Source/WebCore/English.lproj/localizedStrings.js"
    4948
     
    143142    strings_extractor = StringsExtractor([r"(WebInspector\.UIString\(.*)", r"\"((?:[^\"\\]|\\.)*?)\""])
    144143    file_reader = TextFileReader(filesystem, strings_extractor)
    145     file_reader.process_paths([_inspector_directory, _devtools_directory])
     144    file_reader.process_paths([_inspector_directory])
    146145    localized_strings_extractor = LocalizedStringsExtractor()
    147146    localized_strings_extractor.process_file(_localized_strings)
Note: See TracChangeset for help on using the changeset viewer.