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

Unified Diff: chrome/tools/build/repack_locales.py

Issue 171043: Stop shortening the Mac lproj directories (ie-"en-US" instead of "en").... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/build/repack_locales.py
===================================================================
--- chrome/tools/build/repack_locales.py (revision 23545)
+++ chrome/tools/build/repack_locales.py (working copy)
@@ -36,10 +36,7 @@
"""Determine the file that will be generated for the given locale."""
#e.g. '<(INTERMEDIATE_DIR)/repack/da.pak',
if sys.platform in ('darwin',):
- splitpos = locale.find('-')
- if splitpos == -1:
- splitpos = None
- return '%s/repack/%s.lproj/locale.pak' % (INT_DIR, locale[0:splitpos])
+ return '%s/repack/%s.lproj/locale.pak' % (INT_DIR, locale)
else:
return '%s/repack/%s.pak' % (INT_DIR, locale)
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698