[Mac] Localize app shims with the OS preferred language.
Previously this created an english localization folder and assumed OSX would use it since it's the only one available. However, when english is not one of the preferred languages, the metadata for the shim bundle would report its filename as the display name. The metadata is used by Spotlight, so the user would be unable to search for the app. See the bug for more details. With this CL, we still only create one localization folder, but use the most preferred language reported by the OS. This also deletes any existing shims before creating new ones. BUG=482658 Review URL: https://codereview.chromium.org/1137373003 Cr-Commit-Position: refs/heads/master@{#330038}
Showing
Please register or sign in to comment