diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 17:35:11 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 17:35:11 +0000 |
commit | d88453afb9292607a16321e23785e5ee2417f776 (patch) | |
tree | 31073350c0d66d01aa1499ce1a2d67b63f056de6 /chrome/browser/cocoa/focus_tracker.mm | |
parent | 6b7e090e931edb1cb31a53ca9852ffd0ba3ee7ea (diff) | |
download | chromium_src-d88453afb9292607a16321e23785e5ee2417f776.zip chromium_src-d88453afb9292607a16321e23785e5ee2417f776.tar.gz chromium_src-d88453afb9292607a16321e23785e5ee2417f776.tar.bz2 |
UI language list fix.
30+ minimally populated locales were added to our ICU data. As a result, GetAvailableLocale() used whenconstructing the UI language menu in Chrome list languages Chrome is not localized to.
1. Add IsPartiallyPopulatedLocale() to l10n_util (anonymous namespace) and skip those locales when constructing the locale list.
2. Add 'Hawaiian', 'Oromo' and 'Hausa' to the Accept-Language list. I'll add other languages to the trunk later.
BUG=21119 (http://crbug.com/21119), 19329 ( http://crbug.com/19329 )
TEST=1. Launch Chrome and go to Options | "Advanced" | Languages & Fonts menu | Languages tab | Google Chrome language. The list of languages to choose from should contain only languages Chrome is localized to (40 + 1 + 8) and should not contain languages like Hawaian, Belarusian.
2. Accept-Language list should contain 3 new languages added (Hawaiian, Oromo and Hausa)
Review URL: http://codereview.chromium.org/193027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/focus_tracker.mm')
0 files changed, 0 insertions, 0 deletions