summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-20 21:02:57 +0000
committersidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-20 21:02:57 +0000
commitd7943126bb5f9ef65b6270e52420a6f1859cf7d9 (patch)
tree6f866b5acfca47f81c9c6ca8e7b954a62fb926cf /chrome
parentefc15bab6e448ac35df399d5f2a89779c212a751 (diff)
downloadchromium_src-d7943126bb5f9ef65b6270e52420a6f1859cf7d9.zip
chromium_src-d7943126bb5f9ef65b6270e52420a6f1859cf7d9.tar.gz
chromium_src-d7943126bb5f9ef65b6270e52420a6f1859cf7d9.tar.bz2
Add UI support for the newly added Turkish and Estonian spellcheckers.
Issue=4782 Review URL: http://codereview.chromium.org/28003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/resources/locale_settings_et.rc2
-rw-r--r--chrome/app/resources/locale_settings_tr.rc2
-rw-r--r--chrome/browser/spellchecker.cc6
3 files changed, 7 insertions, 3 deletions
diff --git a/chrome/app/resources/locale_settings_et.rc b/chrome/app/resources/locale_settings_et.rc
index e088eb4..3497311 100644
--- a/chrome/app/resources/locale_settings_et.rc
+++ b/chrome/app/resources/locale_settings_et.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 "en-US"
+ IDS_SPELLCHECK_DICTIONARY "et"
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=et"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/app/resources/locale_settings_tr.rc b/chrome/app/resources/locale_settings_tr.rc
index b2de723..d966103 100644
--- a/chrome/app/resources/locale_settings_tr.rc
+++ b/chrome/app/resources/locale_settings_tr.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 "en-US"
+ IDS_SPELLCHECK_DICTIONARY "tr"
IDS_LEARN_MORE_MALWARE_URL "http://www.google.com.tr/support/bin/answer.py?answer=45449&topic=360&hl=tr&sa=X&oi=malwarewarninglink&resnum=1&ct=help"
IDS_LEARN_MORE_PHISHING_URL "http://www.google.com/support/bin/answer.py?answer=106318&hl=tr"
IDS_OPTIONS_DIALOG_WIDTH_CHARS "98"
diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc
index 5f3f7d7..c79a1f1 100644
--- a/chrome/browser/spellchecker.cc
+++ b/chrome/browser/spellchecker.cc
@@ -72,6 +72,8 @@ static const struct {
{L"lv", L"lv-LV"},
// {L"uk", L"uk-UA"}, // Not to be included in Spellchecker as per B=1277824
{L"hi", L"hi-IN"},
+ {L"et", L"et-EE"},
+ {L"tr", L"tr-TR"},
};
}
@@ -361,7 +363,9 @@ std::wstring SpellChecker::GetVersionedFileName(const Language& input_language,
{"sv-SE", "-1-1"},
{"he-IL", "-1-1"},
{"el-GR", "-1-1"},
- {"hi-IN", "-1-1"}
+ {"hi-IN", "-1-1"},
+ {"tr-TR", "-1-1"},
+ {"et-EE", "-1-1"}
};
// Generate the bdict file name using default version string or special