Changeset 149468 in webkit
- Timestamp:
- May 1, 2013 5:39:14 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r149466 r149468 1 2013-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 1 12 2013-05-01 Tim Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WebCore/English.lproj/localizedStrings.js
r148628 r149468 17 17 localizedStrings["%.3f\u2009ms"] = "%.3f\u2009ms"; 18 18 localizedStrings["%d characters selected"] = "%d characters selected"; 19 localizedStrings["%d console messages are not shown."] = "%d console messages are not shown.";20 19 localizedStrings["%d cookies (%s)"] = "%d cookies (%s)"; 21 20 localizedStrings["%d descendant with forced state"] = "%d descendant with forced state"; … … 38 37 localizedStrings["%d × %d"] = "%d × %d"; 39 38 localizedStrings["× %d"] = "× %d"; 40 localizedStrings["%s (%s)"] = "%s (%s)";41 39 localizedStrings["%s (at %s)"] = "%s (at %s)"; 42 40 localizedStrings["%s (from cache)"] = "%s (from cache)"; … … 47 45 localizedStrings["%s latency, %s download (%s total)"] = "%s latency, %s download (%s total)"; 48 46 localizedStrings["(anonymous function)"] = "(anonymous function)"; 49 localizedStrings["(data url)"] = "(data url)";50 47 localizedStrings["(from cache)"] = "(from cache)"; 51 48 localizedStrings["(failed)"] = "(failed)"; 52 49 localizedStrings["(canceled)"] = "(canceled)"; 53 localizedStrings["(internal script)"] = "(internal script)";54 50 localizedStrings["(ping)"] = "(ping)"; 55 51 localizedStrings["(program)"] = "(program)"; 56 52 localizedStrings["(text)"] = "(text)"; 57 53 localizedStrings["(unable to decode value)"] = "(unable to decode value)"; 58 localizedStrings["(whitespace)"] = "(whitespace)";59 54 localizedStrings["Application Cache"] = "Application Cache"; 60 55 localizedStrings["Accept suggestion"] = "Accept suggestion"; … … 123 118 localizedStrings["Click to open a colorpicker. Shift-click to change color format"] = "Click to open a colorpicker. Shift-click to change color format"; 124 119 localizedStrings["Closure"] = "Closure"; 125 localizedStrings["Code"] = "Code";126 120 localizedStrings["Collected"] = "Collected"; 127 121 localizedStrings["Collect CSS Selector Profile"] = "Collect CSS Selector Profile"; … … 139 133 localizedStrings["Save as HAR with content"] = "Save as HAR with content"; 140 134 localizedStrings["Save as HAR with Content"] = "Save as HAR with Content"; 141 localizedStrings["Specification for \"%s\""] = "Specification for \"%s\"";142 135 localizedStrings["Copy link address"] = "Copy link address"; 143 136 localizedStrings["Copy Link Address"] = "Copy Link Address"; … … 298 291 localizedStrings["Node Removed"] = "Node Removed"; 299 292 localizedStrings["Nodes: %d"] = "Nodes: %d"; 300 localizedStrings["Not Found"] = "Not Found";301 293 localizedStrings["Not Paused"] = "Not Paused"; 302 294 localizedStrings["Objects Count"] = "Objects Count"; … … 495 487 localizedStrings["border"] = "border"; 496 488 localizedStrings["content"] = "content"; 497 localizedStrings["deleted"] = "deleted";498 489 localizedStrings["empty"] = "empty"; 499 490 localizedStrings["fit"] = "fit"; 500 localizedStrings["line %d"] = "line %d";501 491 localizedStrings["margin"] = "margin"; 502 492 localizedStrings["or"] = "or"; … … 555 545 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."; 556 546 localizedStrings["This request has no cookies."] = "This request has no cookies."; 557 localizedStrings["(original)"] = "(original)";558 547 localizedStrings["(%d, %d)"] = "(%d, %d)"; 559 548 localizedStrings["WebSockets"] = "WebSockets"; … … 595 584 localizedStrings["Restart frame"] = "Restart frame"; 596 585 localizedStrings["Collect Garbage"] = "Collect Garbage"; 597 localizedStrings["JSON"] = "JSON";598 586 localizedStrings["Catch"] = "Catch"; 599 587 localizedStrings["Pretty print"] = "Pretty print"; … … 621 609 localizedStrings["File \"%s\" is not readable"] = "File \"%s\" is not readable"; 622 610 localizedStrings["File \"%s\" not found."] = "File \"%s\" not found."; 623 localizedStrings["Filter"] = "Filter";624 611 localizedStrings["Show user agent styles"] = "Show user agent styles"; 625 612 localizedStrings["Request Animation Frame"] = "Request Animation Frame"; … … 786 773 localizedStrings["Collecting content…"] = "Collecting content…"; 787 774 localizedStrings["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.";790 775 localizedStrings["Snippets"] = "Snippets"; 791 776 localizedStrings["Refresh IndexedDB"] = "Refresh IndexedDB"; … … 793 778 localizedStrings["Refresh FileSystem List"] = "Refresh FileSystem List"; 794 779 localizedStrings["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.";797 780 localizedStrings["MEMORY DISTRIBUTION"] = "MEMORY DISTRIBUTION"; 798 781 localizedStrings["Native memory snapshot profiles show memory distribution among browser subsystems"] = "Native memory snapshot profiles show memory distribution among browser subsystems"; … … 804 787 localizedStrings["Search Next"] = "Search Next"; 805 788 localizedStrings["Disable JavaScript"] = "Disable JavaScript"; 806 localizedStrings["Show folders"] = "Show folders";807 789 localizedStrings["Profiler"] = "Profiler"; 808 790 localizedStrings["Painting"] = "Painting"; … … 819 801 localizedStrings["Go to line"] = "Go to line"; 820 802 localizedStrings["Local modifications"] = "Local modifications"; 821 localizedStrings["(%s) Created: %s Updated: %s"] = "(%s) Created: %s Updated: %s";822 803 localizedStrings["Class filter"] = "Class filter"; 823 804 localizedStrings["Are you sure you want to delete the selected entry?"] = "Are you sure you want to delete the selected entry?"; 824 805 localizedStrings["Distance"] = "Distance"; 825 806 localizedStrings["\u03B1:"] = "\u03B1:"; 826 localizedStrings["Drag"] = "Drag";827 807 localizedStrings["Toggle breakpoint"] = "Toggle breakpoint"; 828 808 localizedStrings["Capture Canvas Frame"] = "Capture Canvas Frame"; … … 830 810 localizedStrings["Stop capturing canvas frames."] = "Stop capturing canvas frames."; 831 811 localizedStrings["Start capturing canvas frames."] = "Start capturing canvas frames."; 832 localizedStrings["Canvas capture mode"] = "Canvas capture mode";833 812 localizedStrings["Single Frame"] = "Single Frame"; 834 813 localizedStrings["Capture a single canvas frame."] = "Capture a single canvas frame."; … … 856 835 localizedStrings["Directory"] = "Directory"; 857 836 localizedStrings["-"] = "-"; 858 localizedStrings["Memory cache resources"] = "Memory cache resources";859 837 localizedStrings["JavaScript heap"] = "JavaScript heap"; 860 838 localizedStrings["DOM storage cache"] = "DOM storage cache"; 861 839 localizedStrings["Support for Sass"] = "Support for Sass"; 862 localizedStrings["Render tree used"] = "Render tree used";863 840 localizedStrings["Snippets support"] = "Snippets support"; 864 841 localizedStrings["Inspector data"] = "Inspector data"; 865 842 localizedStrings["FileSystem inspection"] = "FileSystem inspection"; 866 843 localizedStrings["Use CodeMirror editor"] = "Use CodeMirror editor"; 867 localizedStrings["Override Device Geolocation"] = "Override Device Geolocation";868 localizedStrings["Page's structures"] = "Page's structures";869 844 localizedStrings["Native memory profiling"] = "Native memory profiling"; 870 845 localizedStrings["OwnersTypePlaceholder"] = "OwnersTypePlaceholder"; 871 localizedStrings["JavaScript external arrays"] = "JavaScript external arrays";872 localizedStrings["JavaScript external strings"] = "JavaScript external strings";873 846 localizedStrings["Show CPU activity on the ruler"] = "Show CPU activity on the ruler"; 874 847 localizedStrings["Render tree"] = "Render tree"; 875 848 localizedStrings["Canvas inspection"] = "Canvas inspection"; 876 849 localizedStrings["Message Count"] = "Message Count"; 877 localizedStrings["Used JavaScript heap"] = "Used JavaScript heap";878 850 localizedStrings["JavaScript external resources"] = "JavaScript external resources"; 879 851 localizedStrings["Glyph cache resources"] = "Glyph cache resources"; … … 954 926 localizedStrings["GlyphCache"] = "GlyphCache"; 955 927 localizedStrings["JSExternalResources"] = "JSExternalResources"; 928 localizedStrings["CPU time"] = "CPU time"; 929 localizedStrings["Total time"] = "Total time"; 930 localizedStrings["Are you sure you want to close unsaved file: %s?"] = "Are you sure you want to close unsaved file: %s?"; 931 localizedStrings["Heap Profiler"] = "Heap Profiler"; 932 localizedStrings["Self time"] = "Self time"; 933 localizedStrings["Are you sure you want to remove network mapping?"] = "Are you sure you want to remove network mapping?"; 934 localizedStrings["Selected range"] = "Selected range"; 935 localizedStrings["Number of calls"] = "Number of calls"; -
trunk/Tools/ChangeLog
r149446 r149468 1 2013-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 1 10 2013-05-01 Zan Dobersek <zdobersek@igalia.com> 2 11 -
trunk/Tools/Scripts/check-inspector-strings
r132455 r149468 45 45 46 46 _inspector_directory = "Source/WebCore/inspector/front-end" 47 _devtools_directory = "Source/WebKit/chromium/src/js"48 47 _localized_strings = "Source/WebCore/English.lproj/localizedStrings.js" 49 48 … … 143 142 strings_extractor = StringsExtractor([r"(WebInspector\.UIString\(.*)", r"\"((?:[^\"\\]|\\.)*?)\""]) 144 143 file_reader = TextFileReader(filesystem, strings_extractor) 145 file_reader.process_paths([_inspector_directory , _devtools_directory])144 file_reader.process_paths([_inspector_directory]) 146 145 localized_strings_extractor = LocalizedStringsExtractor() 147 146 localized_strings_extractor.process_file(_localized_strings)
Note: See TracChangeset
for help on using the changeset viewer.