summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/l10n_string_util.cc
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 /chrome/installer/util/l10n_string_util.cc
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
Diffstat (limited to 'chrome/installer/util/l10n_string_util.cc')
-rw-r--r--chrome/installer/util/l10n_string_util.cc8
1 files changed, 8 insertions, 0 deletions
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.