Changeset 97798 in webkit


Ignore:
Timestamp:
Oct 18, 2011 3:47:21 PM (13 years ago)
Author:
Joseph Pecoraro
Message:

<http://webkit.org/b/70365> Web Inspector: Some localizedStrings.js Updates

Reviewed by Darin Adler.

Source/WebCore:

Fixed syntax issue, added missing strings, and removed a duplicate.

  • English.lproj/localizedStrings.js:

Tools:

  • Scripts/check-inspector-strings:

Updated to the new webkitpy way to determine checkout root.

  • Scripts/webkitdirs.pm:

(copyInspectorFrontendFiles):
Made it so build-webkit --inspector-frontend copies over
the localizedStrings.js file as well as the frontend files.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r97796 r97798  
     12011-10-18  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Web Inspector: Some localizedStrings.js Updates
     4        https://bugs.webkit.org/show_bug.cgi?id=70365
     5
     6        Reviewed by Darin Adler.
     7
     8        Fixed syntax issue, added missing strings, and removed a duplicate.
     9
     10        * English.lproj/localizedStrings.js:
     11
    1122011-10-18  Tony Chang  <tony@chromium.org>
    213
  • trunk/Tools/ChangeLog

    r97797 r97798  
     12011-10-18  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Web Inspector: Some localizedStrings.js Updates
     4        https://bugs.webkit.org/show_bug.cgi?id=70365
     5
     6        Reviewed by Darin Adler.
     7
     8        * Scripts/check-inspector-strings:
     9        Updated to the new webkitpy way to determine checkout root.
     10
     11        * Scripts/webkitdirs.pm:
     12        (copyInspectorFrontendFiles):
     13        Made it so build-webkit --inspector-frontend copies over
     14        the localizedStrings.js file as well as the frontend files.
     15
    1162011-10-18  Raphael Kubo da Costa  <kubo@profusion.mobi>
    217
  • trunk/Tools/Scripts/check-inspector-strings

    r81358 r97798  
    3131import codecs
    3232import logging
     33import os
     34import os.path
    3335import re
    3436import sys
    3537
    36 from webkitpy.style_references import detect_checkout
     38from webkitpy.common.checkout.scm import detect_scm_system
    3739from webkitpy.common.system.logutils import configure_logging
    3840from webkitpy.style.checker import ProcessorBase
     
    9193    configure_logging()
    9294
    93     checkout = detect_checkout()
    94     if checkout is None:
     95    cwd = os.path.abspath(os.curdir)
     96    scm = detect_scm_system(cwd)
     97
     98    if scm is None:
    9599        _log.error("WebKit checkout not found: You must run this script "
    96100                   "from within a WebKit checkout.")
    97101        sys.exit(1)
    98     checkout_root = checkout.root_path()
     102
     103    checkout_root = scm.checkout_root
    99104    _log.debug("WebKit checkout found with root: %s" % checkout_root)
    100105    change_directory(checkout_root=checkout_root, paths=None)
  • trunk/Tools/Scripts/webkitdirs.pm

    r97737 r97798  
    13071307        die;
    13081308    }
     1309
     1310    if (isAppleMacWebKit()) {
     1311        my $sourceLocalizedStrings = sourceDir() . "/Source/WebCore/English.lproj/localizedStrings.js";
     1312        my $destinationLocalizedStrings = $productDir . "/WebCore.framework/Resources/English.lproj/localizedStrings.js";
     1313        system "ditto", $sourceLocalizedStrings, $destinationLocalizedStrings;
     1314    }
     1315
    13091316    return system "rsync", "-aut", "--exclude=/.DS_Store", "--exclude=*.re2js", "--exclude=.svn/", !isQt() ? "--exclude=/WebKit.qrc" : "", $sourceInspectorPath, $inspectorResourcesDirPath;
    13101317}
Note: See TracChangeset for help on using the changeset viewer.