summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-02 18:49:28 +0000
committerjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-02 18:49:28 +0000
commit6cbb263f4f4075b2beec0b03766ceeafd3566d5b (patch)
treee2c19f772d8dd1e14bc085adc8953b8876cdebc1 /chrome
parent8654b68fc30d155e907b842cf82e47cb2b550081 (diff)
downloadchromium_src-6cbb263f4f4075b2beec0b03766ceeafd3566d5b.zip
chromium_src-6cbb263f4f4075b2beec0b03766ceeafd3566d5b.tar.gz
chromium_src-6cbb263f4f4075b2beec0b03766ceeafd3566d5b.tar.bz2
Add widely-used variants of en, fr, de and it.
More comprehensive changes will be made for post 1.0. This is good enough for 1.0. TBR=sidchat BUG=1723 TEST=In Accept-Language menu, Germain (Switzerland), French(Canada), etc are listed. Review URL: http://codereview.chromium.org/9027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/options/languages_page_view.cc16
1 files changed, 14 insertions, 2 deletions
diff --git a/chrome/browser/views/options/languages_page_view.cc b/chrome/browser/views/options/languages_page_view.cc
index c7470ac..355d979 100644
--- a/chrome/browser/views/options/languages_page_view.cc
+++ b/chrome/browser/views/options/languages_page_view.cc
@@ -94,10 +94,17 @@ static const wchar_t* const accept_language_list[] = {
L"cy", // Welsh
L"da", // Danish
L"de", // German
+ L"de-AT", // German (Austria)
+ L"de-CH", // German (Switzerland)
+ L"de-DE", // German (Germany)
L"el", // Greek
L"en", // English
+ L"en-AU", // English (Austrailia)
+ L"en-CA", // English (Canada)
L"en-GB", // English (UK)
+ L"en-NZ", // English (New Zealand)
L"en-US", // English (US)
+ L"en-ZA", // English (South Africa)
L"eo", // Esperanto
// TODO(jungshik) : Do we want to list all es-Foo for Latin-American
// Spanish speaking countries?
@@ -109,6 +116,9 @@ static const wchar_t* const accept_language_list[] = {
L"fil", // Filipino
L"fo", // Faroese
L"fr", // French
+ L"fr-CA", // French (Canada)
+ L"fr-CH", // French (Switzerland)
+ L"fr-FR", // French (France)
L"fy", // Frisian
L"ga", // Irish
L"gd", // Scots Gaelic
@@ -124,6 +134,8 @@ static const wchar_t* const accept_language_list[] = {
L"id", // Indonesian
L"is", // Icelandic
L"it", // Italian
+ L"it-CH", // Italian (Switzerland)
+ L"it-IT", // Italian (Italy)
L"ja", // Japanese
L"jw", // Javanese
L"ka", // Georgian
@@ -194,8 +206,8 @@ static const wchar_t* const accept_language_list[] = {
L"yi", // Yiddish
L"yo", // Yoruba
L"zh", // Chinese
- L"zh-CN", // Chinese&nbsp;(Simplified)
- L"zh-TW", // Chinese&nbsp;(Traditional)
+ L"zh-CN", // Chinese (Simplified)
+ L"zh-TW", // Chinese (Traditional)
L"zu", // Zulu
};