Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Issue 171040: add the InfoPlist.strings generation based on GRD strings.... (Closed)

Created:
11 years, 4 months ago by TVL
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews_googlegroups.com, John Grabowski
Visibility:
Public.

Description

Tweak the comment in the lproj fixup script to explain why we need an "en" folder. Added a string for the products short name, this is current mac only, and is used for the application menu title via the infoplist.strings file. Added source for a tool to build InfoPlist.strings files based on the values within the GRD files. Run the InfoPlist.strings generation tool during the build. Added a script to take a string and list of locale and generate all the versions of the string. Wired up the string locale tool so GYP knows about all the inputs/outputs from the InfoPlist.strings generation tool. Stop setting some of the Info.plist keys that are now covered by the InfoPlist.strings files. Update the mac links script to stop creating a resources link. Add a shim to nuke the helper's resource link so it can get a real folder. Helper in in chrome_paths_mac to find the main app's bundle (that the helper lives in). At startup, if not the browser, set the main bundle to be the parent of this bundle. Fix up the breakpad init to use the mac_util helper for main bundle. TEST=when runnining in the supported languages, Finder Get Info should show a localized copyright. The process names in activity monitor should also be correct and show localized names once the TC work is done. BUG=19019 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24104

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 41

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Total comments: 25

Patch Set 15 : '' #

Total comments: 8

Patch Set 16 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+580 lines, -50 lines) Patch
M build/mac/tweak_app_infoplist View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +0 lines, -14 lines 0 comments Download
M chrome/app/app-Info.plist View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +27 lines, -23 lines 0 comments Download
M chrome/app/breakpad_mac.mm View 9 10 11 12 13 14 15 2 chunks +2 lines, -1 line 0 comments Download
M chrome/app/chrome_dll_main.cc View 5 6 7 8 9 10 11 12 13 14 15 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/app/chromium_strings.grd View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/app/helper-Info.plist View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -1 line 0 comments Download
M chrome/app/make_mac_app_symlinks View 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -5 lines 0 comments Download
A chrome/app/nuke_mac_resources_link View 4 5 6 7 8 9 10 11 12 13 14 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/app/tweak_mac_lproj_folders View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +120 lines, -2 lines 0 comments Download
M chrome/common/chrome_paths_internal.h View 12 13 14 15 2 chunks +8 lines, -1 line 0 comments Download
M chrome/common/chrome_paths_mac.mm View 12 13 14 15 2 chunks +26 lines, -1 line 0 comments Download
A chrome/tools/build/apply_locales.py View 2 3 4 5 6 7 8 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/tools/mac_helpers/infoplist_strings_util.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +296 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
TVL
This cl sorta grew, but it appears to be complete now.
11 years, 4 months ago (2009-08-18 18:42:16 UTC) #1
Mark Mentovai
Here are some comments. http://codereview.chromium.org/171040/diff/3040/3042 File base/mac_util.h (right): http://codereview.chromium.org/171040/diff/3040/3042#newcode53 Line 53: FilePath GetParentBundlePath(); This does ...
11 years, 4 months ago (2009-08-18 21:38:22 UTC) #2
TVL
http://codereview.chromium.org/171040/diff/3040/3046 File chrome/app/chrome_dll_main.cc (right): http://codereview.chromium.org/171040/diff/3040/3046#newcode349 Line 349: if (!process_type.empty()) { On 2009/08/18 21:38:22, Mark Mentovai ...
11 years, 4 months ago (2009-08-19 12:54:29 UTC) #3
TVL
New versions up, I need to rerun unittests after your fix for the extension helper ...
11 years, 4 months ago (2009-08-19 18:22:35 UTC) #4
Mark Mentovai
LGTM. Of course, since it's a huge changelist, the volume of comments looks kind of ...
11 years, 4 months ago (2009-08-19 19:59:27 UTC) #5
TVL
http://codereview.chromium.org/171040/diff/2085/2095 File chrome/app/tweak_mac_lproj_folders (right): http://codereview.chromium.org/171040/diff/2085/2095#newcode24 Line 24: # en-US). When checking the list, the OS ...
11 years, 4 months ago (2009-08-19 21:15:09 UTC) #6
Mark Mentovai
http://codereview.chromium.org/171040/diff/2108/2112 File chrome/app/chrome_dll_main.cc (right): http://codereview.chromium.org/171040/diff/2108/2112#newcode357 Line 357: // to the helpers, and so it needs ...
11 years, 4 months ago (2009-08-19 21:38:23 UTC) #7
Mark Mentovai
11 years, 4 months ago (2009-08-19 21:48:41 UTC) #8
mark@chromium.org wrote:
> http://codereview.chromium.org/171040/diff/2085/2099#newcode227
> Line 227: // Helpers don't show their menubar, so we don't need a real
> short name.
> We should avoid putting CFBundleName in their InfoPlist.strings files
> altogether, then, right?

If we're going to put CFBundleName back into our Info.plists, then I
guess we should leave this in...and maybe do it the right way, with
its own grd file entry?

Powered by Google App Engine
This is Rietveld 408576698