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

Side by Side Diff: chrome/app/tweak_mac_lproj_folders

Issue 192066: Remove some support for the transition in fixing up the mac language bundles.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/nuke_mac_resources_link ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This script is intended to run from a "postbuild" action from within Xcode. 7 # This script is intended to run from a "postbuild" action from within Xcode.
8 # It will create any symlinks needed to sync up what comes from the GRIT files 8 # It will create any symlinks needed to sync up what comes from the GRIT files
9 # with what Cocoa would like. 9 # with what Cocoa would like.
10 10
11 set -e 11 set -e
12 12
13 # Working in the resources directory 13 # Working in the resources directory
14 cd "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents/Resources" 14 cd "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents/Resources"
15 15
16 # Remove the stale zh.lproj
17 # TODO: This can go away about 09/01/09, when they won't exist on the bots or
18 # developers' local builds.
19 rm -rf "zh.lproj" "en.lproj"
20 # Remove the invalid dirs with - instead of _ (http://crbug.com/20441)
21 # TODO: This can go away about 09/09/09, when they won't exist on the bots or
22 # developers' local builds.
23 rm -rf "en-GB.lproj" "en-US.lproj" "es-419.lproj" "pt-BR.lproj" "pt-PT.lproj" \
24 "zh-CN.lproj" "zh-TW.lproj"
25
26 # Provide an link for en.lproj that points to en_US.lproj. 16 # Provide an link for en.lproj that points to en_US.lproj.
27 17
28 # The standard OS language list includes English (en) and not a specific 18 # The standard OS language list includes English (en) and not a specific
29 # "flavor" such as U.S. English (en_US). When checking for a language match, 19 # "flavor" such as U.S. English (en_US). When checking for a language match,
30 # the OS will remove subtags if no exact match is found, so that en will be 20 # the OS will remove subtags if no exact match is found, so that en will be
31 # used if the user's preferred language list only contains British English 21 # used if the user's preferred language list only contains British English
32 # (en_GB) and no specific en_GB translation is available. 22 # (en_GB) and no specific en_GB translation is available.
33 # 23 #
34 # To ensure that users with the default language list, which contains English 24 # To ensure that users with the default language list, which contains English
35 # without any regional subtag, as well as users with a specific variant of 25 # without any regional subtag, as well as users with a specific variant of
36 # English with a regional subtag, will have access to an English-localized 26 # English with a regional subtag, will have access to an English-localized
37 # application, a symbolic link from en.lproj to en_US.lproj is provided. 27 # application, a symbolic link from en.lproj to en_US.lproj is provided.
38 ln -fhs "en_US.lproj" "en.lproj" 28 ln -fhs "en_US.lproj" "en.lproj"
OLDNEW
« no previous file with comments | « chrome/app/nuke_mac_resources_link ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698