diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 17:17:02 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 17:17:02 +0000 |
commit | 617a4b8687e74835039ed774ccd15c5966247071 (patch) | |
tree | e7af33456d8fbe1577154ffb38745cd0777aafda /chrome/common/resource_bundle_mac.mm | |
parent | d7fdbeff5399b9efc1398bac85db110edb68ee90 (diff) | |
download | chromium_src-617a4b8687e74835039ed774ccd15c5966247071.zip chromium_src-617a4b8687e74835039ed774ccd15c5966247071.tar.gz chromium_src-617a4b8687e74835039ed774ccd15c5966247071.tar.bz2 |
Change locale handling to deal with mac resource bundles in the corresponding .lproj folder so we can more easily find them. The nibs have not yet been moved, that'll be a further step.
Review URL: http://codereview.chromium.org/28259
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_bundle_mac.mm')
-rw-r--r-- | chrome/common/resource_bundle_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/resource_bundle_mac.mm b/chrome/common/resource_bundle_mac.mm index 7515ed7..e739855 100644 --- a/chrome/common/resource_bundle_mac.mm +++ b/chrome/common/resource_bundle_mac.mm @@ -47,7 +47,7 @@ base::DataPack *LoadResourceDataPack(NSString *name) { path = path.AppendASCII("Contents"); path = path.AppendASCII("Resources"); if ([name isEqual:@"locale"]) { - path = path.AppendASCII("English.lproj"); + path = path.AppendASCII("en.lproj"); } NSString *pakName = [name stringByAppendingPathExtension:pakExt]; path = path.Append([pakName fileSystemRepresentation]); |