Title: [149468] trunk
Revision
149468
Author
[email protected]
Date
2013-05-01 17:39:14 -0700 (Wed, 01 May 2013)

Log 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 <[email protected]> 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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (149467 => 149468)


--- trunk/Source/WebCore/ChangeLog	2013-05-02 00:38:37 UTC (rev 149467)
+++ trunk/Source/WebCore/ChangeLog	2013-05-02 00:39:14 UTC (rev 149468)
@@ -1,3 +1,14 @@
+2013-05-01  Seokju Kwon  <[email protected]>
+
+        Web Inspector: Fix check-inspector-strings script and fix localized strings
+        https://bugs.webkit.org/show_bug.cgi?id=115495
+
+        Reviewed by Joseph Pecoraro.
+
+        No new tests, because there is no change in behavior.
+
+        * English.lproj/localizedStrings.js:
+
 2013-05-01  Tim Horton  <[email protected]>
 
         <object data="" data URL>"> MIME types aren't case-insensitive

Modified: trunk/Source/WebCore/English.lproj/localizedStrings.js (149467 => 149468)


--- trunk/Source/WebCore/English.lproj/localizedStrings.js	2013-05-02 00:38:37 UTC (rev 149467)
+++ trunk/Source/WebCore/English.lproj/localizedStrings.js	2013-05-02 00:39:14 UTC (rev 149468)
@@ -16,7 +16,6 @@
 localizedStrings["%.2f\u2009s"] = "%.2f\u2009s";
 localizedStrings["%.3f\u2009ms"] = "%.3f\u2009ms";
 localizedStrings["%d characters selected"] = "%d characters selected";
-localizedStrings["%d console messages are not shown."] = "%d console messages are not shown.";
 localizedStrings["%d cookies (%s)"] = "%d cookies (%s)";
 localizedStrings["%d descendant with forced state"] = "%d descendant with forced state";
 localizedStrings["%d descendants with forced state"] = "%d descendants with forced state";
@@ -37,7 +36,6 @@
 localizedStrings["%d \xd7 %d pixels"] = "%d \xd7 %d pixels";
 localizedStrings["%d × %d"] = "%d × %d";
 localizedStrings["× %d"] = "× %d";
-localizedStrings["%s (%s)"] = "%s (%s)";
 localizedStrings["%s (at %s)"] = "%s (at %s)";
 localizedStrings["%s (from cache)"] = "%s (from cache)";
 localizedStrings["%s - Details"] = "%s - Details";
@@ -46,16 +44,13 @@
 localizedStrings["%s latency"] = "%s latency";
 localizedStrings["%s latency, %s download (%s total)"] = "%s latency, %s download (%s total)";
 localizedStrings["(anonymous function)"] = "(anonymous function)";
-localizedStrings["(data url)"] = "(data url)";
 localizedStrings["(from cache)"] = "(from cache)";
 localizedStrings["(failed)"] = "(failed)";
 localizedStrings["(canceled)"] = "(canceled)";
-localizedStrings["(internal script)"] = "(internal script)";
 localizedStrings["(ping)"] = "(ping)";
 localizedStrings["(program)"] = "(program)";
 localizedStrings["(text)"] = "(text)";
 localizedStrings["(unable to decode value)"] = "(unable to decode value)";
-localizedStrings["(whitespace)"] = "(whitespace)";
 localizedStrings["Application Cache"] = "Application Cache";
 localizedStrings["Accept suggestion"] = "Accept suggestion";
 localizedStrings["Activate Breakpoints"] = "Activate Breakpoints";
@@ -122,7 +117,6 @@
 localizedStrings["Clear"] = "Clear";
 localizedStrings["Click to open a colorpicker. Shift-click to change color format"] = "Click to open a colorpicker. Shift-click to change color format";
 localizedStrings["Closure"] = "Closure";
-localizedStrings["Code"] = "Code";
 localizedStrings["Collected"] = "Collected";
 localizedStrings["Collect CSS Selector Profile"] = "Collect CSS Selector Profile";
 localizedStrings["Collect _javascript_ CPU Profile"] = "Collect _javascript_ CPU Profile";
@@ -138,7 +132,6 @@
 localizedStrings["Copy All as HAR"] = "Copy All as HAR";
 localizedStrings["Save as HAR with content"] = "Save as HAR with content";
 localizedStrings["Save as HAR with Content"] = "Save as HAR with Content";
-localizedStrings["Specification for \"%s\""] = "Specification for \"%s\"";
 localizedStrings["Copy link address"] = "Copy link address";
 localizedStrings["Copy Link Address"] = "Copy Link Address";
 localizedStrings["Copy request headers"] = "Copy request headers";
@@ -297,7 +290,6 @@
 localizedStrings["No audits to run"] = "No audits to run";
 localizedStrings["Node Removed"] = "Node Removed";
 localizedStrings["Nodes: %d"] = "Nodes: %d";
-localizedStrings["Not Found"] = "Not Found";
 localizedStrings["Not Paused"] = "Not Paused";
 localizedStrings["Objects Count"] = "Objects Count";
 localizedStrings["Offline"] = "Offline";
@@ -494,10 +486,8 @@
 localizedStrings["[empty domain]"] = "[empty domain]";
 localizedStrings["border"] = "border";
 localizedStrings["content"] = "content";
-localizedStrings["deleted"] = "deleted";
 localizedStrings["empty"] = "empty";
 localizedStrings["fit"] = "fit";
-localizedStrings["line %d"] = "line %d";
 localizedStrings["margin"] = "margin";
 localizedStrings["or"] = "or";
 localizedStrings["overset"] = "overset";
@@ -554,7 +544,6 @@
 localizedStrings["Clear Timer"] = "Clear Timer";
 localizedStrings["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.";
 localizedStrings["This request has no cookies."] = "This request has no cookies.";
-localizedStrings["(original)"] = "(original)";
 localizedStrings["(%d, %d)"] = "(%d, %d)";
 localizedStrings["WebSockets"] = "WebSockets";
 localizedStrings["Frames"] = "Frames";
@@ -594,7 +583,6 @@
 localizedStrings["Restart Frame"] = "Restart Frame";
 localizedStrings["Restart frame"] = "Restart frame";
 localizedStrings["Collect Garbage"] = "Collect Garbage";
-localizedStrings["JSON"] = "JSON";
 localizedStrings["Catch"] = "Catch";
 localizedStrings["Pretty print"] = "Pretty print";
 localizedStrings["Save As..."] = "Save As...";
@@ -620,7 +608,6 @@
 localizedStrings["An error occurred while reading the file \"%s\""] = "An error occurred while reading the file \"%s\"";
 localizedStrings["File \"%s\" is not readable"] = "File \"%s\" is not readable";
 localizedStrings["File \"%s\" not found."] = "File \"%s\" not found.";
-localizedStrings["Filter"] = "Filter";
 localizedStrings["Show user agent styles"] = "Show user agent styles";
 localizedStrings["Request Animation Frame"] = "Request Animation Frame";
 localizedStrings["Cancel Animation Frame"] = "Cancel Animation Frame";
@@ -785,15 +772,11 @@
 localizedStrings["Running audit"] = "Running audit";
 localizedStrings["Collecting content…"] = "Collecting content…";
 localizedStrings["Writing file…"] = "Writing file…";
-localizedStrings["Debug target terminated"] = "Debug target terminated";
-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.";
 localizedStrings["Snippets"] = "Snippets";
 localizedStrings["Refresh IndexedDB"] = "Refresh IndexedDB";
 localizedStrings["FileSystem"] = "FileSystem";
 localizedStrings["Refresh FileSystem List"] = "Refresh FileSystem List";
 localizedStrings["Refresh FileSystem list"] = "Refresh FileSystem list";
-localizedStrings["Take Native Memory Snapshot"] = "Take Native Memory Snapshot";
-localizedStrings["Take native memory snapshot."] = "Take native memory snapshot.";
 localizedStrings["MEMORY DISTRIBUTION"] = "MEMORY DISTRIBUTION";
 localizedStrings["Native memory snapshot profiles show memory distribution among browser subsystems"] = "Native memory snapshot profiles show memory distribution among browser subsystems";
 localizedStrings["Worker asks to call a method '%s' on an unsupported object '%s'."] = "Worker asks to call a method '%s' on an unsupported object '%s'.";
@@ -803,7 +786,6 @@
 localizedStrings["Search Previous"] = "Search Previous";
 localizedStrings["Search Next"] = "Search Next";
 localizedStrings["Disable _javascript_"] = "Disable _javascript_";
-localizedStrings["Show folders"] = "Show folders";
 localizedStrings["Profiler"] = "Profiler";
 localizedStrings["Painting"] = "Painting";
 localizedStrings["Frame Start"] = "Frame Start";
@@ -818,18 +800,15 @@
 localizedStrings["Find next/previous"] = "Find next/previous";
 localizedStrings["Go to line"] = "Go to line";
 localizedStrings["Local modifications"] = "Local modifications";
-localizedStrings["(%s) Created: %s Updated: %s"] = "(%s) Created: %s Updated: %s";
 localizedStrings["Class filter"] = "Class filter";
 localizedStrings["Are you sure you want to delete the selected entry?"] = "Are you sure you want to delete the selected entry?";
 localizedStrings["Distance"] = "Distance";
 localizedStrings["\u03B1:"] = "\u03B1:";
-localizedStrings["Drag"] = "Drag";
 localizedStrings["Toggle breakpoint"] = "Toggle breakpoint";
 localizedStrings["Capture Canvas Frame"] = "Capture Canvas Frame";
 localizedStrings["Capture next canvas frame."] = "Capture next canvas frame.";
 localizedStrings["Stop capturing canvas frames."] = "Stop capturing canvas frames.";
 localizedStrings["Start capturing canvas frames."] = "Start capturing canvas frames.";
-localizedStrings["Canvas capture mode"] = "Canvas capture mode";
 localizedStrings["Single Frame"] = "Single Frame";
 localizedStrings["Capture a single canvas frame."] = "Capture a single canvas frame.";
 localizedStrings["Consecutive Frames"] = "Consecutive Frames";
@@ -855,26 +834,19 @@
 localizedStrings["Modification Time"] = "Modification Time";
 localizedStrings["Directory"] = "Directory";
 localizedStrings["-"] = "-";
-localizedStrings["Memory cache resources"] = "Memory cache resources";
 localizedStrings["_javascript_ heap"] = "_javascript_ heap";
 localizedStrings["DOM storage cache"] = "DOM storage cache";
 localizedStrings["Support for Sass"] = "Support for Sass";
-localizedStrings["Render tree used"] = "Render tree used";
 localizedStrings["Snippets support"] = "Snippets support";
 localizedStrings["Inspector data"] = "Inspector data";
 localizedStrings["FileSystem inspection"] = "FileSystem inspection";
 localizedStrings["Use CodeMirror editor"] = "Use CodeMirror editor";
-localizedStrings["Override Device Geolocation"] = "Override Device Geolocation";
-localizedStrings["Page's structures"] = "Page's structures";
 localizedStrings["Native memory profiling"] = "Native memory profiling";
 localizedStrings["OwnersTypePlaceholder"] = "OwnersTypePlaceholder";
-localizedStrings["_javascript_ external arrays"] = "_javascript_ external arrays";
-localizedStrings["_javascript_ external strings"] = "_javascript_ external strings";
 localizedStrings["Show CPU activity on the ruler"] = "Show CPU activity on the ruler";
 localizedStrings["Render tree"] = "Render tree";
 localizedStrings["Canvas inspection"] = "Canvas inspection";
 localizedStrings["Message Count"] = "Message Count";
-localizedStrings["Used _javascript_ heap"] = "Used _javascript_ heap";
 localizedStrings["_javascript_ external resources"] = "_javascript_ external resources";
 localizedStrings["Glyph cache resources"] = "Glyph cache resources";
 localizedStrings["CSS Regions Support"] = "CSS Regions Support";
@@ -952,4 +924,12 @@
 localizedStrings["WebInspector"] = "WebInspector";
 localizedStrings["Audio"] = "Audio";
 localizedStrings["GlyphCache"] = "GlyphCache";
-localizedStrings["JSExternalResources"] = "JSExternalResources";
\ No newline at end of file
+localizedStrings["JSExternalResources"] = "JSExternalResources";
+localizedStrings["CPU time"] = "CPU time";
+localizedStrings["Total time"] = "Total time";
+localizedStrings["Are you sure you want to close unsaved file: %s?"] = "Are you sure you want to close unsaved file: %s?";
+localizedStrings["Heap Profiler"] = "Heap Profiler";
+localizedStrings["Self time"] = "Self time";
+localizedStrings["Are you sure you want to remove network mapping?"] = "Are you sure you want to remove network mapping?";
+localizedStrings["Selected range"] = "Selected range";
+localizedStrings["Number of calls"] = "Number of calls";

Modified: trunk/Tools/ChangeLog (149467 => 149468)


--- trunk/Tools/ChangeLog	2013-05-02 00:38:37 UTC (rev 149467)
+++ trunk/Tools/ChangeLog	2013-05-02 00:39:14 UTC (rev 149468)
@@ -1,3 +1,12 @@
+2013-05-01  Seokju Kwon  <[email protected]>
+
+        Web Inspector: Fix check-inspector-strings script and fix localized strings
+        https://bugs.webkit.org/show_bug.cgi?id=115495
+
+        Reviewed by Joseph Pecoraro.
+
+        * Scripts/check-inspector-strings:
+
 2013-05-01  Zan Dobersek  <[email protected]>
 
         [TestWebKitAPI] <WebKit2/WebKit2_C.h> being included in GTK WK1-only builds

Modified: trunk/Tools/Scripts/check-inspector-strings (149467 => 149468)


--- trunk/Tools/Scripts/check-inspector-strings	2013-05-02 00:38:37 UTC (rev 149467)
+++ trunk/Tools/Scripts/check-inspector-strings	2013-05-02 00:39:14 UTC (rev 149468)
@@ -44,7 +44,6 @@
 from webkitpy.style.main import change_directory
 
 _inspector_directory = "Source/WebCore/inspector/front-end"
-_devtools_directory = "Source/WebKit/chromium/src/js"
 _localized_strings = "Source/WebCore/English.lproj/localizedStrings.js"
 
 _log = logging.getLogger("check-inspector-strings")
@@ -142,7 +141,7 @@
 
     strings_extractor = StringsExtractor([r"(WebInspector\.UIString\(.*)", r"\"((?:[^\"\\]|\\.)*?)\""])
     file_reader = TextFileReader(filesystem, strings_extractor)
-    file_reader.process_paths([_inspector_directory, _devtools_directory])
+    file_reader.process_paths([_inspector_directory])
     localized_strings_extractor = LocalizedStringsExtractor()
     localized_strings_extractor.process_file(_localized_strings)
     raw_ui_strings = frozenset(strings_extractor.strings[0])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to