summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 19:22:48 +0000
committerjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 19:22:48 +0000
commit0e19849067bead96a0c0ca48b2b82a9682e78013 (patch)
treef432286644f644a8d00657bb1901b84b43488bcb
parent0111d699cba06f2afdd06e0ba1553bdc2d7f5aa4 (diff)
downloadchromium_src-0e19849067bead96a0c0ca48b2b82a9682e78013.zip
chromium_src-0e19849067bead96a0c0ca48b2b82a9682e78013.tar.gz
chromium_src-0e19849067bead96a0c0ca48b2b82a9682e78013.tar.bz2
Add support for 8 Indian languages.
* Add entries for 8 Indian languages to grd files (<translations> section) * Change the default spellcheck language for new languages to en-US for now. They'll be switched back to the UI language when we have spell check dictionaries for them * Add entries for 8 languages to installer's string offset table. This change will go in after http://codereview.chromium.org/19545 goes in with DEPS file for ICU updated. BUG=4473 Review URL: http://codereview.chromium.org/19761 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9158 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS2
-rw-r--r--chrome/app/generated_resources.grd8
-rw-r--r--chrome/app/google_chrome_strings.grd8
-rw-r--r--chrome/app/resources/locale_settings_bn.rc2
-rw-r--r--chrome/app/resources/locale_settings_gu.rc2
-rw-r--r--chrome/app/resources/locale_settings_kn.rc2
-rw-r--r--chrome/app/resources/locale_settings_ml.rc2
-rw-r--r--chrome/app/resources/locale_settings_mr.rc2
-rw-r--r--chrome/app/resources/locale_settings_or.rc2
-rw-r--r--chrome/app/resources/locale_settings_ta.rc2
-rw-r--r--chrome/app/resources/locale_settings_te.rc2
-rw-r--r--chrome/installer/util/l10n_string_util.cc8
-rw-r--r--webkit/glue/webkit_strings.grd8
13 files changed, 41 insertions, 9 deletions
diff --git a/DEPS b/DEPS
index 9c6e434..cef46a6 100644
--- a/DEPS
+++ b/DEPS
@@ -22,7 +22,7 @@ deps = {
"/trunk/deps/third_party/WebKit@9118",
"src/third_party/icu38":
- "/trunk/deps/third_party/icu38@7525",
+ "/trunk/deps/third_party/icu38@9156",
"src/v8":
"http://v8.googlecode.com/svn/trunk@1201",
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 1c7549b..a084af4 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -65,6 +65,7 @@ each locale. -->
<translations>
<file path="resources/generated_resources_ar.xtb" lang="ar" />
<file path="resources/generated_resources_bg.xtb" lang="bg" />
+ <file path="resources/generated_resources_bn.xtb" lang="bn" />
<file path="resources/generated_resources_ca.xtb" lang="ca" />
<file path="resources/generated_resources_cs.xtb" lang="cs" />
<file path="resources/generated_resources_da.xtb" lang="da" />
@@ -77,6 +78,7 @@ each locale. -->
<file path="resources/generated_resources_fi.xtb" lang="fi" />
<file path="resources/generated_resources_fil.xtb" lang="fil" />
<file path="resources/generated_resources_fr.xtb" lang="fr" />
+ <file path="resources/generated_resources_gu.xtb" lang="gu" />
<file path="resources/generated_resources_he.xtb" lang="he" />
<file path="resources/generated_resources_hi.xtb" lang="hi" />
<file path="resources/generated_resources_hr.xtb" lang="hr" />
@@ -84,11 +86,15 @@ each locale. -->
<file path="resources/generated_resources_id.xtb" lang="id" />
<file path="resources/generated_resources_it.xtb" lang="it" />
<file path="resources/generated_resources_ja.xtb" lang="ja" />
+ <file path="resources/generated_resources_kn.xtb" lang="kn" />
<file path="resources/generated_resources_ko.xtb" lang="ko" />
<file path="resources/generated_resources_lt.xtb" lang="lt" />
<file path="resources/generated_resources_lv.xtb" lang="lv" />
+ <file path="resources/generated_resources_ml.xtb" lang="ml" />
+ <file path="resources/generated_resources_mr.xtb" lang="mr" />
<file path="resources/generated_resources_nl.xtb" lang="nl" />
<file path="resources/generated_resources_no.xtb" lang="no" />
+ <file path="resources/generated_resources_or.xtb" lang="or" />
<file path="resources/generated_resources_pl.xtb" lang="pl" />
<file path="resources/generated_resources_pt-BR.xtb" lang="pt-BR" />
<file path="resources/generated_resources_pt-PT.xtb" lang="pt-PT" />
@@ -98,6 +104,8 @@ each locale. -->
<file path="resources/generated_resources_sl.xtb" lang="sl" />
<file path="resources/generated_resources_sr.xtb" lang="sr" />
<file path="resources/generated_resources_sv.xtb" lang="sv" />
+ <file path="resources/generated_resources_ta.xtb" lang="ta" />
+ <file path="resources/generated_resources_te.xtb" lang="te" />
<file path="resources/generated_resources_th.xtb" lang="th" />
<file path="resources/generated_resources_tr.xtb" lang="tr" />
<file path="resources/generated_resources_uk.xtb" lang="uk" />
diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd
index 7fb00a9c..af87a9c 100644
--- a/chrome/app/google_chrome_strings.grd
+++ b/chrome/app/google_chrome_strings.grd
@@ -64,6 +64,7 @@ Chrome supports. -->
<translations>
<file path="resources/google_chrome_strings_ar.xtb" lang="ar" />
<file path="resources/google_chrome_strings_bg.xtb" lang="bg" />
+ <file path="resources/google_chrome_strings_bn.xtb" lang="bn" />
<file path="resources/google_chrome_strings_ca.xtb" lang="ca" />
<file path="resources/google_chrome_strings_cs.xtb" lang="cs" />
<file path="resources/google_chrome_strings_da.xtb" lang="da" />
@@ -76,6 +77,7 @@ Chrome supports. -->
<file path="resources/google_chrome_strings_fi.xtb" lang="fi" />
<file path="resources/google_chrome_strings_fil.xtb" lang="fil" />
<file path="resources/google_chrome_strings_fr.xtb" lang="fr" />
+ <file path="resources/google_chrome_strings_gu.xtb" lang="gu" />
<file path="resources/google_chrome_strings_he.xtb" lang="he" />
<file path="resources/google_chrome_strings_hi.xtb" lang="hi" />
<file path="resources/google_chrome_strings_hr.xtb" lang="hr" />
@@ -83,11 +85,15 @@ Chrome supports. -->
<file path="resources/google_chrome_strings_id.xtb" lang="id" />
<file path="resources/google_chrome_strings_it.xtb" lang="it" />
<file path="resources/google_chrome_strings_ja.xtb" lang="ja" />
+ <file path="resources/google_chrome_strings_kn.xtb" lang="kn" />
<file path="resources/google_chrome_strings_ko.xtb" lang="ko" />
<file path="resources/google_chrome_strings_lt.xtb" lang="lt" />
<file path="resources/google_chrome_strings_lv.xtb" lang="lv" />
+ <file path="resources/google_chrome_strings_ml.xtb" lang="ml" />
+ <file path="resources/google_chrome_strings_mr.xtb" lang="mr" />
<file path="resources/google_chrome_strings_nl.xtb" lang="nl" />
<file path="resources/google_chrome_strings_no.xtb" lang="no" />
+ <file path="resources/google_chrome_strings_or.xtb" lang="or" />
<file path="resources/google_chrome_strings_pl.xtb" lang="pl" />
<file path="resources/google_chrome_strings_pt-BR.xtb" lang="pt-BR" />
<file path="resources/google_chrome_strings_pt-PT.xtb" lang="pt-PT" />
@@ -97,6 +103,8 @@ Chrome supports. -->
<file path="resources/google_chrome_strings_sl.xtb" lang="sl" />
<file path="resources/google_chrome_strings_sr.xtb" lang="sr" />
<file path="resources/google_chrome_strings_sv.xtb" lang="sv" />
+ <file path="resources/google_chrome_strings_ta.xtb" lang="ta" />
+ <file path="resources/google_chrome_strings_te.xtb" lang="te" />
<file path="resources/google_chrome_strings_th.xtb" lang="th" />
<file path="resources/google_chrome_strings_tr.xtb" lang="tr" />
<file path="resources/google_chrome_strings_uk.xtb" lang="uk" />
diff --git a/chrome/app/resources/locale_settings_bn.rc b/chrome/app/resources/locale_settings_bn.rc
index 33caa1a..1bc4e40 100644
--- a/chrome/app/resources/locale_settings_bn.rc
+++ b/chrome/app/resources/locale_settings_bn.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "bn-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=bn"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_gu.rc b/chrome/app/resources/locale_settings_gu.rc
index 3ccb21d..48e5185 100644
--- a/chrome/app/resources/locale_settings_gu.rc
+++ b/chrome/app/resources/locale_settings_gu.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "gu-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=gu"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_kn.rc b/chrome/app/resources/locale_settings_kn.rc
index f26efdc..e093bf6 100644
--- a/chrome/app/resources/locale_settings_kn.rc
+++ b/chrome/app/resources/locale_settings_kn.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "kn-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=kn"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_ml.rc b/chrome/app/resources/locale_settings_ml.rc
index 14061ff..113ae36 100644
--- a/chrome/app/resources/locale_settings_ml.rc
+++ b/chrome/app/resources/locale_settings_ml.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "ml-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=ml"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_mr.rc b/chrome/app/resources/locale_settings_mr.rc
index e759003..d52c2a11 100644
--- a/chrome/app/resources/locale_settings_mr.rc
+++ b/chrome/app/resources/locale_settings_mr.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "mr-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=mr"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_or.rc b/chrome/app/resources/locale_settings_or.rc
index c377cb5..64cac00 100644
--- a/chrome/app/resources/locale_settings_or.rc
+++ b/chrome/app/resources/locale_settings_or.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "or-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=or"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_ta.rc b/chrome/app/resources/locale_settings_ta.rc
index b4e4b9c..0bf319a 100644
--- a/chrome/app/resources/locale_settings_ta.rc
+++ b/chrome/app/resources/locale_settings_ta.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "ta-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=ta"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_te.rc b/chrome/app/resources/locale_settings_te.rc
index 3615c3f..6cbe87f 100644
--- a/chrome/app/resources/locale_settings_te.rc
+++ b/chrome/app/resources/locale_settings_te.rc
@@ -16,7 +16,7 @@ BEGIN
IDS_MINIMUM_FONT_SIZE "1"
IDS_MINIMUM_LOGICAL_FONT_SIZE "6"
IDS_USES_UNIVERSAL_DETECTOR "false"
- IDS_SPELLCHECK_DICTIONARY "te-IN"
+ IDS_SPELLCHECK_DICTIONARY "en-US"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com/support/bin/answer.py?answer=45449&topic=360&hl=en&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=te"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc
index c2d339b..49c27e7 100644
--- a/chrome/installer/util/l10n_string_util.cc
+++ b/chrome/installer/util/l10n_string_util.cc
@@ -73,6 +73,7 @@ int GetLanguageOffset(const std::wstring& language) {
if (offset_map.empty()) {
offset_map[L"ar"] = IDS_L10N_OFFSET_AR;
offset_map[L"bg"] = IDS_L10N_OFFSET_BG;
+ offset_map[L"bn"] = IDS_L10N_OFFSET_BN;
offset_map[L"ca"] = IDS_L10N_OFFSET_CA;
offset_map[L"cs"] = IDS_L10N_OFFSET_CS;
offset_map[L"da"] = IDS_L10N_OFFSET_DA;
@@ -86,6 +87,7 @@ int GetLanguageOffset(const std::wstring& language) {
offset_map[L"fi"] = IDS_L10N_OFFSET_FI;
offset_map[L"fil"] = IDS_L10N_OFFSET_FIL;
offset_map[L"fr"] = IDS_L10N_OFFSET_FR;
+ offset_map[L"gu"] = IDS_L10N_OFFSET_GU;
offset_map[L"he"] = IDS_L10N_OFFSET_HE;
offset_map[L"hi"] = IDS_L10N_OFFSET_HI;
offset_map[L"hr"] = IDS_L10N_OFFSET_HR;
@@ -95,13 +97,17 @@ int GetLanguageOffset(const std::wstring& language) {
// Google web properties use iw for he. Handle both just to be safe.
offset_map[L"iw"] = IDS_L10N_OFFSET_HE;
offset_map[L"ja"] = IDS_L10N_OFFSET_JA;
+ offset_map[L"kn"] = IDS_L10N_OFFSET_KN;
offset_map[L"ko"] = IDS_L10N_OFFSET_KO;
offset_map[L"lt"] = IDS_L10N_OFFSET_LT;
offset_map[L"lv"] = IDS_L10N_OFFSET_LV;
+ offset_map[L"ml"] = IDS_L10N_OFFSET_ML;
+ offset_map[L"mr"] = IDS_L10N_OFFSET_MR;
// Google web properties use no for nb. Handle both just to be safe.
offset_map[L"nb"] = IDS_L10N_OFFSET_NO;
offset_map[L"nl"] = IDS_L10N_OFFSET_NL;
offset_map[L"no"] = IDS_L10N_OFFSET_NO;
+ offset_map[L"or"] = IDS_L10N_OFFSET_OR;
offset_map[L"pl"] = IDS_L10N_OFFSET_PL;
offset_map[L"pt-br"] = IDS_L10N_OFFSET_PT_BR;
offset_map[L"pt-pt"] = IDS_L10N_OFFSET_PT_PT;
@@ -111,6 +117,8 @@ int GetLanguageOffset(const std::wstring& language) {
offset_map[L"sl"] = IDS_L10N_OFFSET_SL;
offset_map[L"sr"] = IDS_L10N_OFFSET_SR;
offset_map[L"sv"] = IDS_L10N_OFFSET_SV;
+ offset_map[L"ta"] = IDS_L10N_OFFSET_TA;
+ offset_map[L"te"] = IDS_L10N_OFFSET_TE;
offset_map[L"th"] = IDS_L10N_OFFSET_TH;
// Some Google web properties use tl for fil. Handle both just to be safe.
// They're not completely identical, but alias it here.
diff --git a/webkit/glue/webkit_strings.grd b/webkit/glue/webkit_strings.grd
index 61c2f5c..e483b69 100644
--- a/webkit/glue/webkit_strings.grd
+++ b/webkit/glue/webkit_strings.grd
@@ -103,6 +103,7 @@ below:
<translations>
<file path="resources/webkit_strings_ar.xtb" lang="ar" />
<file path="resources/webkit_strings_bg.xtb" lang="bg" />
+ <file path="resources/webkit_strings_bn.xtb" lang="bn" />
<file path="resources/webkit_strings_ca.xtb" lang="ca" />
<file path="resources/webkit_strings_cs.xtb" lang="cs" />
<file path="resources/webkit_strings_da.xtb" lang="da" />
@@ -115,6 +116,7 @@ below:
<file path="resources/webkit_strings_fi.xtb" lang="fi" />
<file path="resources/webkit_strings_fil.xtb" lang="fil" />
<file path="resources/webkit_strings_fr.xtb" lang="fr" />
+ <file path="resources/webkit_strings_gu.xtb" lang="gu" />
<file path="resources/webkit_strings_he.xtb" lang="he" />
<file path="resources/webkit_strings_hi.xtb" lang="hi" />
<file path="resources/webkit_strings_hr.xtb" lang="hr" />
@@ -122,11 +124,15 @@ below:
<file path="resources/webkit_strings_id.xtb" lang="id" />
<file path="resources/webkit_strings_it.xtb" lang="it" />
<file path="resources/webkit_strings_ja.xtb" lang="ja" />
+ <file path="resources/webkit_strings_kn.xtb" lang="kn" />
<file path="resources/webkit_strings_ko.xtb" lang="ko" />
<file path="resources/webkit_strings_lt.xtb" lang="lt" />
<file path="resources/webkit_strings_lv.xtb" lang="lv" />
+ <file path="resources/webkit_strings_ml.xtb" lang="ml" />
+ <file path="resources/webkit_strings_mr.xtb" lang="mr" />
<file path="resources/webkit_strings_nl.xtb" lang="nl" />
<file path="resources/webkit_strings_no.xtb" lang="no" />
+ <file path="resources/webkit_strings_or.xtb" lang="or" />
<file path="resources/webkit_strings_pl.xtb" lang="pl" />
<file path="resources/webkit_strings_pt-BR.xtb" lang="pt-BR" />
<file path="resources/webkit_strings_pt-PT.xtb" lang="pt-PT" />
@@ -136,6 +142,8 @@ below:
<file path="resources/webkit_strings_sl.xtb" lang="sl" />
<file path="resources/webkit_strings_sr.xtb" lang="sr" />
<file path="resources/webkit_strings_sv.xtb" lang="sv" />
+ <file path="resources/webkit_strings_ta.xtb" lang="ta" />
+ <file path="resources/webkit_strings_te.xtb" lang="te" />
<file path="resources/webkit_strings_th.xtb" lang="th" />
<file path="resources/webkit_strings_tr.xtb" lang="tr" />
<file path="resources/webkit_strings_uk.xtb" lang="uk" />